This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]