Problem compiling gnutls 2.12.12 on Solaris 9 Sparc

Nikos Mavrogiannopoulos nmav at gnutls.org
Wed Oct 26 17:53:29 CEST 2011


On 10/26/2011 04:36 AM, Dagobert Michelsen wrote:
> Hi,
> 
> I have a problem compiling gnutls 2.12.12 on Solaris 9 Sparc with Sun Studio 12:
> 
> - The definition of _FILE_OFFSET_BITS probably in config.h is too late.
>   I have seen and reported this earlier for Wireshark as described in this thread:
>     http://www.wireshark.org/lists/wireshark-bugs/201106/msg00239.html
[...]

>>         current : function(unsigned long, unsigned long, long) returning unsigned long
>>         previous: function(unsigned long, unsigned long, long long) returning unsigned long : "/opt/csw/include/zlib.h", line 1571
>> cc: acomp failed for dummy.c
>> gmake[4]: *** [dummy.lo] Error 1

This looks like a zlib error in your platform. Try running configure
with the "--without-zlib"  option.

> - There are duplicate definitions from gnulib in libnettle 2.4, the issue is probably
>   related to the previous one:
>> Making all in nettle
>> gmake[4]: Entering directory `/home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-sparcv8/gnutls-2.12.12/lib/nettle'
>>   CC     pk.lo
>> "/opt/csw/include/nettle/nettle-stdint.h", line 237: identifier redeclared: gl_int_fast8_t
>>         current : signed char
>>         previous: long : "./../gl/stdint.h", line 241
>> "/opt/csw/include/nettle/nettle-stdint.h", line 238: warning: modification of typedef with "int" ignored
>> "/opt/csw/include/nettle/nettle-stdint.h", line 238: identifier redeclared: gl_int_fast16_t

This might be a nettle bug. Could you reply to Niels (nettle's author),
on his questions on the mail at:
http://permalink.gmane.org/gmane.comp.encryption.nettle.bugs/154

regards,
Nikos




More information about the Gnutls-devel mailing list