delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/11/03/12:36:04

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4A3Ha3Ts1058907
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=viGWv2GZ
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB8823858410
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1730655361;
bh=EA+YyiAyImgR2h6B3fSbfEQ/xnCS6jhdXi+3MW5prks=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=viGWv2GZIVUlfJFib5++/VluGcDKlgbQHkwSaa3rd3JS7BCp6U/XvGKeo/UHdo21A
AQWQeoLnZNYaRy/BoPt0EKFRjk4JvoAGlOXqVRO8co8A4BvIUeI7v9N/gHEDPI0h9U
ldgxGMKfHBIWEf6jFZenSY182c3dEowikAIIFWwE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3AC483858D29
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3AC483858D29
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730655309; cv=none;
b=LyFVMptokJ4O34HPy6GA4ngha6N9uD/70juLZaQUoRBaIKCZqmxAbD1qigpyfu9jAZRcLAvUuN05pdkslFthlOYVEOXXcVrtlqm0x270MRZJcVnEz0xFW4ILEk58LImOH2aS7OdVnrHRtfbQKqaOLCuCRK/K0QLZyWt57MfhfzI=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1730655309; c=relaxed/simple;
bh=EWgOlomMNW6y1gQCJ5v+8N+JoLFLSgE9tnF//nhlf6E=;
h=DKIM-Signature:Date:To:From:Subject:Message-ID:MIME-Version;
b=WJusyAXGVqqpTiXHFB2b5wz5Zq8rpHBM9OpDQ2W/iovTtnl6ONDJnZ4K1S2f4v1kF1sJtX4OD0ytGtmXFae8izkXsNgPer/o7Mx0kxRbEbkosbU0uxVf6xj37eI+Bpnv3LJrdjpTWOs9X7j6Q+P6z4Nmfc1mtHUU/D0/sa5nyMk=
ARC-Authentication-Results: i=1; server2.sourceware.org
Date: Sun, 03 Nov 2024 17:35:02 +0000
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: libresolv does not provide __ns_initparse,
resulting in LD undefined reference
Message-ID: <IVFXrM4MC6rKiENV6gKNybHJ7IXahEKys4gxe3Sdt6BQ_eHntsWC-sknGgTjMKU6ZUu0wNWuveo7ZfSVFGihWPRwOs79pPYix8QE3wIUzCw=@protonmail.com>
In-Reply-To: <PlX_cAbYe5fuMaoCku_iTm_pLmHRJIi8sUVUCeT7rzYRqgv4iyXKIadH2OP5fYIa2nw2i9jmYRPqedte2q2yP4Z7cW90pI2tttEQLS4bOj8=@protonmail.com>
References: <PlX_cAbYe5fuMaoCku_iTm_pLmHRJIi8sUVUCeT7rzYRqgv4iyXKIadH2OP5fYIa2nw2i9jmYRPqedte2q2yP4Z7cW90pI2tttEQLS4bOj8=@protonmail.com>
Feedback-ID: 19840174:user:proton
X-Pm-Message-ID: e8095b1f44133a080617a19a6a139adb08e16916
MIME-Version: 1.0
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: "Named T. Relay via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Named T. Relay" <namedrelay AT protonmail DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Hello again,

I've yet to receive any response to my question.
Did i use the wrong mailing list, or is this mailing list perhaps no longer in use?

This issue is still blocking my project, so i would prefer *any* answer over none at this point.

Thanks in advance,
Named Relay




On Tuesday, October 29th, 2024 at 11:35 PM, Named T. Relay <namedrelay AT protonmail DOT com> wrote:

> Hello,
> 
> Today i installed cygwin to compile a windows .exe out of a Linux source program.
> While G++ on Linux compiles it correctly into a binary, on cygwin i got an issue during linking:
> 
> $ g++ -O2 -Wall -Isrc -o bin/sealtool <SNIP> src/sign-verify.cpp -lcrypto -lssl -lcurl -lresolv
> 
> /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: /tmp/ccA3GExv.o:sign-verify.cp:(.text+0x437): undefined reference to `__ns_initparse' /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: /tmp/ccA3GExv.o:sign-verify.cp:(.text+0x49a): undefined reference to` __ns_parserr'
> collect2: error: ld returned 1 exit status
> 
> From looking at the nm results, the provided libresolv library does not include these symbols.
> (But my linux distro's version of libresolv DOES have them!)
> 
> Does anyone know why these symbols are missing?
> (and more importantly, how do i get them?)
> The internet didn't yield me any answers.
> 
> libresolv.a is included with cygwin-devel-3.5.4-1, so i can't really check or change it's version. (md5sum is 5fa4735707cec921f81feb2c86c5b87a)
> The source file i try to compile can be found at https://github.com/hackerfactor/SEAL-C/blob/main/src/sign-verify.cpp , project has other issues which i already had resolv. ;)
> 
> At the very least, thanks for reading!
> 
> Have a nice day,
> Named Relay

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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