QT won't compile

Steven Pasternak stevenp500 at bellsouth.net
Wed Aug 17 10:14:35 PDT 2005


Hi! I am trying to compile qt 3.3.4, but I get this weird error:

g++ -fno-exceptions   -o ../../../bin/uic .obj/release-shared-mt/main.o .obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o .obj/release-shared-mt/widgetdatabase.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o    -L/src/kde/qt-x11-free-3.3.4/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lqt-mt -lz -lGLU -lGL -lXmu -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread
/usr/X11R6/lib/libGLU.so: undefined reference to `operator delete(void*)@GLIBCXX_3.4'
/usr/X11R6/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info at CXXABI_1.3'
/usr/X11R6/lib/libGLU.so: undefined reference to `operator delete[](void*)@GLIBCXX_3.4'
/usr/X11R6/lib/libGLU.so: undefined reference to `operator new[](unsigned int)@GLIBCXX_3.4'
/usr/X11R6/lib/libGLU.so: undefined reference to `operator new(unsigned int)@GLIBCXX_3.4'
/usr/X11R6/lib/libGLU.so: undefined reference to `__cxa_pure_virtual at CXXABI_1.3'
/usr/X11R6/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info at CXXABI_1.3'
/usr/X11R6/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::__class_type_info at CXXABI_1.3'
/usr/X11R6/lib/libGLU.so: undefined reference to `__gxx_personality_v0 at CXXABI_1.3'
collect2: ld returned 1 exit status
make[4]: *** [../../../bin/uic] Error 1
make[4]: Leaving directory `/src/kde/qt-x11-free-3.3.4/tools/designer/uic'
make[3]: *** [sub-uic] Error 2
make[3]: Leaving directory `/src/kde/qt-x11-free-3.3.4/tools/designer'
make[2]: *** [sub-designer] Error 2
make[2]: Leaving directory `/src/kde/qt-x11-free-3.3.4/tools'
make[1]: *** [sub-tools] Error 2
make[1]: Leaving directory `/src/kde/qt-x11-free-3.3.4'

It looks like something with the c++ abi change, I build X first with gcc 3.4, but to get firefox to work
I installed gcc 3.3 in /opt/gcc33 and copied the libstdc++.so.5{,.0.7} to /usr/lib. For some reason ldconfig
insists on linking libstdc++.so.6.0.1 to libstdc++.so.5. I tried removing all traces of libstdc++.so.5, but 
ldconfig adds it no matter what! Could that be the problem? Thanks!
-Steven
make: *** [init] Error 2

**



More information about the blfs-support mailing list