X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@users.sourceforge.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@cygwin.com
Subject: Re: what library provides __b64_ntop? (libresolv does not)
References: <CAAZXUtyS2sBvp5OdhJfDU+dvUzPn+woRRP0fEqucMNfF-5iTiQ@mail.gmail.com>
In-Reply-To: <CAAZXUtyS2sBvp5OdhJfDU+dvUzPn+woRRP0fEqucMNfF-5iTiQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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

