delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/05/20/22:49:52

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=FPcHz8x3Q2rWDlI/Wuztlr20LruVZNWwqOjwp4Uy8/a
kSx9SBC1lodOm2k6Fq9hJ2LWi0RZ3T30qhpXsLpEddGFlAy8AKlp5EeGSAQA1Ghj
CbbSQnd2VYSKGJt1154LuohnOXE+sv6OWAzOkp+sSTtH5+GwiTQxlBCs3lSShwlw
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=fxpRXOZlzdG/PJdjKF05aoFhXv0=; b=akbHG5wDQEMWE+7sJ
av37dbfW+q3LAIq0JR6SidDSS4K/ZZ/ds4mOAvl1uOqy7FZguo6CKo9vyIDNn3zK
QzTeoA2/TGknd3mt0kXJOmZv5dLePycOmvy8DpoK2APxWXfAXi1v8hCSb5cJcZ+P
/U4ItfOhsXeJVg36a06bLVE4nw=
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=-3.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1
X-Received: by 10.50.66.237 with SMTP id i13mr197905igt.84.1369104573031; Mon, 20 May 2013 19:49:33 -0700 (PDT)
Message-ID: <519AE0C2.6050002@users.sourceforge.net>
Date: Mon, 20 May 2013 21:49:38 -0500
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: what library provides __b64_ntop? (libresolv does not)
References: <CAAZXUtyS2sBvp5OdhJfDU+dvUzPn+woRRP0fEqucMNfF-5iTiQ AT mail DOT gmail DOT com>
In-Reply-To: <CAAZXUtyS2sBvp5OdhJfDU+dvUzPn+woRRP0fEqucMNfF-5iTiQ@mail.gmail.com>

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 function; resolv.h declares it only because 
it is mostly copied from the BSDs, where it is defined.


Yaakov



--
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