DragonFly-2.1.1.177.g21fcee master contrib/bind-9.3/lib/bind/include/isc list.h contrib/bind-9.3/lib/bind/inet inet_addr.c inet_cidr_pton.c inet_lnaof.c inet_makeaddr.c inet_net_pton.c inet_neta.c inet_netof.c inet_network.c inet_ntoa.c inet_ntop

Peter Avalos pavalos at theshell.com
Thu Jan 1 07:35:17 PST 2009


On Thu, Jan 01, 2009 at 08:52:13PM +0800, Sepherosa Ziehau wrote:
> On Thu, Jan 1, 2009 at 6:45 PM, Hasso Tepper <hasso at estpak.ee> wrote:
> > Peter Avalos wrote:
> >> Use BIND's resolver in libc.
> >>
> >> This also syncs some code from FreeBSD bringing along bug fixes and
> >> more thread-safe routines.
> >
> > $ cat test.c
> > char inet_ntop();
> > int main (void) { inet_ntop(); return 0; }
> > $ gcc -o test test.c
> > /tmp//ccA28Zle.o: In function `main':
> > test.c:(.text+0x12): undefined reference to `inet_ntop'
> > $
> >
> > This isn't funny ...
> 
> There are just some typos.  Please try following patch:
> http://leaf.dragonflybsd.org/~sephe/weak_symbol.diff
> 

Whoa, sorry about that!  Thanks sephe!

--Peter
Attachment:
pgp00000.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: application/octet-stream
Size: 197 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20090101/51f82f4f/attachment-0022.obj>


More information about the Commits mailing list