Problem with int types persists on nettle 2.4 and gnutls 3.0.19 on Solaris 9 Sparc

Dagobert Michelsen dam at opencsw.org
Fri Apr 27 14:23:13 CEST 2012


Hi Niels,

Am 05.05.2011 um 13:35 schrieb Dagobert Michelsen:
> I am trying to compile gnutls 2.12.3 with libnettle 2.1 and get the
> following errors. From the output I assume an incompatibility between
> different gnulib inclusions.
> 
> dam at testing9s :/home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-sparcv8/gnutls-2.12.3/lib/nettle > gmake V=1
> \
> source='pk.c' object='pk.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \
> /bin/bash ../libtool  --tag=CC   --mode=compile /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I..  -I./../gl -I./../gl -I./../includes -I./../includes -I./..  -I/opt/csw/include    -xO3 -m32 -xarch=v8 -c -o pk.lo pk.c
> libtool: compile:  /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I.. -I./../gl -I./../gl -I./../includes -I./../includes -I./.. -I/opt/csw/include -xO3 -m32 -xarch=v8 -c pk.c  -KPIC -DPIC -o .libs/pk.o
> "/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
>        current : int
>        previous: long : "./../gl/stdint.h", line 243
> "/opt/csw/include/nettle/nettle-stdint.h", line 239: warning: modification of typedef with "int" ignored
> "/opt/csw/include/nettle/nettle-stdint.h", line 239: identifier redeclared: gl_int_fast32_t
>        current : int
>        previous: long : "./../gl/stdint.h", line 245
> "/opt/csw/include/nettle/nettle-stdint.h", line 241: warning: typedef redeclared: int64_t
> "/opt/csw/include/nettle/nettle-stdint.h", line 244: identifier redeclared: gl_uint_fast8_t
>        current : unsigned char
>        previous: unsigned long : "./../gl/stdint.h", line 242
> "/opt/csw/include/nettle/nettle-stdint.h", line 245: identifier redeclared: gl_uint_fast16_t
>        current : unsigned int
>        previous: unsigned long : "./../gl/stdint.h", line 244
> "/opt/csw/include/nettle/nettle-stdint.h", line 246: identifier redeclared: gl_uint_fast32_t
>        current : unsigned int
>        previous: unsigned long : "./../gl/stdint.h", line 246
> "/opt/csw/include/nettle/nettle-stdint.h", line 248: warning: typedef redeclared: uint64_t
> cc: acomp failed for pk.c
> gmake: *** [pk.lo] Error 1
> zsh: 9813 exit 2     gmake V=1

I just verified that the problem persists with nettle 2.4 and gnutls-3.0.19. As you seem to have
access to the Solaris buildfarm it would be cool if you could finally fix this as it blocks
new releases of gnutls for the OpenCSW distribution.


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896





More information about the Gnutls-devel mailing list