Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2001 18:48:19 -0400
From:      JediDenDen@netscape.net (jet_d)
To:        freebsd-questions@freebsd.org
Subject:   compile error
Message-ID:  <0B43D409.5FEB3AF6.0B8C12A6@netscape.net (jet_d

| raw e-mail | index | archive | help
I have been trying to get the program "authforce" to work on FreeBSD 4.2 release. I can get it working just fine on a Linux environment but FreeBSD is not liking it. At first I came across this problem

jet# make
> make  all-recursive
> Making all in intl
> Making all in data
> Making all in src
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl
> -DLOCALEDIR=\"/usr/local/share/locale\"    -g -O2 -c main.c
> main.c:9: getopt.h: No such file or directory
> *** Error code 1
>
> Stop in /tmp/authforce-0.9.5/src.
> *** Error code 1
>
> Stop in /tmp/authforce-0.9.5.
> *** Error code 1
>
> Stop in /tmp/authforce-0.9.5.
> jet#


After trying a few things this came up...


jet# make
make  all-recursive
Making all in intl
Making all in data
Making all in src
gcc  -g -O2  -o authforce  config.o debug.o extract.o files.o http.o main.o  methods.o misc.o signal.o ../intl/libintl.a -lreadline -lncurses
main.o: In function `initialize_main':
/usr/home/puto/authforce-0.9.6/src/main.c(.text+0x4e6): undefined reference to `getopt_long'
*** Error code 1

Stop in /usr/home/puto/authforce-0.9.6/src.
*** Error code 1

Stop in /usr/home/puto/authforce-0.9.6.
*** Error code 1

Stop in /usr/home/puto/authforce-0.9.6.
jet#


I seem to be at a point where I'm out of ideas. Any suggestions as to what I can look for?

Thanks




__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0B43D409.5FEB3AF6.0B8C12A6>