[vlc-devel] Re: configure patch: detecting gnutls
spindler at hbt.arch.ethz.ch
Sat Apr 16 22:30:55 CEST 2005
On Sat, 2005-04-16 at 22:00, Rémi Denis-Courmont wrote:
> Err, I don't understand how the patch would work - it doesn't add -lz to
> the gnutls plugin link flags !? If the gnutls plugin compiles without
> -lz there's no reason why the configure check would need -lz either.
The check for gnutls is broken. After calling bootstrap using
./configure --enable-gnutls results in:
checking for gnutls_certificate_verify_peers2 in -lgnutls... no
I checked for this symbol in libgnutls and it is there. From the
configure script I've taken the c code:
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char gnutls_certificate_verify_peers2 ();
and compiled it by hand. When I added -lgnutls -lgcrypt -lz it worked. I
have no idea why the compile itself worked. "vlc-config--libs plugin
-L/usr/lib -g -shared -lpthread -fpic -fPIC -lgnutls -lgcrypt
> There's something wrong there.
Yes, I agree.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the vlc-devel