From: Kevin Sullivan <kevins@mediaone.net>
To: benjamin@cs.ualberta.ca
Cc: richard@connections.yk.ca, zsh-workers@math.gatech.edu
Subject: Re: Compile problems on HP-UX 11.00
Date: Fri, 23 Oct 1998 14:02:47 -0400 (EDT) [thread overview]
Message-ID: <13872.50268.527016.316992@drkstr> (raw)
In-Reply-To: <19981023173705Z13513-27162+173@scapa.cs.ualberta.ca>
I had the same problem however, I changed line Src/watch.c
from:
< # define ut_time ut_xtime
to:
> # define ut_time ut_tv.tv_sec
Again.. I am sure there is a better way. This is just what I
did.
-Kevin
benjamin@cs.ualberta.ca writes:
> I ran into the same thing with what I think is an HP-UX 10.20 machine.
> My solution was to comment out lines 88-98 in Src/watch.c .. not a
> great fix, but it eliminated the problem. Althought this machine has
> <utmpx.h>, struct utmpx (or for that matter, anything else!) doesn't
> have any definition of ut_xtime. However, since HP's aren't my primary
> machines, a simple hack made me happy enough.
>
> Hope this helps.. and maybe this can be fixed at some point..
>
> Ben
>
> Richard Whittaker said:
> > Hi there..
> >
> > I'm trying to compile ZSH on an HP-UX 11.00 machine with stock everything,
> > and I'm getting the following warnings with each .c files that the machine
> > tries to compile:
> >
> > cc -c -I. -DHAVE_CONFIG_H -O -o watch.o watch.c
> > cpp: "/usr/include/sys/stdsyms.h", line 15: warning 2001: Redefinition of
> > macro _INCLUDE_POSIX_SOURCE.
> > cpp: "/usr/include/sys/stdsyms.h", line 19: warning 2001: Redefinition of
> > macro _INCLUDE_XOPEN_SOURCE.
> > cpp: "/usr/include/sys/stdsyms.h", line 22: warning 2001: Redefinition of
> > macro _INCLUDE_HPUX_SOURCE.
> >
> >
> >
> > Then the whole works dies miserably with the following death message:
> >
> > cc: "watch.c", line 130: error 1588: "ut_xtime" undefined.
> > cc: "watch.c", line 130: error 1531: Invalid member of struct or union.
> > cc: "watch.c", line 144: error 1531: Invalid member of struct or union.
> > cc: "watch.c", line 144: error 1563: Expression in if must be scalar.
> > cc: "watch.c", line 158: error 1531: Invalid member of struct or union.
> > cc: "watch.c", line 417: error 1588: "ut_xtime" undefined.
> > cc: "watch.c", line 417: error 1531: Invalid member of struct or union.
> > cc: "watch.c", line 417: error 1531: Invalid member of struct or union.
> > cc: "watch.c", line 417: error 1563: Expression in if must be scalar.
> > cc: "watch.c", line 419: error 1531: Invalid member of struct or union.
> > cc: "watch.c", line 419: error 1531: Invalid member of struct or union.
> > *** Error exit code 1
> >
> > Stop.
> > *** Error exit code 1
> >
> > Stop.
> > *** Error exit code 1
> >
> > Stop.
> >
> > Has anyone run into this before?.. I tried a search of the list archives,
> > and have not found any references to HP-UX 11, which is why I'm resorting
> > to posting to the list..
> >
> > Any help would be much appreciated!
> >
> > Thanks,
> > Richard W.
> >
>
>
> --
> Ben Korvemaker
> benjamin@cs.ualberta.ca
> Friends help you move. Real friends help you move bodies.
>
next prev parent reply other threads:[~1998-10-23 18:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-23 16:59 Richard Whittaker
1998-10-23 17:37 ` benjamin
1998-10-23 18:02 ` Kevin Sullivan [this message]
1998-10-23 19:25 ` Kevin Sullivan
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=13872.50268.527016.316992@drkstr \
--to=kevins@mediaone.net \
--cc=benjamin@cs.ualberta.ca \
--cc=richard@connections.yk.ca \
--cc=zsh-workers@math.gatech.edu \
/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).