[PyKDE] PyQT compilation errors

MagNet WebPublishing Pvt. Ltd. magnet at magnet-i.com
Fri May 23 19:21:00 BST 2003


Hello,

We have been trying out everything to get imgSeek running, and are
facing problems with PyQT installation. The RPM gets installed fine, but
it somehow doesn't import Qt. Nevertheless, we tried compiling PyQT by
hand and it solved the problem on one system, but we are still facing a
lot of problem on the deployment system:

Below is an excerpt of the errors we get. Tried to link fontconfig,
which removed the errors related to libXft.so.2. It's still a big
problem. We are using qt-3.1.1-6 and sip-3.6. Any help will be greatly
appreciated.

Compiling "PyQt-x11-gpl-3.6" as "python build.py -lqt-mt"

======== excerpt ========

g++ -c -pipe -w -O2 -march=i386 -mcpu=i686 -g -DGLX_GLXEXT_LEGACY
-fno-use-cxa-atexit -fno-exceptions -D_REENTRANT  -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -I/usr/lib/qt3-gcc3.2/mkspecs/default -I. -I.
-I/usr/include/python2.2 -I/usr/lib/qt3-gcc3.2/include -o qttest.o
qttest.cpp
g++  -o qttest qttest.o   -L/usr/lib/qt3-gcc3.2/lib -L/usr/X11R6/lib
-lqt-mt -lqui -lXext -lX11 -lm -lXft -lfontconfig -lpthread
qttest.o: In function `main':
/tmp/@23851.0/qttest.cpp:9: undefined reference to
`QApplication::QApplication(int &, char **, bool)'
/tmp/@23851.0/qttest.cpp:14: undefined reference to
`QApplication::~QApplication(void)'
/tmp/@23851.0/qttest.cpp:187: undefined reference to
`QApplication::~QApplication(void)'
/usr/lib/qt3-gcc3.2/lib/libqt-mt.so: undefined reference to
`_Unwind_GetIP'
/usr/lib/qt3-gcc3.2/lib/libqt-mt.so: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_Rep::_S_terminal'
/usr/lib/qt3-gcc3.2/lib/libqt-mt.so: undefined reference to
`_Unwind_GetRegionStart'
/usr/lib/qt3-gcc3.2/lib/libqt-mt.so: undefined reference to
`_Unwind_Resume'
/usr/lib/qt3-gcc3.2/lib/libqt-mt.so: undefined reference to
`_Unwind_DeleteException'
/usr/lib/qt3-gcc3.2/lib/libqt-mt.so: undefined reference to
`_Unwind_RaiseException'
/usr/lib/qt3-gcc3.2/lib/libqt-mt.so: undefined reference to
`_Unwind_SetIP'
/usr/lib/qt3-gcc3.2/lib/libqt-mt.so: undefined reference to
`_Unwind_GetTextRelBase'
/usr/lib/qt3-gcc3.2/lib/libqt-mt.so: undefined reference to
`_Unwind_GetLanguageSpecificData'
/usr/lib/qt3-gcc3.2/lib/libqt-mt.so: undefined reference to
`_Unwind_SetGR'
/usr/lib/qt3-gcc3.2/lib/libqt-mt.so: undefined reference to
`_Unwind_GetDataRelBase'
collect2: ld returned 1 exit status
make: *** [qttest] Error 1
************************************************************************
******
Error: /usr/bin/make failed with an exit code of 2.

======== excerpt ========

Thank you.

Regards,
Nirav.
======================================================
| MLEP - Linux, Apache, MySQL, PHP education program |
|                http://www.mlep.com/                |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| tangible, customized solutions for your e-business |
|              http://www.magnet-i.com/              |
======================================================




More information about the PyQt mailing list