Bug#174040: h_errno
On Tue, Dec 24, 2002 at 04:02:17PM -0500, Ari Pollak wrote:
> This patch does not fix h_errno linking behavior as well, which still
> breaks programs such as WineX (and Wine, I believe):
>
> gcc -o wine miscemu/miscemu.o -L./dlls -lntdll -L./library -lwine
> -L./unicode -lwine_unicode -lm
> ./library/libwine.so: undefined reference to `h_errno'
> collect2: ld returned 1 exit status
>
> This worked fine before -5.
Make wine include <netdb.h> and it will go away. The source is broken.
h_errno will suffer from the same runtime problems as errno; I didn't
"fix" it because it's less critical (should I? Comments from te
list?).
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
Reply to: