delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/05/21/00:57:25

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:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=bB
HxFr5xbE9leEHBccjEqoQIG0HBkk8e+/SliXIjFJCzATye2qwn6rPEIIyoxfrOfU
ZX2v5XBKHe46eVjIHwvWbndtI4QHyniN7SlBDCSpsANwXEOo/54X8y1yzTXb+zpr
BwPXKRFSlwBicmnIAi8jZN1VZcYI4/bPa/FmXd4ug=
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:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=mffQ1mDe
Rmf5je7a05GutufdWeM=; b=uKm0gKeFgD7K0sPBKVlYdgfRv9Qm12vQ+1cNJVGW
QCKG+zuUaBUgUTOIGSaJNAABqqrfQ71SMUZMMxjlZ3pKJGGKIqfufnxuFjYoMvYB
Dj2QjpdCqMb5AjmpQMNiojlw00JrXAoGEAjFFFzx+wf8oU9HK320c64yNca+ig++
rag=
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=-2.7 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
MIME-Version: 1.0
X-Received: by 10.229.8.133 with SMTP id h5mr233008qch.148.1369112227016; Mon, 20 May 2013 21:57:07 -0700 (PDT)
In-Reply-To: <519AE0C2.6050002@users.sourceforge.net>
References: <CAAZXUtyS2sBvp5OdhJfDU+dvUzPn+woRRP0fEqucMNfF-5iTiQ AT mail DOT gmail DOT com> <519AE0C2 DOT 6050002 AT users DOT sourceforge DOT net>
Date: Mon, 20 May 2013 23:57:06 -0500
Message-ID: <CAAZXUtzoybdqZvVY994UFu0BuFmEuN0rqsMe+EqLotNnqW7Lkw@mail.gmail.com>
Subject: Re: 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

There appears to be an implementation of that function in cygwin's
src/newlib/libc/sys/linux/net/base64.c.  Is it possible to link
against whatever that gets compiled to?  If not, could that function
be copied to cygwin's libresolv?  When the header and implementation
are already there it seems a shame not to make it available.


On Mon, May 20, 2013 at 9:49 PM, Yaakov (Cygwin/X)
<yselkowitz AT users DOT sourceforge DOT net> wrote:
> 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
>

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