delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/05/20/19:07:09

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=uEzGwDqVcQux5tKqykMtGO0YNwudB
rAG3CzqzmIyuJSuHMnsMxWEAuLbxx+TnlM6CouBOcpGISioiRatKA+//70xIE+8g
Uzc3JBvi7yCurBdrEn0TGySaYGXL8JLcI9JoblNBeEz8HQV/GpYc12CFqfHUQg4B
A0md+Lq0QxhMzw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=tZ43LbNPgBJjcReuA2zb96zAyYY=; b=OOe
/83/9CYiuSQ1gwXv5kiWH71ZtyBqM0PYAXaRPQWojA+yWOq2ofr4Kqr6s1BFvKVs
4zuaLF5KTBsKbA11vWkg9Z5ZnOXeZlfC86YjnHEq10KYfgL7kvf6BRl6V98hHsIn
FLdFJGsPDKnNK92sa0dEMN44cPNN83UA9Gu6w4B0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1
MIME-Version: 1.0
X-Received: by 10.224.8.207 with SMTP id i15mr168695qai.90.1369091210194; Mon, 20 May 2013 16:06:50 -0700 (PDT)
Date: Mon, 20 May 2013 18:06:50 -0500
Message-ID: <CAAZXUtyS2sBvp5OdhJfDU+dvUzPn+woRRP0fEqucMNfF-5iTiQ@mail.gmail.com>
Subject: 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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019