zsh-users
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Roland Jesse" <jesse@mail.CS.Uni-Magdeburg.De>,
	"Zsh Users" <zsh-users@sunsite.auc.dk>
Subject: RE: 3.1.9 build fails at zftp.c when using Sun's WorkShop Compilers 5.0
Date: Fri, 18 Aug 2000 20:09:14 +0400	[thread overview]
Message-ID: <000d01c0092e$a72b6b00$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <0vitsy7eij.fsf@cs.uni-magdeburg.de>

>
> 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


For some reason confgiure failed to find the above functions. Look into
config.log to see what went wrong. Zftp.c tries to provide replacement
implementation and this fails. Are there any error messages in config.log?

-andrej


  reply	other threads:[~2000-08-18 16:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-18 15:52 Roland Jesse
2000-08-18 16:09 ` Andrej Borsenkow [this message]
2000-08-18 16:12   ` Roland Jesse
2000-08-18 16:28     ` Andrej Borsenkow
2000-08-18 16:41       ` Andrej Borsenkow
2000-08-18 17:11       ` Danek Duvall
2000-08-21  6:54         ` Andrej Borsenkow
2000-08-21  7:02           ` Danek Duvall
2000-08-21 10:58             ` nm from networks libraries on Solaris 7, 8, 2.6? Andrej Borsenkow
2000-08-21 16:29               ` Danek Duvall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000d01c0092e$a72b6b00$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=jesse@mail.CS.Uni-Magdeburg.De \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).