[xml] nanohttp.c:868: `h_errno' undeclared



I ran configure with the following options [ configure --prefix=/home/mff
--exec-prefix=/home/mff ].

When I execute make, I get an "'h_errno' undeclared" error (as you can see
below). 

So, any ideas as to what I need to do to get around this error?  Many
thanks.

[scosv01] mff/xml/libxml2-2.4.18 > make
      make  all-recursive
      Making all in include
      No suffix list.
      Making all in libxml
      No suffix list.
      No suffix list.
      Making all in .
      /bin/ksh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I./include -I./include       -g -O2 -Wall -c nanohttp.c
      rm -f .libs/nanohttp.lo
      gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall
-c nanohttp.c  -fPIC -DPIC -o .libs/nanohttp.lo
      nanohttp.c: In function `xmlNanoHTTPConnectHost':
      nanohttp.c:868: `h_errno' undeclared (first use in this function)
      nanohttp.c:868: (Each undeclared identifier is reported only once
      nanohttp.c:868: for each function it appears in.)
      nanohttp.c:870: warning: unreachable code at beginning of switch
statement
      *** Error code 1 (bu21)
      *** Error code 1 (bu21)
      *** Error code 1 (bu21)
                              

Thanks,
Mark
----------------------------------------------------------- 
Mark Fricault (F-78)         Gilbarco Inc. 
Senior Software Engineer     7300 W. Friendly Avenue 
Retail Solutions             Greensboro, NC 27420-2087 
Mark Fricault gilbarco com    Phone : (336) 547-5863
www.gilbarco.com      Fax : (336) 547-5079 
----------------------------------------------------------- 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]