PDA

View Full Version : Make problem..



lucien
03-30-2002, 02:50 PM
after i run ./configure it says success and works great...
then i run make

and it runs for a few mins then gives me a error like this



/usr/bin/ld: cannot find -1qt-mt
collect2: ld returned 1 exit status

then quits...


any help will be greatly appreciated

i am running mandrake 8.1

lucien
03-30-2002, 04:08 PM
here is some more of the error

-L/usr/lib -lqtmt -lpthread -lEQ /usr/lib/libgdbm.so -lz -lpcap -wl, --rpath -wl, --rpath -wl,/usr/X11R6/lib

/usr/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
make[2]: *** [showeq] error 1
make[2]: leaving directory '/root/showeq/src'
make[1]: *** [all-recursive] Error 1
Make[1]: Leaving Directory '/root/showeq'
make: ***[all-recursive-am] Error 2

now should the -L/usr/lib part be -l/usr/lib/qt-2.3.2/ etc

i got the export QTDIR all set up right this happens farther along in the make...

Thanks

Cryonic
03-30-2002, 05:13 PM
and was qt compiled with gcc3 and -thread option?

lucien
03-30-2002, 07:35 PM
-thread

fryfrog
03-30-2002, 11:56 PM
qt needs to be compiled with gcc3.

lucien
03-31-2002, 02:26 PM
by that do you mean i need to change the gcc to gcc-3.0.1 in the config file in the qt directory. Cause i already did this and still got the error

fryfrog
03-31-2002, 02:51 PM
paste a little earlier part of the error message. we don't really need to see all the "error, exit 1" things... a few lines before might help some. also there is a file whose last few lines you should post but for the life of me i can't remember what it is.