[xmlsec] "sign1.c" compiled failed.

Aleksey Sanin aleksey at aleksey.com
Mon Jun 13 07:21:10 PDT 2005


Take a look at the Makefile in examples folder. It has all the necessary
options.

Aleksey

Jimmy Wu(§d«T´Ü) wrote:
> Hi Aleksey,
>  I am sorry bothering you again! I use xmlsec1-config to specify the
> crypto-library I selected is "openssl", and then I try to compile again.
> It's still not working! Would you please tell me if I compile a single ".c"
> file without make file using command line? Thank you again!
> 
> - Jimmy
> 
> -----Original Message-----
> From: Aleksey Sanin [mailto:aleksey at aleksey.com] 
> Sent: Monday, June 06, 2005 10:52 PM
> To: Jimmy Wu
> Cc: xmlsec at aleksey.com
> Subject: Re: [xmlsec] "sign1.c" compiled failed.
> 
> 
>>  /usr/local/include/xmlsec/crypto.h:54:2: #error No crypto library
>>defined
> 
> You forgot to tell xmlsec which crypto library to use. Either use
> "--crypto" flag for xmlsec1-config utility or specify correct define
> (XMLSEC_CRYPTO_OPENSSL, XMLSEC_CRYPTO_NSS, ...) manually.
> 
> http://www.aleksey.com/xmlsec/api/xmlsec-notes-compiling.html#XMLSEC-NOTES-C
> OMPILING-OVERVIEW
> 
> Aleksey
> 
> 


More information about the xmlsec mailing list