From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18366 invoked from network); 23 Oct 1998 18:07:23 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 23 Oct 1998 18:07:23 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id NAA27584; Fri, 23 Oct 1998 13:59:27 -0400 (EDT) Resent-Date: Fri, 23 Oct 1998 13:59:27 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 23 Oct 1998 14:02:47 -0400 (EDT) From: Kevin Sullivan To: benjamin@cs.ualberta.ca Cc: richard@connections.yk.ca, zsh-workers@math.gatech.edu Subject: Re: Compile problems on HP-UX 11.00 In-Reply-To: <19981023173705Z13513-27162+173@scapa.cs.ualberta.ca> References: <3.0.6.32.19981023095925.007fa480@mail.connections.yk.ca> <19981023173705Z13513-27162+173@scapa.cs.ualberta.ca> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13872.50268.527016.316992@drkstr> Resent-Message-ID: <"5TUaV2.0.uk6._FCCs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4444 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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 > , 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. >