On Tuesday 26 August 2014 18:47:39 Reuben Hawkins wrote:
> When compiling wget, and linking to gnutls statically, there's a linker
> error.
> 
> It seems both gnutls and wget define base64_encode....
> 
> <snip>/lib/libgnutls.a(base64.o): In function `base64_encode':
> 
> <snip>/gnutls-3.1.5/gl/base64.c:67: multiple definition of `base64_encode'
> 
> utils.o:utils.c:(.text+0x3360): first defined here
> 
> Seems like the right thing to do is check for base64_encode in the
> configure script and only define it in utils.c if it's not already
> available....
> 
> Should I submit a patch?

Thanks for your offer, but there is no need for a patch.

It was a bug in GnuTLS which once exported too many symbols. It has been fixed 
~ a year ago. Just update your version of GnuTLS  - many bugs have been fixed 
since 3.1.5. I guess, there are also security related ones.

Tim


Reply via email to