I have even upgraded to version 3.0.4 of gcc but I now get the following error linking error:
g++ -fno-exceptions -O2 -o pyuic main.o uic.o form.o object.o subclassing.o embed.o widgetdatabase.o domtool.o parser.o -L/usr/local/lib/python2.2/site-packages -L/home/herronli/qt-x11-free-3.0.3/lib -lqt -L/usr/X11R6/lib -lSM -lICE -lX11 -lz main.o: In function `main': main.o(.text+0x10): undefined reference to `QString::shared_null' main.o(.text+0x73): undefined reference to `QString::shared_null' main.o(.text+0xeb): undefined reference to `QApplication::QApplication(int&, char**, bool)' main.o(.text+0xf0): undefined reference to `QString::shared_null' main.o(.text+0x148): undefined reference to `QCString::QCString(char const*)' main.o(.text+0x162): undefined reference to `QGArray::msg_index(unsigned)' main.o(.text+0x1a0): undefined reference to `QString::QString(char const*)' etc... Any quick ideas on this? Do I have to put somethings in the LD_LIBRARY_PATH or something? Thanks for any help you can provide, Liam >From: Phil Thompson <[EMAIL PROTECTED]> >To: Liam Herron <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: [PyKDE] Post Build Runtime problems libqtcmodule.so: undefined >symbol: static_QUType_ptr >Date: Sat, 27 Apr 2002 15:02:09 +0100 > >Liam Herron wrote: > > > > I compile the PyQt 3.1 (which takes a long time) when I do a > > "make install" it gives me the following error: > > > > make install-data-hook > > make[3]: Entering directory > > `/home/herronli/ZaurusDev/qt-x11-free-3.0.3/projects/PyQt-3.1/qt' > > (cd /tmp; > > >PYTHONPATH=/usr/local/lib/python2.2/site-packages:/usr/local/lib/python2.2/site-packages > > /usr/local/bin/python -c "import qt") > > Traceback (most recent call last): > > File "<string>", line 1, in ? > > File "/usr/local/lib/python2.2/site-packages/qt.py", line 47, in ? > > import libqtc > > ImportError: /usr/local/lib/python2.2/site-packages/libqtcmodule.so: > > undefined symbol: static_QUType_ptr > > make[3]: *** [install-data-hook] Error 1 > > make[3]: Leaving directory > > `/home/herronli/ZaurusDev/qt-x11-free-3.0.3/projects/PyQt-3.1/qt' > > make[2]: *** [install-data-am] Error 2 > > make[2]: Leaving directory > > `/home/herronli/ZaurusDev/qt-x11-free-3.0.3/projects/PyQt-3.1/qt' > > make[1]: *** [install-am] Error 2 > > make[1]: Leaving directory > > `/home/herronli/ZaurusDev/qt-x11-free-3.0.3/projects/PyQt-3.1/qt' > > make: *** [install-recursive] Error 1 > > > > This same undefined symbol error happens when I simply run > > python and do an "import qt" > > > > any ideas? > >Nope. That symbol is not reference explicitly by PyQt. If you want to >run PyQt on the Zaurus then I'd recommend the embedded version for which >.ipkg binaries are provided. > >Phil _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde
