zsh-users
 help / color / mirror / code / Atom feed
* Problems compiling on HPUX 10.20
@ 2001-11-22 14:31 Alisdair McDiarmid
  0 siblings, 0 replies; 2+ messages in thread
From: Alisdair McDiarmid @ 2001-11-22 14:31 UTC (permalink / raw)
  To: zsh-users

Using either the HPUX ANSI C compiler or GCC 3.0.2, I have the
following problem when compiling zsh 4.0.4 on HPUX 10.20:

cc -Ae -c -I.  -DHAVE_CONFIG_H -O  -o termcap.o termcap.c
cc: "/usr/include/term.h", line 535: error 1000: Unexpected symbol: "SGTTY".
cc: "/usr/include/term.h", line 536: error 1000: Unexpected symbol: "SGTTY".
cc: "/usr/include/term.h", line 535: error 1573: Type of "Ottyb" is undefined due to an illegal declaration.
cc: "/usr/include/term.h", line 535: error 1578: Size of struct or union member is unknown.
cc: "/usr/include/term.h", line 536: error 1573: Type of "Nttyb" is undefined due to an illegal declaration.
cc: "/usr/include/term.h", line 536: error 1578: Size of struct or union member is unknown.
cc: "termcap.c", line 134: warning 527: Integral value implicitly converted to pointer in assignment.
cc: "termcap.c", line 270: warning 527: Integral value implicitly converted to pointer in assignment.
*** Error exit code 1

Stop.

Does anyone have any suggestions on how to fix this?

Thanks in advance,
-- 
Alisdair McDiarmid               <URL:http://wasters.org/pubkey.asc>
GnuPG fingerprint: F521 3094 5658 1C66 96B1 1B95 025D D4EA 53F4 5D7D


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Problems compiling on HPUX 10.20
@ 1996-10-09  0:31 Jan Martin
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Martin @ 1996-10-09  0:31 UTC (permalink / raw)
  To: zsh-users

Hi all,

I must be doing something stupid, but has anyone successfully compiled
zsh using the HPUX ANSI C compiler?  Now that the cpp problem has been
fixed, I get about 160 warnings and errors from the compiler, and then
it exits.  There are lots of warnings about
"Integral value implicitly converted to pointer in assignment"

and about 30 errors like:

cc: "builtin.c", line 344: error 1588: "strpcmp" undefined.
cc: "builtin.c", line 344: error 1588: "invstrpcmp" undefined.
cc: "builtin.c", line 962: error 1588: "freestr" undefined.
cc: "builtin.c", line 2470: error 1647: Illegal integer-pointer
 combination for second and third operands of conditional expression (?:).
cc: "builtin.c", line 4047: error 1584: Inconsistent type declaration: "showlimits".
cc: "builtin.c", line 4097: error 1584: Inconsistent type declaration: "printulimit".

Has anyone else seen these errors? Is there a switch in the
compiler I need to include, or a patch for a compiler bug?
I just compiled using CC=cc and CFLAGS="-Aa -D_HPUX_SOURCE".  Same result for CFLAGS=-Ae.

Ideas?  Many thanks for any help. (I'm kind of surprised I'm having this
difficulty, since always before with the HPUX cc, I've had no problems with zsh)

-jmm 


**********************************************************
 Jan M. Martin                  Jet Propulsion Laboratory
 jmm@herakles.jpl.nasa.gov      M/S 300-235
**********************************************************


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-22 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-22 14:31 Problems compiling on HPUX 10.20 Alisdair McDiarmid
  -- strict thread matches above, loose matches on Subject: below --
1996-10-09  0:31 Jan Martin

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).