Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Compile problems on HP-UX 11.00
- X-seq: zsh-workers 4442
- From: benjamin@xxxxxxxxxxxxxx
- To: richard@xxxxxxxxxxxxxxxxx (Richard Whittaker)
- Subject: Re: Compile problems on HP-UX 11.00
- Date: Fri, 23 Oct 1998 11:37:03 -0600 (MDT)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <3.0.6.32.19981023095925.007fa480@xxxxxxxxxxxxxxxxxxxxxx> from Richard Whittaker at "Oct 23, 1998 9:59:25 am"
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@xxxxxxxxxxxxxx
Friends help you move. Real friends help you move bodies.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author