[gnutls-dev] Makefile fix for 1.7.2

Ludovic Courtès ludovic.courtes at laas.fr
Mon Jan 22 13:27:33 CET 2007


Simon Josefsson <simon at josefsson.org> writes:

> Yeah, but libgnutls-extra should be linked to libgnu:
> libgnutls_extra_la_LIBADD += ../gl/libgnu.la ../lib/libgnutls.la
> And libgnu should be linked to liblgnu:
> libgnu_la_LIBADD += ../lgl/liblgnu.la
> And libgnu seem to contain read_binary_file:
> jas at mocca:~/src/gnutls$ objdump -t gl/.libs/libgnu.a | grep read_binary_file
> 000001f8 g     F .text  00000034 read_binary_file
> jas at mocca:~/src/gnutls$
> So libgnutls-extra should pick it up.  But you'll have to re-link
> libgnu if you don't build from a clean directory.

Oops, indeed, after `make distclean' everything compiles and links as
expected.  Weird...


More information about the Gnutls-devel mailing list