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

Sepherosa Ziehau sepherosa at gmail.com
Thu Jan 1 04:53:21 PST 2009


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

Best Regards,
sephe

-- 
Live Free or Die





More information about the Commits mailing list