[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] Makefile fix for 1.7.2
From: |
Ludovic Courtès |
Subject: |
Re: [gnutls-dev] Makefile fix for 1.7.2 |
Date: |
Tue, 16 Jan 2007 11:43:27 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Hi,
Simon Josefsson <address@hidden> writes:
> address@hidden (Ludovic Courtès) writes:
>> Below is a tiny Makefile fix (without it, I get an undefined reference
>> to `read_binary_file ()' when building the libgnutls-extra-dependent
>> programs).
>
> I can't reproduce this:
>
> http://autobuild.josefsson.org/gnutls/log-200701160143145770000.txt
>
> Which platform are you on? I actually got errors about double
> definitions when I linked to both libraries -- libgnu.la does link to
> liblgnu.la. This was changed recently though, maybe you need to 'make
> distclean' or similar?
I'm using Debian GNU/Linux (sid). `libgnutls-extra' is linked against
`libgnutls' which does include `liblgnu' (and `read_binary_file ()').
However, `libgnutls' does not export `read_binary_file ()':
$ objdump -T lib/.libs/libgnutls.so | grep read_binary_file
[ nothing ]
Thus, it seems "logical" to me to also link `libgnutls-extra' against
`liblgnu'. Now, I can imagine that this might fail on some other
platform...
Thanks,
Ludo'.