[gnutls-dev] Problem linking gnutls 1.0.16

Nikos Mavroyanopoulos nmav at gnutls.org
Sat Jul 24 20:03:38 CEST 2004


On Thursday 22 July 2004 04:07, Bob Friesenhahn wrote:

> I am building gnutls and friends on a Solaris 9 system with gcc 3.4.1,
>
> The whole process has been quite painful.  In some places I had to
> edit Makefile.am files and add missing library dependencies.  It seems
> that perhaps gnutls relies on some automatic library dependency
> support provided by the OS.  I have installed libgpg-error-0.7,
> libgcrypt-1.2.0, libtasn1-0.2.10, and opencdk-0.5.5.
> I am now down to the final link stage but am stuck at the following
> error.  Can someone please help?
Could you send me the line that the final linking of libgnutls.so
is done? It seems that some objects (such as lib/x509/rfc2818_hostname)
do not get included. Have you used any configure options?
>
> /home/bfriesen/src/im/gnutls-1.0.16/lib/.libs/libgnutls: linked to
> ../lib/.libs/libgnutls: attempted multiple inclusion of file
It seems however that the library is created. Could you check
the library (with nm) for the following symbols? Does the linking
of other programs work?

> Undefined                       first referenced
>   symbol                             in file
> gnutls_x509_crt_check_hostname      common.o
> gnutls_openpgp_key_to_xml           common.o
> _gnutls_hostname_compare            ../libextra/.libs/libgnutls-extra
> gnutls_x509_crt_to_xml              common.o
> ld: fatal: Symbol referencing errors. No output written to
> .libs/gnutls-serv
> collect2: ld returned 1 exit status
> gmake[3]: *** [gnutls-serv] Error 1
> gmake[3]: Leaving directory `/home/bfriesen/src/im/gnutls-1.0.16/src'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/home/bfriesen/src/im/gnutls-1.0.16/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/bfriesen/src/im/gnutls-1.0.16'
> gmake: *** [all] Error 2
>
>
> ======================================
> Bob Friesenhahn
> bfriesen at simple.dallas.tx.us
> http://www.simplesystems.org/users/bfriesen
>
> _______________________________________________
> Gnutls-dev mailing list
> Gnutls-dev at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnutls-dev

-- 
Nikos Mavroyanopoulos




More information about the Gnutls-devel mailing list