[xmlsec] error x509 - dereferencing pointer to incomplete type

Beatriz Hargrave hargrave at vonbraunlabs.com.br
Mon Mar 20 05:13:40 PST 2006


Hi everybody !

I am new in this list. 

I am trying to compile xmlsec to uclinux and I get the error below. 

I searched for X509_VERIFY_PARAM declaration and I didn´t find it anywhere. 

Does anybody know what could be the problem ? 

Thank you very much, 
Beatriz. 



I am using the following flags: 

export PATH=/usr/local/bin/m68k-elf/bin:$HOME/uclib3/bin:$PATH
export PKG_CONFIG_PATH="$HOME/uclib3/lib/" 
export CC="m68k-elf-gcc -m5307 -DCONFIG_COLDFIRE"
export UCLINUX_DIR="$HOME/uClinux-vb"
export CFLAGS="-Os -g -fomit-frame-pointer -m5307 -DCONFIG_COLDFIRE -Dlinux -D__linux__ -Dunix -D__uClinux__ -DEMBED -I$UCLINUX_DIR/include -I$UCLINUX_DIR/include/include -I$UCLINUX_DIR/uClibc -I$HOME/uclib3/include -I/$UCLINUX_DIR/lib/libssl/include/openssl -I/$UCLINUX_DIR/lib/libssl/include -Wall -fno-common -fno-builtin -nostdinc -DUSE_SYSLOG"
export LDFLAGS="-Wl,-elf2flt -Wl,-move-rodata -nostartfiles $UCLINUX_DIR/lib/crt0.o -L$UCLINUX_DIR/lib -L$HOME/uclib3/lib"
export LDLIBS="-lc"
export LIBS="-lc"
#make distclean
./configure --prefix=$HOME/uclib3 --with-libxml=$HOME/uclib3 --with-libxslt=$HOME/uclib3 --with-openssl=$UCLINUX_DIR/lib 

------------------------

Error message: 


p,-MD,.deps/x509vfy.TPlo -o x509vfy.o
x509vfy.c:53: parse error before `X509_VERIFY_PARAM'
x509vfy.c:53: warning: no semicolon at end of struct or union
x509vfy.c:75: sizeof applied to an incomplete type
x509vfy.c: In function `xmlSecOpenSSLX509StoreFindCert':
x509vfy.c:154: dereferencing pointer to incomplete type
x509vfy.c:155: dereferencing pointer to incomplete type
x509vfy.c: In function `xmlSecOpenSSLX509StoreVerify':
x509vfy.c:191: dereferencing pointer to incomplete type
x509vfy.c:205: dereferencing pointer to incomplete type
x509vfy.c:206: dereferencing pointer to incomplete type
x509vfy.c:207: dereferencing pointer to incomplete type
x509vfy.c:232: dereferencing pointer to incomplete type
x509vfy.c:267: dereferencing pointer to incomplete type
x509vfy.c:268: dereferencing pointer to incomplete type
x509vfy.c:291: `X509_VERIFY_PARAM' undeclared (first use in this function)
x509vfy.c:291: (Each undeclared identifier is reported only once
x509vfy.c:291: for each function it appears in.)
x509vfy.c:291: `vpm' undeclared (first use in this function)
x509vfy.c:292: parse error before `unsigned'
x509vfy.c:294: warning: implicit declaration of function `X509_VERIFY_PARAM_new'
x509vfy.c:303: `vpm_flags' undeclared (first use in this function)
x509vfy.c:309: warning: implicit declaration of function `X509_VERIFY_PARAM_set_depth'
x509vfy.c:310: warning: implicit declaration of function `X509_VERIFY_PARAM_set_flags'
x509vfy.c:314: dereferencing pointer to incomplete type
x509vfy.c:319: warning: implicit declaration of function `X509_VERIFY_PARAM_set_time'
x509vfy.c:325: warning: implicit declaration of function `X509_STORE_CTX_set0_param'
x509vfy.c: In function `xmlSecOpenSSLX509StoreAdoptCert':
x509vfy.c:449: dereferencing pointer to incomplete type
x509vfy.c:451: dereferencing pointer to incomplete type
x509vfy.c:463: dereferencing pointer to incomplete type
x509vfy.c:465: dereferencing pointer to incomplete type
x509vfy.c: In function `xmlSecOpenSSLX509StoreAddCertsPath':
x509vfy.c:498: dereferencing pointer to incomplete type
x509vfy.c:500: dereferencing pointer to incomplete type
x509vfy.c: In function `xmlSecOpenSSLX509StoreInitialize':
x509vfy.c:523: sizeof applied to an incomplete type
x509vfy.c:525: dereferencing pointer to incomplete type
x509vfy.c:526: dereferencing pointer to incomplete type
x509vfy.c:535: dereferencing pointer to incomplete type
x509vfy.c:548: dereferencing pointer to incomplete type
x509vfy.c:560: dereferencing pointer to incomplete type
x509vfy.c:561: dereferencing pointer to incomplete type
x509vfy.c:570: dereferencing pointer to incomplete type
x509vfy.c:571: dereferencing pointer to incomplete type
x509vfy.c:581: dereferencing pointer to incomplete type
x509vfy.c:582: dereferencing pointer to incomplete type
x509vfy.c:590: dereferencing pointer to incomplete type
x509vfy.c:591: warning: implicit declaration of function `X509_STORE_set1_param'
x509vfy.c:591: dereferencing pointer to incomplete type
x509vfy.c:591: dereferencing pointer to incomplete type
x509vfy.c: In function `xmlSecOpenSSLX509StoreFinalize':
x509vfy.c:609: dereferencing pointer to incomplete type
x509vfy.c:610: dereferencing pointer to incomplete type
x509vfy.c:612: dereferencing pointer to incomplete type
x509vfy.c:613: dereferencing pointer to incomplete type
x509vfy.c:615: dereferencing pointer to incomplete type
x509vfy.c:616: dereferencing pointer to incomplete type
x509vfy.c:619: dereferencing pointer to incomplete type
x509vfy.c:620: warning: implicit declaration of function `X509_VERIFY_PARAM_free'
x509vfy.c:620: dereferencing pointer to incomplete type
x509vfy.c:624: sizeof applied to an incomplete type
make[3]: *** [x509vfy.lo] Error 1
make[3]: Leaving directory `/mnt/auto/oberon/usuarios/hargrave/tmp/xml/uC3/xmlsec1-1.2.9/src/openssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/auto/oberon/usuarios/hargrave/tmp/xml/uC3/xmlsec1-1.2.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/auto/oberon/usuarios/hargrave/tmp/xml/uC3/xmlsec1-1.2.9'
make: *** [all] Error 2
sh-2.05b$       



More information about the xmlsec mailing list