[Kde-bindings] kdebindings-4.2.90/phonon linker oddity

Rex Dieter rdieter at math.unl.edu
Mon Jun 15 13:23:02 UTC 2009


Trying to build kdebindings on/for fedora 11 (and f10), and I'm hitting a
rather odd linker error, any ideas or hints?

My own quick googling so far seems that similar errors occur with gcc symbol
visibility pragma's gone bad.

Linking CXX shared library ../../lib/pykde/phonon.so
cd /builddir/build/BUILD/kdebindings-4.2.90/i586-redhat-linux-gnu/python/pykde4
&& /usr/bin/cmake -E cmake_link_script
CMakeFiles/python_module_PyKDE4_phonon.dir/link.txt --verbose=1
/usr/lib/ccache/c++  -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc  -shared -Wl,-soname,phonon.so -o ../../lib/pykde/phonon.so
CMakeFiles/python_module_PyKDE4_phonon.dir/sip/phonon/sipphononpart0.o
CMakeFiles/python_module_PyKDE4_phonon.dir/sip/phonon/sipphononpart1.o
CMakeFiles/python_module_PyKDE4_phonon.dir/sip/phonon/sipphononpart2.o
CMakeFiles/python_module_PyKDE4_phonon.dir/sip/phonon/sipphononpart3.o
CMakeFiles/python_module_PyKDE4_phonon.dir/sip/phonon/sipphononpart4.o
CMakeFiles/python_module_PyKDE4_phonon.dir/sip/phonon/sipphononpart5.o
CMakeFiles/python_module_PyKDE4_phonon.dir/sip/phonon/sipphononpart6.o
CMakeFiles/python_module_PyKDE4_phonon.dir/sip/phonon/sipphononpart7.o -L/usr/lib/kde4/devel -lpython2.6 -lphonon -lQtDBus -lQtCore -lpthread -lQtGui 
/usr/bin/ld: Dwarf Error: Offset (91464) greater than or equal to .debug_str
size (1456).
CMakeFiles/python_module_PyKDE4_phonon.dir/sip/phonon/sipphononpart5.o
(.data.rel+0xa8): undefined reference to
`Phonon::BackendCapabilities::Notifier::staticMetaObject'
collect2: ld returned 1 exit status
make[2]: *** [lib/pykde/phonon.so] Error 1


Full build.log:
http://apt.kde-redhat.org/apt/kde-redhat/mock/fedora-11-i386-kde/kdebindings/build.log




More information about the Kde-bindings mailing list