[xml] Build problem for libxml2-2.6.3 on AIX



I am having trouble building libxml2-2.6.3 on AIX.

setenv CC newxlc
setenv CXX newxlC
setenv F77 newf77
./configure --prefix=/usr/casc/babel/apps/aix --cache-file=/dev/null


epperly aix[babel/apps/libxml2-2.6.3]>make
       make  all-recursive
Making all in include
Making all in libxml
Target "all" is up to date.
Target "all-am" is up to date.
Target "all" is up to date.
Making all in .
       source='nanoftp.c' object='nanoftp.lo' libtool=yes  depfile='.deps/nanoftp.Plo' 
tmpdepfile='.deps/nanoftp.TPlo'  depmode=aix /bin/sh ./depcomp  /bin/sh ./libtool --mode=compile newcc 
-DHAVE_CONFIG_H -I. -I. -I.  -I./include -I./include  -D_REENTRANT      -g -c -o nanoftp.lo `test -f 
'nanoftp.c' || echo './'`nanoftp.c
newcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -g -c -M nanoftp.c  -DPIC
"nanoftp.c", line 1559.25: 1506-022 (S) "ss_family" is not a member of "struct sockaddr_storage".
"nanoftp.c", line 1578.29: 1506-022 (S) "ss_family" is not a member of "struct sockaddr_storage".
"nanoftp.c", line 1609.29: 1506-022 (S) "ss_family" is not a member of "struct sockaddr_storage".
"nanoftp.c", line 1646.29: 1506-022 (S) "ss_family" is not a member of "struct sockaddr_storage".
"nanoftp.c", line 1665.29: 1506-022 (S) "ss_family" is not a member of "struct sockaddr_storage".
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.


I checked /usr/include/sys/socket.h. The members of struct sockaddr_storage are named __ss_family, __ss_pad1, __ss_align, and __ss_pad2.

This problem goes away if I use --enable-ipv6=no on the configure line.

Please Cc me on replies because I am not a list member.

Tom




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