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

Peter Poulsen peter_poulsen at stofanet.dk
Sat Feb 15 02:33:02 UTC 2003


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.




More information about the tuxCPProgramming mailing list