Subject: Re: ld-linker problem
To: Yosep <yoskim@NMSU.Edu>
From: Thomas Klausner <wiz@netbsd.org>
List: tech-pkg
Date: 07/13/2003 08:45:16
On Sat, Jul 12, 2003 at 03:18:48PM -0600, Yosep wrote:
> I was trying to build a package and ran into this compilation error while
> running the following command
> 
> /bin/sh ../libtool --mode=link gcc  -g -O2    -o aaindexextract
> aaindexextract.o ../nucleus/libnucleus.la ../ajax/libajaxg.la
> ../ajax/libajax.la ../plplot/libplplot.la -L/usr/X11R6/lib -lX11 -lm
> 
> When it was run, somehow the library path "-L/usr/X11R6/lib" was stripped
> off and thus resulting in following error.

You probably are missing 'USE_X11=	YES' in the Makefile.
 Thomas