Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Nov 2000 11:30:32 -0800
From:      Rob <europax@home.com>
To:        Will Andrews <will@physics.purdue.edu>
Cc:        "freebsd-ports@FreeBSD.ORG" <freebsd-ports@FreeBSD.ORG>
Subject:   Re: newby porting Q: getopt_long
Message-ID:  <3A0463D8.90A8F3F8@home.com>
References:  <3A03960D.74367EEF@home.com> <20001104043529.C1456@puck.firepipe.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Will Andrews wrote:
> 
> On Fri, Nov 03, 2000 at 08:52:29PM -0800, Rob wrote:
> > I am trying to port the Synaptics touch pad utility as my first port.  I
> > am stuck at a point where the linker cannot find getopt_long.  I have
> > installed the libgnugetop port, but I am not certain what I have to do
> > to get the linker to find getopt_long in the libgnugetopt.so.  Gcc
> > complains with "undefined reference".
> 
> You must tell configure (if there is one) or the source Makefile to add
> -lgnugetopt -L/usr/local/lib to its linking flags, and make sure you
> #undef __GNU_LIBRARY__, by adding -U__GNU_LIBRARY__ to the CFLAGS, or
> just #undef __GNU_LIBRARY__ somewhere appropriate in the source code
> (i.e. before <getopt.h> is included or something).
> 
> --
> wca
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ports" in the body of the message


Thanks!  I was just thrilled to get to the stage where I saw ".o" files
:).  Rob.


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A0463D8.90A8F3F8>