[xmlsec] Compiling on Fedora Core 4

Aleksey Sanin aleksey at aleksey.com
Tue Aug 30 17:17:53 PDT 2005


> 
> bn.c: In function 'xmlSecBnFromString':
> bn.c:255: warning: comparison is always true due to limited range of
> data type
Just ignore this, it is harmless :)

> app.c: In function 'xmlSecOpenSSLAppKeyLoadBIO':
> app.c:237: warning: passing argument 4 of 'PEM_read_bio_PrivateKey'
> discards qualifiers from pointer target type
> signatures.c:703: warning: initialization from incompatible pointer type
> signatures.c:712: warning: initialization from incompatible pointer type
> signatures.c:713: warning: initialization from incompatible pointer type
Same as above. Nothing to worry about.

> libtool: link: warning:
> `/usr/lib/gcc/i386-redhat-linux/4.0.0/../../..//libxslt.la' seems to be
> moved
> ciphers.c:33: warning: 'GcryCipherHd' is deprecated
> digests.c:34: warning: 'GcryMDHd' is deprecated
> hmac.c:36: warning: 'GcryMDHd' is deprecated
Harmless warnings from xmlsec-gnutls. You probably don't need it so just
disable it using "without-gnutls" option for ./configure script.

> libtool: link: warning:
> `/usr/lib/gcc/i386-redhat-linux/4.0.0/../../..//libxslt.la' seems to be
> moved
> libtool: link: warning:
> `/usr/lib/gcc/i386-redhat-linux/4.0.0/../../..//libxslt.la' seems to be
> moved
> ../src/.libs/libxmlsec1.so: undefined reference to
> `xmlSecTransformXsltGetKlass'
> collect2: ld returned 1 exit status
> make[2]: *** [xmlsec1] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> ... end STDERR
This is interesting. Can you check and make sure that you don't have
another copy of xmlsec1 installed? My only guess about the last error
is that somehow linker picked up a *different* version of xmlsec library
than one your are compiling.

Aleksey






More information about the xmlsec mailing list