[xmlsec] xmlsec: compilation on IBM AIX 4.3 , core dump

doug_mail at pop.hotpop.com doug_mail at pop.hotpop.com
Mon Jun 2 11:46:23 PDT 2003


>>The AIX compiler doesn't like the -Wall option in
src/openssl/Makefile
>Ops, it's a bug. Thanks for reporting it! The fix is commited to CVS.

You are welcome, thank you for producing this package.

>>but I get some warnings
>What kind of warnings do you have?<br>

The warning is:
1506-755 (W) The -a option is not supported in this release.

I believe this is the -ansi option that was on the same line as the -Wall
option.


I tried re-compiling all the libraries with gcc (GCC) 3.2.3 but I get
errors coming from the libxml2 include files during the compile of xmlsec:

./configure --prefix=/usr/local --enable-aes --with-libxml=/usr/local
--with-openssl=/usr/local --includedir=/usr/local/include
[...]

make 
[...]
Making all in openssl
        source='app.c' object='app.lo' libtool=yes  depfile='.deps/app.Plo'
tmpdepfile='.deps/app.TPlo'  depmode=gcc3 /bin/sh ../../depcomp  /bin/sh
../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../.. 
-I../../include  -DXMLSEC_NO_XSLT=1    -I/usr/local/include   
-I/usr/local/include/libxml2  -Wall -ansi      -g -O2  -DXMLSEC_NO_XSLT=1
-c -o app.lo `test -f 'app.c' || echo './'`app.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include
-DXMLSEC_NO_XSLT=1 -I/usr/local/include -I/usr/local/include/libxml2 -Wall
-ansi -g -O2 -DXMLSEC_NO_XSLT=1 -c app.c -MT app.lo -MD -MP -MF
.deps/app.TPlo  -DPIC -o .libs/app.lo
In file included from /usr/local/include/libxml2/libxml/parser.h:655,
                 from /usr/local/include/libxml2/libxml/globals.h:16,
                 from /usr/local/include/libxml2/libxml/threads.h:31,
                 from /usr/local/include/libxml2/libxml/xmlmemory.h:186,
                 from /usr/local/include/libxml2/libxml/tree.h:914,
                 from ../../include/xmlsec/xmlsec.h:18,
                 from app.c:18:
/usr/local/include/libxml2/libxml/encoding.h:132: syntax error before
"iconv_t"
/usr/local/include/libxml2/libxml/encoding.h:132: warning: no semicolon at
end of struct or union
/usr/local/include/libxml2/libxml/encoding.h:133: warning: type defaults to
`int' in declaration of `iconv_out'
/usr/local/include/libxml2/libxml/encoding.h:133: warning: data definition
has no type or storage class
make: 1254-004 The error code from the last command is 1.



--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .





More information about the xmlsec mailing list