Registered Member
|
I am getting the following error:
/bin/sh ../../../../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libamarok_ipod-mediadevice.la -rpath /usr/lib/kde3 -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/lib -R /usr/lib/qt-3.3/lib -R /usr/lib -lgpod -lglib-2.0 -L/usr/lib/qt-3.3/lib -L/usr/lib kiomediadevice.lo ipodmediadevice.lo ../../../../amarok/src/libamarok.la .libs/ipodmediadevice.o: In function `IpodMediaDevice::openDevice(bool)\':/usr/src/redhat/BUILD/amarok-1.4/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:914: undefined reference to `g_object_get\' collect2: ld returned 1 exit status |
Registered Member
|
This is using gcc-4.1 and as you see the -lgpod is linked in!
|
Registered Member
|
The problem seems to be the -rpath ... If I remove that it compiles
fine. I did specify --disable-rpath on my configure line but rpath seems to be hardcoded in. |
|
I\'m having the same error, I\'m on FC4, and gcc-4.0.
Could you tell me how you managed to resolve it? (I don\'t know how to remove -rpath, like you said) thanks =) |
|
I solved the problem by installing the lastest cvs of libgpod
|
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]