From owner-freebsd-questions Thu Jul 19 15:49: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from imo-d04.mx.aol.com (imo-d04.mx.aol.com [205.188.157.36]) by hub.freebsd.org (Postfix) with ESMTP id 1E50737B413 for ; Thu, 19 Jul 2001 15:48:43 -0700 (PDT) (envelope-from JediDenDen@netscape.net) Received: from JediDenDen@netscape.net by imo-d04.mx.aol.com (mail_out_v31.7.) id n.b1.85a2db (16217) for ; Thu, 19 Jul 2001 18:48:20 -0400 (EDT) Received: from netscape.com (mow-m02.webmail.aol.com [64.12.184.130]) by air-in01.mail.aol.com (v79.27) with ESMTP id MAILININ15-0719184819; Thu, 19 Jul 2001 18:48:19 -0400 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 X-Mailer: Atlas Mailer 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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