Re: what library provides __b64_ntop? (libresolv does not)

2013-05-21 Thread Corinna Vinschen
On May 21 00:19, Yaakov (Cygwin/X) wrote: On 2013-05-20 23:57, Luke White wrote: There appears to be an implementation of that function in cygwin's src/newlib/libc/sys/linux/net/base64.c. Is it possible to link against whatever that gets compiled to? If not, could that function be copied to

what library provides __b64_ntop? (libresolv does not)

2013-05-20 Thread Luke White
I'm getting the following error if I try to compile something that includes resolv.h: $ gcc test.c -lresolv /tmp/cc0xhSEa.o:test.c:(.text+0x2e): undefined reference to `___b64_ntop' collect2: ld returned 1 exit status Here's the contents of test.c, which is just meant to demonstrate the

Re: what library provides __b64_ntop? (libresolv does not)

2013-05-20 Thread Yaakov (Cygwin/X)
On 2013-05-20 18:06, Luke White wrote: I'm getting the following error if I try to compile something that includes resolv.h: $ gcc test.c -lresolv /tmp/cc0xhSEa.o:test.c:(.text+0x2e): undefined reference to `___b64_ntop' collect2: ld returned 1 exit status Cygwin does not provide that

Re: what library provides __b64_ntop? (libresolv does not)

2013-05-20 Thread Luke White
There appears to be an implementation of that function in cygwin's src/newlib/libc/sys/linux/net/base64.c. Is it possible to link against whatever that gets compiled to? If not, could that function be copied to cygwin's libresolv? When the header and implementation are already there it seems a

Re: what library provides __b64_ntop? (libresolv does not)

2013-05-20 Thread Yaakov (Cygwin/X)
On 2013-05-20 23:57, Luke White wrote: There appears to be an implementation of that function in cygwin's src/newlib/libc/sys/linux/net/base64.c. Is it possible to link against whatever that gets compiled to? If not, could that function be copied to cygwin's libresolv? When the header and