[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some compile issues of gnutls 2.6.3 on Solaris
From: |
Simon Josefsson |
Subject: |
Re: Some compile issues of gnutls 2.6.3 on Solaris |
Date: |
Fri, 06 Feb 2009 22:39:58 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux) |
Mats Rojestal <address@hidden> writes:
> Hi,
>
> gnutls 2.6.4 (and also 2.4.3) compiles cleanly on Solaris and also
> passes all tests.
> Compiler is gcc.
Great, thanks for testing.
/Simon
> bash-3.00$ gcc -v
> Using built-in specs.
> Target: i386-pc-solaris2.10
> Configured with: ../configure --prefix=/usr/gnu
> --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/local/bin/gld
> --enable-shared --with-gnu-ld --enable-languages=c,c++ --disable-nls
> Thread model: posix
> gcc version 4.3.0 (GCC)
>
> Regards Mats Röjestål
>
> Simon Josefsson skrev:
>> Dagobert Michelsen <address@hidden> writes:
>>
>>> Hi Simon,
>>>
>>> Am 21.01.2009 um 22:26 schrieb Simon Josefsson:
>>>> This was new, thank you. Should be fixed on trunk. Please test
>>>> updated
>>>> daily build of the 2.6.x trunk (soon to be released):
>>>>
>>>> http://daily.josefsson.org/gnutls-2.6/gnutls-2.6-20090121.tar.gz
>>> Compilation and testing works fine now. However, on installation I get
>>>
>>> libtool: install: warning: relinking `libgnutlsxx.la'
>>> libtool: install: (cd /home/dam/mgar/pkg/gnutls/trunk/work/build-isa-
>>> sparcv8/gnutls-2.6.4/lib; /bin/bash /home/dam/mgar/pkg/gnutls/trunk/
>>> work/build-isa-sparcv8/gnutls-2.6.4/libtool --tag CXX --mode=relink /
>>> opt/studio/SOS11/SUNWspro/bin/CC -I../includes/ -xO3 -xarch=v8 -I/opt/
>>> csw/include -no-undefined -version-info 37:5:11 -xarch=v8 -L/opt/csw/
>>> lib -R/opt/csw/lib/\\\$ISALIST -R/opt/csw/lib -o libgnutlsxx.la -
>>> rpath /opt/csw/lib libgnutlsxx_la-gnutlsxx.lo libgnutls.la -lnsl -
>>> lsocket -inst-prefix-dir /home/dam/mgar/pkg/gnutls/trunk/work/install-
>>> isa-sparcv8)
>>> libtool: relink: /opt/studio/SOS11/SUNWspro/bin/CC -G -zdefs -
>>> hlibgnutlsxx.so.26 -o .libs/libgnutlsxx.so.26.11.5 .libs/
>>> libgnutlsxx_la-gnutlsxx.o -R/opt/csw/lib -R/opt/csw/lib/\$ISALIST
>>> -L/
>>> opt/csw/lib
>>> -L/home/dam/mgar/pkg/gnutls/trunk/work/install-isa-sparcv8/
>>> opt/csw/lib -lgnutls -ltasn1 -lz -lgcrypt -lgpg-error -lintl -lnsl -
>>> lsocket -library=Cstd -library=Crun -lc -xarch=v8 -xarch=v8
>>> Undefined first referenced
>>> symbol in file
>>> gnutls_priority_set .libs/libgnutlsxx_la-gnutlsxx.o
>>> gnutls_priority_set_direct .libs/libgnutlsxx_la-gnutlsxx.o
>>> gnutls_openpgp_send_cert .libs/libgnutlsxx_la-gnutlsxx.o
>>> ld: fatal: Symbol referencing errors. No output written to .libs/
>>> libgnutlsxx.so.26.11.5
>>> libtool: install: error: relink `libgnutlsxx.la' with the above
>>> command before installing it
>>> gmake[5]: *** [install-libLTLIBRARIES] Error 1
>>>
>>> Please be advised that I don't install .la-files for shared libraries
>>> (like libassuan etc.)
>>
>> It looks like -lgnutls is linking to an old version of gnutls that is
>> installed somewhere else. Also, the \$ISALIST stuff looks weird, should
>> it be a complete expanded path?
>>
>> Perhaps libtool relinking requires the *.la files to be properly
>> installed. Try to install them too... alternatively, make sure the
>> relink command doesn't link to the old copy of gnutls.so.
>>
>> /Simon
>>
>>
>> _______________________________________________
>> Gnutls-devel mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/gnutls-devel
>>