GnuTLS 2.7.9 fails to build on Solaris 2.6

Simon Josefsson simon at josefsson.org
Mon May 18 14:58:18 CEST 2009


"Tom G. Christensen" <tgc at jupiterrise.com> writes:

> On Sat, May 16, 2009 at 04:27:14PM +0200, Simon Josefsson wrote:
>> Thanks.  Variation on the same problem as before actually.  Should be
>> fixed now.  I looked for other occurrences of the same problem, but I
>> didn't find any.
>> 
> I'm still not able to complete the build.
> I've sent the full log to your autobuild service but these are the two
> problems I see:
>
> serv.c: In function 'listen_socket':
> serv.c:650: error: 'NI_MAXHOST' undeclared (first use in this function)
> serv.c:650: error: (Each undeclared identifier is reported only once
> serv.c:650: error: for each function it appears in.)
> serv.c:650: error: 'NI_MAXSERV' undeclared (first use in this function)
> serv.c:650: warning: unused variable 'service' [-Wunused-variable]
> serv.c:650: warning: unused variable 'host' [-Wunused-variable]
> make[3]: *** [serv.o] Error 1
>
> And this:
>
> ld: warning: file
> /export/home/tgc/tmp/daily-build/gnutls/gnutls-2.7.11/lib/.libs/libgnutls.so:
> linked to ../lib/.libs/libgnutls.so: attempted multiple inclusion of
> file
> Undefined                       first referenced
>  symbol                             in file
>  gethostbyname                       ../gl/.libs/libgnu.a(getaddrinfo.o)
>  (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
>  ld: fatal: Symbol referencing errors. No output written to
>  .libs/gnutls-cli
>  collect2: ld returned 1 exit status
>  make[3]: *** [gnutls-cli] Error 1

Both should be fixed in master now, I'm going to release another RC so
please that.

/Simon





More information about the Gnutls-devel mailing list