Date: Tue, 28 May 2002 14:34:12 -0500 From: Sean Kelly <smkelly@zombie.org> To: "S.B." <sb@no.spam.mlode.com> Cc: freebsd-ports@FreeBSD.ORG, freebsd-hackers@FreeBSD.org Subject: Re: NewBie Needs HELP please !! Message-ID: <20020528193411.GB40190@edgemaster.zombie.org> In-Reply-To: <011a01c2066c$5c7c9ba0$46ad1fd0@mlode.com> References: <011a01c2066c$5c7c9ba0$46ad1fd0@mlode.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020528193411.GB40190>