pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/39738 CVS commit: pkgsrc/pkgtools/libnbcompat/files



The following reply was made to PR pkg/39738; it has been noted by GNATS.

From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern%uni-bielefeld.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: joerg%NetBSD.org@localhost
Subject: Re: PR/39738 CVS commit: pkgsrc/pkgtools/libnbcompat/files
Date: Mon, 20 Oct 2008 09:04:07 +0200

 Hi Joerg!
 
 Joerg Sonnenberger wrote:
 > The following reply was made to PR pkg/39738; it has been noted by GNATS.
 [...]
 >  Log Message:
 >  Include nbcompat/types.h early to make sure that uintX_t are defined.
 >  Reported by Aleksey Cheusov and Joern Clausen in PR 39738.
 
 Sorry:
 
 cc  -I. -I.  -g -DHAVE_CONFIG_H -c getaddrinfo.c
 "./nbcompat/netdb.h", line 178: identifier redeclared: gai_strerror
          current : function(int) returning pointer to char
          previous: function(int) returning pointer to const char : 
 "/usr/include/netdb.h", line 329
 cc: acomp failed for getaddrinfo.c
 *** Error code 2
 
 Stop.
 bmake: stopped in 
 /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/bootstrap/work/libnbcompat
 ===> exited with status 1
 aborted.
 
 The relevant part from the config log is
 
 configure:10877: checking for gai_strerror
 configure:10933: cc -o conftest -g   conftest.c  >&5
 "conftest.c", line 148: warning: statement not reached
 Undefined                       first referenced
   symbol                             in file
 gai_strerror                        conftest.o
 ld: fatal: Symbol referencing errors. No output written to conftest
 
 gai_strerror on Solaris also needs -lsocket -lnsl.
 
 Jörn
 
 -- 
   Jörn Clausen                             
joern.clausen%uni-bielefeld.de@localhost
   Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
   Universität Bielefeld
 


Home | Main Index | Thread Index | Old Index