[xml] Compilation fails on SOLARIS 5.6 for libxml2-2.4.20



I am not subscribed to the list, so cc the replies.
Thanks for the help.

I am trying to build locally libxml2-2.4.20 on
SunOS phi.hep.upenn.edu 5.6 Generic_105181-31 sun4u
sparc SUNW,Ultra-5_10

configure --prefix=xxx goes fine
when typing make
Making all in .
/bin/sh ./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
In file included from nanohttp.c:46:
/usr/include/resolv.h:136: field `nsaddr_list' has
incomplete type
/usr/include/resolv.h:146: field `addr' has incomplete
type
nanohttp.c: In function `xmlNanoHTTPConnectAttempt':
nanohttp.c:713: `IPPROTO_TCP' undeclared (first use
this function)
nanohttp.c:713: (Each undeclared identifier is
reported only once
nanohttp.c:713: for each function it appears in.)
nanohttp.c: In function `xmlNanoHTTPConnectHost':
nanohttp.c:854: storage size of `ia' isn't known
nanohttp.c:855: storage size of `sockin' isn't known
nanohttp.c:869: warning: implicit declaration of
function `gethostbyname'
nanohttp.c:869: warning: assignment makes pointer from
integer without a cast
nanohttp.c:915: dereferencing pointer to incomplete
type
nanohttp.c:916: dereferencing pointer to incomplete
type
nanohttp.c:918: dereferencing pointer to incomplete
type
nanohttp.c:918: dereferencing pointer to incomplete
type
nanohttp.c:919: dereferencing pointer to incomplete
type
nanohttp.c:921: warning: implicit declaration of
function `htons'
nanohttp.c:855: warning: unused variable `sockin'
nanohttp.c:854: warning: unused variable `ia'
*** Error code 1
make: Fatal error: Command failed for target
`nanohttp.lo'
Current working directory
/home/u2/systest/local/libxml2-2.4.20
*** Error code 1
make: Fatal error: Command failed for target
`all-recursive'
Current working directory
/home/u2/systest/local/libxml2-2.4.20
*** Error code 1
make: Fatal error: Command failed for target
`all-recursive-am'

can someone help me???

Thanks a lot.

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



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