Problem with nettle 2.1 and gnutls 2.12.3 on Solaris

Dagobert Michelsen dam at baltic-online.de
Thu May 5 13:35:26 CEST 2011


Hi,

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


Platforms is Solaris 9 Sparc with Sun Studio 12 compiler.


Best regards

  -- Dago





More information about the Gnutls-devel mailing list