From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29413 invoked from network); 18 Aug 2000 15:54:26 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Aug 2000 15:54:26 -0000 Received: (qmail 3879 invoked by alias); 18 Aug 2000 15:53:28 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3375 Received: (qmail 3863 invoked from network); 18 Aug 2000 15:53:27 -0000 X-Authentication-Warning: knecht.cs.uni-magdeburg.de: jesse set sender to jesse@cs.uni-magdeburg.de using -f To: Zsh Users Subject: 3.1.9 build fails at zftp.c when using Sun's WorkShop Compilers 5.0 From: Roland Jesse Date: 18 Aug 2000 17:52:36 +0200 Message-ID: <0vitsy7eij.fsf@cs.uni-magdeburg.de> User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Building zsh 3.1.9 on a Sun fails when using Sun's compiler version "WorkShop Compilers 5.0 98/12/15 C 5.0". The build is done using "./configure --enable-dynamic --enable-zsh-mem && make". Is there something wrong with my setup or did others experience this as well? The error message is: cc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DMODULE -xO4 -Kpic -o zftp..o zftp.c "./zftp.pro", line 4: identifier redeclared: inet_aton current : static function(pointer to const char, pointer to struct in_addr {union {..} S_un}) returning int previous: function(pointer to const char, pointer to struct in_addr {union {..} S_un}) returning int : "/usr/include/arpa/inet.h", line 52 "./zftp.pro", line 6: identifier redeclared: inet_pton current : static function(int, pointer to const char, pointer to void) returning int previous: function(int, pointer to const char, pointer to void) returning int : "/usr/include/arpa/inet.h", line 54 "./zftp.pro", line 11: identifier redeclared: gethostbyname2 current : static function(pointer to const char, int) returning pointer to struct hostent {pointer to char h_name, pointer to pointer ... previous: function(pointer to const char, int) returning pointer to struct hostent {pointer to char h_name, pointer to pointer to char... : "/usr/include/netdb.h", line 225 "zftp.c", line 1189: cannot recover from previous errors cc: acomp failed for zftp.c make[3]: *** [zftp..o] Error 2 make[3]: Leaving directory `/home/stud/jesse/solaris/t/zsh-3.1.9/Src/Modules' make[2]: *** [modules] Error 1 make[2]: Leaving directory `/home/stud/jesse/solaris/t/zsh-3.1.9/Src' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/home/stud/jesse/solaris/t/zsh-3.1.9/Src' make: *** [all] Error 1