This is the mail archive of the
cygwin
mailing list for the Cygwin project.
what library provides __b64_ntop? (libresolv does not)
- From: Luke White <luke dot x dot white at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 20 May 2013 18:06:50 -0500
- Subject: what library provides __b64_ntop? (libresolv does not)
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 problem:
$ cat test.c
#include <resolv.h>
int main ()
{
b64_ntop (NULL, 0, NULL, 0);
return 0;
}
I'm using gcc 4.5.3 from the gcc4-core-4.5.3-3 package.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple