From owner-freebsd-ports Tue May 28 12:34:19 2002 Delivered-To: freebsd-ports@freebsd.org Received: from edgemaster.zombie.org (ip68-13-69-9.om.om.cox.net [68.13.69.9]) by hub.freebsd.org (Postfix) with ESMTP id 5B28B37B400; Tue, 28 May 2002 12:34:12 -0700 (PDT) Received: by edgemaster.zombie.org (Postfix, from userid 1001) id 17E2466B04; Tue, 28 May 2002 14:34:12 -0500 (CDT) Date: Tue, 28 May 2002 14:34:12 -0500 From: Sean Kelly To: "S.B." Cc: freebsd-ports@FreeBSD.ORG, freebsd-hackers@FreeBSD.org Subject: Re: NewBie Needs HELP please !! Message-ID: <20020528193411.GB40190@edgemaster.zombie.org> References: <011a01c2066c$5c7c9ba0$46ad1fd0@mlode.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline In-Reply-To: <011a01c2066c$5c7c9ba0$46ad1fd0@mlode.com> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --BwCQnh7xodEAoBMC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > 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 --=20 Sean Kelly | PGP KeyID: 77042C7B smkelly@zombie.org | http://www.zombie.org --BwCQnh7xodEAoBMC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE889uz2aukpHcELHsRAgYzAJ9agrMOFXUMDRaBMrHZeXQSGr7tAACgmO49 DmdcY9NbU4H2To06X4O6DHM= =Qd05 -----END PGP SIGNATURE----- --BwCQnh7xodEAoBMC-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message