This is the mail archive of the
mailing list for the Cygwin project.
RE: help for a newbie C Programmer
- From: "Norman Vine" <nhv at cape dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 13 Aug 2003 13:55:59 -0400
- Subject: RE: help for a newbie C Programmer
- Reply-to: <nhv at cape dot com>
> 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
> 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?
This might help
but....AFAICT you would be better advised to look into
the source to determine whwere these are being used
and rewriting the code to call strerror() instead
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html