Hi Aleksey ! Thanks for your answer again !
>Did you run "autogen.sh" after that? (you might need to get sources >from CVS) I didn´t get the data from CVS ... Therefore I didn´t run autogen.sh - do you really think it is necessary to get the data from CVS ? In the mean time I was trying other stuff: I realized that there are 2 intersting xmlsec "configure" options (I think they represent exactly what I want: no dynamic loading of my crypto library - which in my case is openssl): --enable-crypto-dl and --enable-apps-crypto-dl. I used then --enable-crypto-dl=no and --enable-apps-crypto-dl=no. However when I did that, the compile line still asks for -ldl (I realize it comes from the OPENSSL_LIBS and OPENSSL_CRYPTO_LIBS - do you know where are they defined ?).Anyway, if I take the -ldl manually, I get the following error: m68k-elf-gcc -m5307 -DCONFIG_COLDFIRE -Os -g -fomit-frame-pointer -m5307 -DCONFIG_COLDFIRE -Dlinux -D__linux__ -Dunix -D__uClinux__ -DEMBED -I/home/usuarios/hargrave/uClinux-vb/include -I/home/usuarios/hargrave/uClinux-vb/include/include -I/home/usuarios/hargrave/uClinux-vb/uClibc -I/home/usuarios/hargrave/uclib6/include -I//home/usuarios/hargrave/uClinux-vb/lib/libssl/include/openssl -I//home/usuarios/hargrave/uClinux-vb/lib/libssl/include -Wall -fno-common -fno-builtin -nostdinc -DUSE_SYSLOG -Wl,-elf2flt -Wl,-move-rodata -nostartfiles /home/usuarios/hargrave/uClinux-vb/lib/crt0.o -o xmlsec1 xmlsec.o crypto.o cmdline.o -L/home/usuarios/hargrave/uClinux-vb/lib -L/home/usuarios/hargrave/uclib6/lib ../src/openssl/.libs/libxmlsec1-openssl.a /home/usuarios/hargrave/tmp/xml/uC6/xmlsec1-1.2.9/src/.libs/libxmlsec1.a ../src/.libs/libxmlsec1.a /home/usuarios/hargrave/uClinux-vb/lib/lib/libcrypto.a /home/usuarios/hargrave/uclib6/lib/libxslt.a /home/usuarios/hargrave/uclib6/lib/libxml2 .a -lpthread -lm -lc xmlsec1.elf2flt: In function `xmlSecOpenSSLEvpDigestInitialize': /home/usuarios/hargrave/tmp/xml/uC6/xmlsec1-1.2.9/src/openssl/digests.c:146: undefined reference to `EVP_sha224' /home/usuarios/hargrave/tmp/xml/uC6/xmlsec1-1.2.9/src/openssl/digests.c:152: undefined reference to `EVP_sha256' /home/usuarios/hargrave/tmp/xml/uC6/xmlsec1-1.2.9/src/openssl/digests.c:158: undefined reference to `EVP_sha384' /home/usuarios/hargrave/tmp/xml/uC6/xmlsec1-1.2.9/src/openssl/digests.c:164: undefined reference to `EVP_sha512' xmlsec1.elf2flt: In function `xmlSecOpenSSLHmacInitialize': /home/usuarios/hargrave/tmp/xml/uC6/xmlsec1-1.2.9/src/openssl/hmac.c:156: undefined reference to `EVP_sha224' /home/usuarios/hargrave/tmp/xml/uC6/xmlsec1-1.2.9/src/openssl/hmac.c:162: undefined reference to `EVP_sha256' /home/usuarios/hargrave/tmp/xml/uC6/xmlsec1-1.2.9/src/openssl/hmac.c:168: undefined reference to `EVP_sha384' /home/usuarios/hargrave/tmp/xml/uC6/xmlsec1-1.2.9/src/openssl/hmac.c:174: undefined reference to `EVP_sha512' xmlsec1.elf2flt: In function `xmlSecOpenSSLEvpSignatureInitialize': /home/usuarios/hargrave/tmp/xml/uC6/xmlsec1-1.2.9/src/openssl/signatures.c:185: undefined reference to `EVP_sha224' /home/usuarios/hargrave/tmp/xml/uC6/xmlsec1-1.2.9/src/openssl/signatures.c:192: undefined reference to `EVP_sha256' /home/usuarios/hargrave/tmp/xml/uC6/xmlsec1-1.2.9/src/openssl/signatures.c:199: undefined reference to `EVP_sha384' /home/usuarios/hargrave/tmp/xml/uC6/xmlsec1-1.2.9/src/openssl/signatures.c:206: undefined reference to `EVP_sha512' collect2: ld returned 1 exit status Do you (or anybody) know what is the problem ? Thanks a lot, Beatriz. On Mon, 24 Apr 2006 16:10:07 -0700, Aleksey Sanin <[EMAIL PROTECTED]> escreveu: > De: Aleksey Sanin <[EMAIL PROTECTED]> > Data: Mon, 24 Apr 2006 16:10:07 -0700 > Para: Beatriz Hargrave <[EMAIL PROTECTED]> > Assunto: Re: [xmlsec] how to compile an application using xmlsec without libdl > > > > > So, I erased all the "-ldl" from configure.in of libxmlsec (also from > > xmlsec1Conf.sh and libxmlsec1-openssl.la) and compiled xmlsec to uclinux. > > This worked. > > Did you run "autogen.sh" after that? (you might need to get sources > from CVS) > > Aleksey > > > > _______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec
