On Tue, May 28, 2002 at 12:23:18PM -0500, S.B. wrote:
> **************************************************************************
> bash-2.05a$ make
> gcc  -g -O2  -o wx200  wx200.o -L. -lwx200 -lcrypt
> wx200.o: In function `main':
> /home/downloads/wx200d-1.2/wx200.c(.text+0xc03): undefined reference to `getopt_long'
> *** Error code 1
> 
> Stop in /usr/home/downloads/wx200d-1.2.
> bash-2.05a$

You need to link against the GNU getopt library.
# cd /usr/ports/devel/libgnugetopt
# make install

Then modify whatever Makefile(s) you have to also use:
-L/usr/local/lib -lgnugetopt

-- 
Sean Kelly         | PGP KeyID: 77042C7B
[EMAIL PROTECTED] | http://www.zombie.org

Attachment: msg34655/pgp00000.pgp
Description: PGP signature

Reply via email to