PDA

View Full Version : Make and QT Directory



Seann
09-26-2002, 10:34 AM
I've been reading through alot of this board, and so far its helped me alot. But I cant find any posts relating to my problem, so I'll just ask.


I did a ./configure --with-qt-dir=/opt/qt-gcc3-2.3.2

and it finally went all the way thru without an error.

However now when i do the make, I get tons of errors(undefined references), alot of these comming from the usr/lib/qt3-gcc2.96 directories. How do i force it to look into the other dir?


Thanks for your help

fryfrog
09-26-2002, 10:52 AM
try using:


# CC=gcc3 CXX=g++3 QTDIR=/opt/qt-dir ./configure

instead of the --with-qt-dir= option. that might work better. also, sub in the right values for your gcc3 and qtdir :)

Seann
09-26-2002, 01:05 PM
Tried that just now, didnt work. Got the same spammage of errors: undefined references

fryfrog
09-26-2002, 01:21 PM
did you compile qt with gcc3? are you using the same gcc3 that was used to compile the rpm of qt? if for some reason you are using like gcc-3.2, things compiled with gcc-3.0 and gcc-3.1 are NOT backwards compatible with it.

you should probably just go ahead and get and compile qt-2.3.2 source on your own, with gcc3.