[xmlsec] fail to compile xmlsec in Aix 5.2

Dario Villalón dvillalo at sii.cl
Thu Mar 31 11:18:22 PST 2005


Hi.
I tried to compile xmlsec libraries in a  AIX 5.2 server but this fail in
the 'make' process:

...
....
..
creating libxmlsec1.la
(cd .libs && rm -f libxmlsec1.la && ln -s ../libxmlsec1.la libxmlsec1.la)
Target "all-am" is up to date.
Making all in openssl
        if /bin/sh ../../libtool --mode=compile --tag=CC
cc -DHAVE_CONFIG_H  -I
. -I. -I../.. -DPACKAGE=\"xmlsec1\"  -I../..  -I../../include  -D__XMLSEC_FU
NCTI
ON__=__FUNCTION__ -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_XKMS=1  -I/usr/local/includ
e -D
XMLSEC_CRYPTO_OPENSSL=1    -I/usr/local/include/libxml2       -g -O2 -D_ALL_
SOUR
CE -MT app.lo -MD -MP -MF ".deps/app.Tpo" -c -o app.lo app.c;  then mv -f
".deps
/app.Tpo" ".deps/app.Plo"; else rm -f ".deps/app.Tpo"; exit 1; fi

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPACKAGE=\"xmlsec1\" -I../.. -I../../in
clu
de -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_XKMS=1 
-I/u
sr/local/include -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/local/include/libxml2 -g -
O2 -
D_ALL_SOURCE -MT app.lo -MD -MP -MF .deps/app.Tpo -c app.c  -DPIC -o
.libs/app.o
        if /bin/sh ../../libtool --mode=compile --tag=CC
cc -DHAVE_CONFIG_H  -I
. -I. -I../.. -DPACKAGE=\"xmlsec1\"  -I../..  -I../../include  -D__XMLSEC_FU
NCTI
ON__=__FUNCTION__ -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_XKMS=1  -I/usr/local/includ
e -D
XMLSEC_CRYPTO_OPENSSL=1    -I/usr/local/include/libxml2       -g -O2 -D_ALL_
SOUR
CE -MT bn.lo -MD -MP -MF ".deps/bn.Tpo" -c -o bn.lo bn.c;  then mv -f
".deps/bn.
Tpo" ".deps/bn.Plo"; else rm -f ".deps/bn.Tpo"; exit 1; fi

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPACKAGE=\"xmlsec1\" -I../.. -I../../in
clu
de -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_XKMS=1 
-I/u
sr/local/include -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/local/include/libxml2 -g -
O2 -
D_ALL_SOURCE -MT bn.lo -MD -MP -MF .deps/bn.Tpo -c bn.c  -DPIC -o .libs/bn.o
        if /bin/sh ../../libtool --mode=compile --tag=CC
cc -DHAVE_CONFIG_H  -I
. -I. -I../.. -DPACKAGE=\"xmlsec1\"  -I../..  -I../../include  -D__XMLSEC_FU
NCTI
ON__=__FUNCTION__ -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_XKMS=1  -I/usr/local/includ
e -D
XMLSEC_CRYPTO_OPENSSL=1    -I/usr/local/include/libxml2       -g -O2 -D_ALL_
SOUR
CE -MT ciphers.lo -MD -MP -MF ".deps/ciphers.Tpo" -c -o ciphers.lo
ciphers.c;  t
hen mv -f ".deps/ciphers.Tpo" ".deps/ciphers.Plo"; else rm -f
".deps/ciphers.Tpo
"; exit 1; fi

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPACKAGE=\"xmlsec1\" -I../.. -I../../in
clu
de -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_XKMS=1 
-I/u
sr/local/include -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/local/include/libxml2 -g -
O2 -
D_ALL_SOURCE -MT ciphers.lo -MD -MP -MF .deps/ciphers.Tpo -c
iphers.c  -DPIC -o
 .libs/ciphers.o
ciphers.c: In function `xmlSecOpenSSLEvpBlockCipherCtxUpdate':
ciphers.c:209: error: structure has no member named `final_used'
ciphers.c:210: error: structure has no member named `final'
ciphers.c:240: error: structure has no member named `final_used'
ciphers.c:241: error: structure has no member named `final'
ciphers.c:243: error: structure has no member named `final_used'
ciphers.c: In function `xmlSecOpenSSLEvpBlockCipherCtxFinal':
ciphers.c:388: error: structure has no member named `final_used'
ciphers.c:391: error: structure has no member named `final'
ciphers.c:393: error: structure has no member named `final'
ciphers.c:400: error: structure has no member named `final'
ciphers.c: In function `xmlSecOpenSSLEvpBlockCipherInitialize':
ciphers.c:491: warning: assignment makes pointer from integer without a cast
ciphers.c:494: warning: assignment makes pointer from integer without a cast
ciphers.c:497: warning: assignment makes pointer from integer without a cast
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 1.

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

Stop.




Others softwares installed in the box are:

Openssl 0.9.7f
LibXML2 2.6.16

Thanks for help.

Regards
Dario Villalón




More information about the xmlsec mailing list