From owner-freebsd-questions Mon Jul 15 18:40:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C4BA37B400 for ; Mon, 15 Jul 2002 18:40:44 -0700 (PDT) Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 529AA43E3B for ; Mon, 15 Jul 2002 18:40:44 -0700 (PDT) (envelope-from absinthe@pobox.com) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17UHKQ-0006YN-00 for freebsd-questions@FreeBSD.ORG; Mon, 15 Jul 2002 18:40:38 -0700 Content-Type: text/plain; charset="us-ascii" From: Dylan Carlson Reply-To: absinthe@pobox.com To: freebsd-questions@FreeBSD.ORG Subject: gnu getopt_long() Date: Mon, 15 Jul 2002 21:40:44 -0400 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200207152140.44744.absinthe@pobox.com> 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 Hi, I am struggling to get a program written under linux to compile properly under FreeBSD. It has a dependency on the GNU version of getopt. I have installed the libgnugetopt port. Running 'configure' with --libdir=/usr/local/lib --includedir=/usr/local/include don't help. Basically the compile bails out ... wx200.o: In function `main': /home/dcarlson/wx200d/wx200d/wx200.c(.text+0xc03): undefined reference to `getopt_long' Was wondering if anyone has any suggestions how I can kludge around this. Thanks, -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message