From: Matthew Lovell <lovell@fc.hp.com>
To: Zsh Workers List <zsh-workers@sunsite.auc.dk>
Subject: Problem compiling 3.1.9 under HP-UX 10.20
Date: Thu, 15 Jun 2000 09:17:08 -0600 (MDT) [thread overview]
Message-ID: <14664.62324.943668.637973@hatchet.fc.hp.com> (raw)
Hi,
I've gotten zsh-3.1.9 to compile on my workstation, but only by
excluding zftp. The etc/MACHINES file doesn't state anything special
about HP-UX.
zsh configuration
-----------------
zsh version : 3.1.9
host operating system : hppa2.0-hp-hpux10.20
source code location : .
compiler : gcc
preprocessor flags :
executable compiler flags : -Wall -Wno-implicit -Wmissing-prototypes -O2
module compiler flags : -Wall -Wno-implicit -Wmissing-prototypes -O2 -fpic
executable linker flags : -s -Wl,-E
module linker flags : -s -b
library flags : -lcurses -lm -lc
installation basename : zsh
binary install path : /opt/zsh-3.1.9/bin
man page install path : /opt/zsh-3.1.9/man
info install path : /opt/zsh-3.1.9/info
functions install path : /opt/zsh-3.1.9/share/zsh/3.1.9/functions
installed functions : Core/* Base/* Builtins/* User/* Commands/* Debian/* Linux/* Bsd/* AIX/* X/* Zle/* Prompts/* Misc/* Zftp/*
gcc version 2.95.2 19991024 (release)
Results
-------
gcc -c -I. -DHAVE_CONFIG_H -DMODULE -Wall -Wno-implicit -Wmissing-prototypes -O2 -fpic -o zftp..o zftp.c
zftp.c: In function `getipnodebyname':
zftp.c:211: `h_errno' undeclared (first use in this function)
zftp.c:211: (Each undeclared identifier is reported only once
zftp.c:211: for each function it appears in.)
zftp.c: In function `gethostbyname2':
zftp.c:223: `h_errno' undeclared (first use in this function)
zftp.c: In function `zfgetline':
zftp.c:726: warning: variable `added' might be clobbered by `longjmp' or `vfork'
zftp.c:728: warning: variable `pcur' might be clobbered by `longjmp' or `vfork'
zftp.c:724: warning: argument `lnsize' might be clobbered by `longjmp' or `vfork'
zftp.c: In function `zftp_open':
zftp.c:1847: warning: argument `args' might be clobbered by `longjmp' or `vfork'
zftp.c: In function `zftp_local':
zftp.c:2619: warning: long int format, off_t arg (arg 2)
Looking on a Linux box, it looks like h_errno is declared in netdb.h.
My HP-UX version only defines that conditionally,
#ifdef _XOPEN_SOURCE_EXTENDED
extern int h_errno;
#endif
I will give that a try and see if I'm more successful. Perhaps that
define should be mentioned for HP-UX.
Please include me on any replies, as I'm not a member of zsh-workers.
Zsh 3.1.9 is an amazing piece of work, BTW!
Thanks,
Matt
--
Matthew Lovell
HP Technical Solutions Lab
mailto:lovell@fc.hp.com
next reply other threads:[~2000-06-15 15:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-15 15:17 Matthew Lovell [this message]
2000-07-03 17:49 ` Peter Stephenson
2000-07-07 5:38 ` Bart Schaefer
2000-07-07 13:28 ` Gene Cohler
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=14664.62324.943668.637973@hatchet.fc.hp.com \
--to=lovell@fc.hp.com \
--cc=zsh-workers@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).