delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/11/03/17:35:06

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4A3MZ61E1145998
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=R284Qu9d
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA4CF3858C35
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1730673305;
bh=FcK5vAaw1X/Lp67rU2vUyHiK48+iW2h5qosQgAkVDMY=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=R284Qu9d4bDcRIe4W+y6TfLRQFJ/MawTGkPkot4Y44HbTjf2qCsohBISNZPe6gXR3
XUWESbwGh3BUb6mtcF9AUrIZ2a2apj61sLmk6c4eeYInVYEyP1j/QzDo/MASAEqKtJ
jVorwYKDlEgxBfYnCh7i4s8KmskCMbMPlJAVZXHU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F391C3858D29
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F391C3858D29
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730673284; cv=none;
b=JouIKvLgf/P1vDHdVtkGqX+1D85/kdgf9qgC7/1EN91hLSIAUJum3nJWevQ7rYkeodEMkxXAvTRj6i7zc2J4GHuPYzVfmpUdTrXomR97QQmZNxnC5K9hypxYNgMr/Izrp5AFGlUYfPPP6YWMyrRtFNpZQcJnArX5aalcuIvjkyQ=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1730673284; c=relaxed/simple;
bh=WbF1/FfGbO1LbAv7RM938SA7NR5BT73qwk0tJ4EMbD8=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=ZKk8kDpPRnLDYVUx0VKuIoEzsXKaKyFKR5DfTJjoZ0ik9oMxSDk6zoh/MWsC2WqB1GDw1+9ekmM2aK+22/YDuJhJhLyxiHQ+UhqHophpYOhMB1Ui/WhVbvtYJ5NJ0TVTCaBWBUw7JS8NSAir3Esy5fvxWl7t9tvFNlsxTjA8b3c=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Authority-Analysis: v=2.4 cv=ce5xrWDM c=1 sm=1 tr=0 ts=6727fa82
a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17
a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=unfEpVdXhzhORndXlGUA:9 a=3ZKOabzyN94A:10
a=QEXdDO2ut3YA:10
Message-ID: <f44e6b0a-3b64-4a39-8e2b-3d880fc34ffd@Shaw.ca>
Date: Sun, 3 Nov 2024 15:34:41 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: libresolv does not provide __ns_initparse, resulting in LD
undefined reference
To: cygwin AT cygwin DOT com
References: <PlX_cAbYe5fuMaoCku_iTm_pLmHRJIi8sUVUCeT7rzYRqgv4iyXKIadH2OP5fYIa2nw2i9jmYRPqedte2q2yP4Z7cW90pI2tttEQLS4bOj8=@protonmail.com>
<IVFXrM4MC6rKiENV6gKNybHJ7IXahEKys4gxe3Sdt6BQ_eHntsWC-sknGgTjMKU6ZUu0wNWuveo7ZfSVFGihWPRwOs79pPYix8QE3wIUzCw=@protonmail.com>
Autocrypt: addr=Brian DOT Inglis AT Shaw DOT ca; keydata=
xjMEXopx9BYJKwYBBAHaRw8BAQdAPq8FIaW+Bz7xnfyJ1gHQyf2EZo5sAwSPy/bRAcLeWl/N
I0JyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFNoYXcuY2E+wpYEExYIAD4WIQTG63sbl+cr
2nyOuZiKvQKcH1E27wUCXopx9AIbAwUJCWYBgAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAK
CRCKvQKcH1E276DmAP91Bt8kfJhKHYb9b2sao2fxwJFsl1GlRi516WKI0OkphQEA+ULITsPs
blfzSq+GgI7q4LPfRfTLy4Oo3gorlnhnfgnOOAReinH0EgorBgEEAZdVAQUBAQdAepgIsLwm
GQicfoIBaB9xHp63MQJqVCPbgPzESTg7EEwDAQgHwn0EGBYIACYWIQTG63sbl+cr2nyOuZiK
vQKcH1E27wUCXopx9AIbDAUJCWYBgAAKCRCKvQKcH1E27+zoAP4u2ivMQBAqaMeLOilqRWgy
nV2ATImz1p2v1H5P4kBiDwD3caPK1cxU5lijzuSDCjgtIpgF/avHbjA32fxJdIRwAA==
Organization: Inglis
In-Reply-To: <IVFXrM4MC6rKiENV6gKNybHJ7IXahEKys4gxe3Sdt6BQ_eHntsWC-sknGgTjMKU6ZUu0wNWuveo7ZfSVFGihWPRwOs79pPYix8QE3wIUzCw=@protonmail.com>
X-CMAE-Envelope: MS4xfEyaaiauTcdIyeGp6sYa6HTR7uCxAi90i7EaeThHHgL+1P5OV1ehiohoiAb1tH9BKl+uJs0zagtuvqZQhyMslx/dbLVqKQsoIc3q4xYXmquNI0CsiuKh
j/Vn8kmIzMhjXJ+i9XhAYoIUSdavWSXHwhY5+/cS+lcjnu5foy22R+7uztrKxWRdjL+nHNuwnxbIZw==
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: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Brian DOT Inglis AT Shaw DOT ca
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>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 4A3MZ61E1145998

Hi there,

Those are DNS lookup, with interfaces defined in <arpa/nameser{,_compat}.h>, and 
not part of the resolver library, with interfaces defined in <resolv.h>, all 
packaged in cygwin-devel, as parts of cygwin have to be able to find AD servers 
and do other lookups, as well as support getent.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


On 2024-11-03 10:35, Named T. Relay via Cygwin wrote:
> 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.


> On Tuesday, October 29th, 2024 at 11:35 PM, Named T. Relay wrote:
>> 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!


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