On Fri, Oct 29, 1999 at 04:25:52PM +0800, Liu Chung Him wrote: > Dear All, > > I comply a problem which need libX11 . The gcc command line is : > gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o Scan > Scan.c > Hmm, is this only a misspelling for that mail?
what do you think about: > gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o Scan ^ ^ gcc -L/usr/X11/lib -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lVi -o Scan ^ ^ > However, there is some error : > /usr/bin/ld:cannot find -lX11 > collect2: ld returned 1 exit status > make: *** [Scan] Error 1 > > I have checked that there is libX11.so.6 under /usr/X11R6/lib. ^ > What is the problem ??? How to solve this ??? > try that, and the -dev library as it has been suggested Ingo ---------------------------------------------------------------- I. Reimann [EMAIL PROTECTED] Inst. fuer Angew. Physik +49 251 83-33527 (fon) Correnstr. 2-4 +49 251 83-33513 (fax) D-48149 Muenster Germany ----------------------------------------------------------------