[LC++]g++-2.95 and g++-3.2 together

ljp ljp at llornkcor.com
Sat Feb 15 03:04:02 UTC 2003


gcc 2 and gcc 3 are not binary compatible. You'll probably have to
recompile qt.
qt 2 isn't compilable with gcc3, either, if you are using that.


On Fri, 2003-02-14 at 11:31, Peter Poulsen wrote:
> Hi
> 
> I have compiled the QT libraries with g++-2.95.3. I have then installed 
> g++-3.2.1 on my system. But when I compile a program I get something 
> like the following:
> 
> /tmp/ccktsCHb.o(.text+0x42): In function `main':
> : undefined reference to `QWidget::QWidget[in-charge](QWidget*, char 
> const*, unsigned)'
> 
> Now, I haven't tried any other libraries, but do I have to recompile QT? 
> glibc is also compiled with gcc-2.95.2, there is no problem compiling 
> "hello world" with gcc-3.2.1.
> 
> _______________________________________________
> This is the Linux C++ Programming List
> : http://lists.linux.org.au/listinfo/tuxcpprogramming List
-- 
My cat's a debugger....

Potter, Lorn, "ljp"
core developer / Web Administrator
Project OPIE- the Open Palmtop Integrated Environment
http://opie.handhelds.org | http://www.opie.info (german) |
http://www.opie.us
IRC: irc.freenode.net #opie #opie.de

llornkcor at handhelds.org
llornkcor at helixcommunity.org




More information about the tuxCPProgramming mailing list