* Help with compiling 3.1.4 on HPUX 10.20
@ 1998-08-21 17:15 Matthew Lovell
1998-08-22 11:00 ` Chavdar Ivanov
0 siblings, 1 reply; 2+ messages in thread
From: Matthew Lovell @ 1998-08-21 17:15 UTC (permalink / raw)
To: Zsh User's List
Hi,
I grabbed zsh-3.1.4 earlier today and have tried compiling under both
gcc and HP's ansic. I seem to have some header problem, but I'm at
somewhat of a loss.
I would appreciated any help/advice you could offer.
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.
Thanks!
--
Matthew Lovell voice: (970) 898-6264
Hewlett-Packard FSL fax: (970) 898-2510
3404 E. Harmony Rd. MS A0 location: 3UR4
Fort Collins, CO 80528-9599 mailto:lovell@fc.hp.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Help with compiling 3.1.4 on HPUX 10.20
1998-08-21 17:15 Help with compiling 3.1.4 on HPUX 10.20 Matthew Lovell
@ 1998-08-22 11:00 ` Chavdar Ivanov
0 siblings, 0 replies; 2+ messages in thread
From: Chavdar Ivanov @ 1998-08-22 11:00 UTC (permalink / raw)
To: Matthew Lovell; +Cc: Zsh User's List
On Fri, 21 Aug 1998, Matthew Lovell wrote:
> Hi,
>
> I grabbed zsh-3.1.4 earlier today and have tried compiling under both
> gcc and HP's ansic. I seem to have some header problem, but I'm at
> somewhat of a loss.
>
> I would appreciated any help/advice you could offer.
>
> 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.
>
> Thanks!
>
> --
>
> Matthew Lovell voice: (970) 898-6264
> Hewlett-Packard FSL fax: (970) 898-2510
> 3404 E. Harmony Rd. MS A0 location: 3UR4
> Fort Collins, CO 80528-9599 mailto:lovell@fc.hp.com
>
>
I had this a few months ago when I first got 3.1.4 compiled under HP-UX
10.20; I do not remember what did I do at the time; I suspect I just used
gcc instead of HP cc ; I don't quite managed to grasp the sequence of
#if's and #defines just before the redefinition of ut_time as ut_xtime;
however, brute
#undef REAL_UTMPX_FILE
before
#if !defined(WATCH_STRUCT_UTMP) && defined(REAL_UTMPX_FILE) &&
defined(HAVE_STRUCT_UTMPX)
sorted the problem for me. ( I haven't tested the functionality provided
by this part of the shell, though; it seems to work OK. )
Also I can't fathom why when I compiled zsh-3.1.4 today for this test both
with gcc 2.8.1 and cc, I got over 700k stripped executables, while on the
1st of June my executable was just 548k...
-------------------------that's my version of the compiler-----------
marge# what /usr/bin/cc
/tmp/zsh-3.1.4/Src
/usr/bin/cc:
LINT A.10.32.16 CXREF A.10.32.16
HP92453-01 A.10.32.17 HP C Compiler
/usr/lib/libc: $Revision: 76.3 $
--------------------------------------------------------------------
Regards,
Chavdar Ivanov | Talbot Way, Small Heath Business Park
Delcam UK Limited | Birmingham B10 0HJ, United Kingdom
Customer Support Dept. | (+44)121-6831014
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-08-22 11:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-21 17:15 Help with compiling 3.1.4 on HPUX 10.20 Matthew Lovell
1998-08-22 11:00 ` Chavdar Ivanov
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).