From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18214 invoked from network); 23 Oct 1998 17:40:42 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 23 Oct 1998 17:40:42 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id NAA26186; Fri, 23 Oct 1998 13:33:31 -0400 (EDT) Resent-Date: Fri, 23 Oct 1998 13:33:31 -0400 (EDT) Subject: Re: Compile problems on HP-UX 11.00 In-Reply-To: <3.0.6.32.19981023095925.007fa480@mail.connections.yk.ca> from Richard Whittaker at "Oct 23, 1998 9:59:25 am" From: benjamin@cs.ualberta.ca To: richard@connections.yk.ca (Richard Whittaker) Date: Fri, 23 Oct 1998 11:37:03 -0600 (MDT) Cc: zsh-workers@math.gatech.edu X-Mailer: ELM [version 2.4ME+ PL47 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <19981023173705Z13513-27162+173@scapa.cs.ualberta.ca> Resent-Message-ID: <"4oSzY.0.2P6.gtBCs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4442 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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 , 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.