From: | Peter Avalos <pavalos@xxxxxxxxxxxx> |
Date: | Thu, 1 Jan 2009 10:34:16 -0500 |
Mail-followup-to: | commits@crater.dragonflybsd.org |
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@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
Description: PGP signature