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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: Subject: what library provides __b64_ntop? (libresolv does not) From: Luke White To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 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 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