DragonFly commits List (threaded) for 2009-01
DragonFly BSD
DragonFly commits List (threaded) for 2009-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: 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


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Thu, 1 Jan 2009 20:52:13 +0800

On Thu, Jan 1, 2009 at 6:45 PM, Hasso Tepper <hasso@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]