zsh-workers
 help / color / mirror / code / Atom feed
From: Joachim Reith <joachimr@sco.COM>
To: zsh-workers@math.gatech.edu
Cc: pbray@ind.tansu.com.au
Subject: RE: zsh-2.6-beta17 : compiling on SCO - results
Date: Wed, 15 May 1996 10:15:09 +0100 (MET)	[thread overview]
Message-ID: <9605151015.aa04982@tedesco.london.sco.com> (raw)

Hello,

I have the same problem described by Peter, but
on sco3.2v5.0.2 (newer version).

./configure gives me

zsh configuration
-----------------
zsh version           : 2.6-beta17
host operating system : sco3.2v5.0.2
source code location  : .
compiler              : gcc
compiler flags        : -D__sco  -Wall -Wno-implicit -Wmissing-prototypes -O2
binary install path   : /usr/local/bin
man page install path : /usr/local/man
info install path     : /usr/local/info

the compilation runs until:

        gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -D__sco  -Wall -Wno-implicit -Wmiss
ing-prototypes -O2 builtin.c
In file included from zsh.h:35,
                 from builtin.c:32:
system.h:114: redefinition of `struct timezone'
*** Error code 1 (bu21)

If I comment out the struct timezone in system.h
(same as Peter):

tedesco@Src> diff system.h system.h-
113c113
< /* #ifdef __sco
---
> #ifdef __sco
117c117
< #endif */
---
> #endif


the compilation runs without any error.


P.S.: gcc --version  2.7-95q4
I don't have problems with 
CFLAGS   = -D__sco  -Wall -Wno-implicit -Wmissing-prototypes -O2



|>		SCO 3.2v4.2 (Pentium/EISA/1 CPU)
|>
|>	with ./configure --prefix=/opt/utils using gcc 2.7.2
|>
|>	The Sun based platforms as expected compile without problem,
|>but as is usual SCO is another matter.
|>
|>zsh configuration
|>-----------------
|>zsh version           : 2.6-beta17
|>host operating system : sco3.2v4.2
|>source code location  : .
|>compiler              : gcc
|>compiler flags        : -D__sco  -Wall -Wno-implicit -Wmissing-prototypes -O2
|>binary install path   : /opt/utils/bin
|>man page install path : /opt/utils/man
|>info install path     : /opt/utils/info
|>
|>Unfortunately this gives the following when compiling
|>
|>        gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -D__sco  -Wall -Wno-implicit -Wmissing-prototypes -O2 
builtin.c
|>In file included from zsh.h:35,
|>                 from builtin.c:32:
|>system.h:114: redefinition of `struct timezone'
|>
|> ... stuff deleted



             reply	other threads:[~1996-05-15  9:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-15  9:15 Joachim Reith [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-05-15  2:15 Peter Bray
1996-05-15  8:36 ` Jos Backus
1996-05-15 15:45 ` Zoltan Hidvegi
1996-05-15 18:03 ` Wayne Davison

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9605151015.aa04982@tedesco.london.sco.com \
    --to=joachimr@sco.com \
    --cc=pbray@ind.tansu.com.au \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).