www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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-AuthUser: | gerrit:koeln.convey.de |
Date: | Wed, 13 Aug 2003 23:52:13 +0200 |
From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
Reply-To: | "Gerrit @ cygwin" <cygwin AT cygwin DOT com> |
Organization: | Esse keine toten Tiere |
X-Priority: | 3 (Normal) |
Message-ID: | <155-2009038395.20030813235213@familiehaase.de> |
To: | "Jag" <Jagjit AT ntlworld DOT com> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: help for a newbie C Programmer |
In-Reply-To: | <029701c361c2$c53e9af0$6401a8c0@jag750> |
References: | <007d01c36189$acf99f00$6401a8c0 AT jag750> |
<180-2040467307 DOT 20030813150824 AT familiehaase DOT de> | |
<029701c361c2$c53e9af0$6401a8c0 AT jag750> | |
MIME-Version: | 1.0 |
Hallo Jag, Am Mittwoch, 13. August 2003 um 19:46 schriebst du: > Hi Gerrit, > I tried that, but I am still getting the following error. > $ gcc -shared -o > libbridge.dll -Wl,--out-implib=libbridge.dll.a -Wl,--export-al > l-symbols -Wl,--enable-auto-import -Wl,--whole-archive bridge.o nwutil.o > jagsoc > ket.o -Wl,--no-whole-archive > Creating library file: libbridge.dll.a > nwutil.o(.text+0x57):nwutil.c: undefined reference to `_h_nerr' > nwutil.o(.text+0x63):nwutil.c: undefined reference to `_h_errlist' > collect2: ld returned 1 exit status > Any idea what package is h_nerr and h_errlist are defined in? Not in a library available with the cygwin netrelease. But it is in libbind and in liblwres, try here: http://anfaenger.de/cygwin/DNS/bind-9.2.2/libbind/ http://anfaenger.de/cygwin/DNS/bind-9.2.2/liblwres/ $ nm usr/lib/liblwres.a | grep h_nerr 00000014 d _h_nerr $ nm usr/lib/liblwres.a | grep h_errlist 00000000 d _h_errlist $ nm libbind.a | grep h_errlist 00000000 D _h_errlist $ nm libbind.a | grep h_nerr 00000014 D _h_nerr Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |