Hello all,
I am trying my hand at programming in QT3 on mandrake Linux 9.0. My first application is a "Hello World" application given in the March issue of PCQuest 2003.
My problem is that during the "make" operation the GNU linker "ld" throws out the following message


****************************Snippet****************************************
[EMAIL PROTECTED] apps]# export QTDIR=/usr/lib/qt3
[EMAIL PROTECTED] apps]# pwd
/usr/lib/qt3/bin/apps
[EMAIL PROTECTED] apps]# ../qmake -project
[EMAIL PROTECTED] apps]# ../qmake -makefile
[EMAIL PROTECTED] apps]# make
g++ -c -pipe -Wall -W -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -DQT_NO_DEBUG -I/usr/lib/qt3/include -I/usr/lib/qt3/mkspecs/default -o main.o main.cpp
g++ -o apps main.o -L/usr/lib/qt3/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
make: *** [apps] Error 1
[EMAIL PROTECTED] apps]#
**************************************************************************
From what I understand after reading the manpages of "ld" is that there should exist a file called
"libqt.a" and "libm.a" on my system. However a "find" does not reveal the existence of these files though the "qt-devel" & "qt-designer" packages are installed. Is it possible that these two files are part of some other RPM? Can someone tell me (with a rpm -q -f *) the exact packages these two files are supposed to belong to ? I am on Mandrake 9.0.


Thanks
G.Sriram.




------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to