From: Peter Bray <pbray@ind.tansu.com.au>
To: zsh-workers@math.gatech.edu
Cc: pbray@ind.tansu.com.au (Peter Bray)
Subject: zsh-2.6-beta17 : compiling on SCO - results
Date: Wed, 15 May 1996 12:15:43 +1000 (EST) [thread overview]
Message-ID: <199605150215.MAA11431@cod.ind.tansu.com.au> (raw)
Note : Not list member (zsh-workers)
Greetings,
I have grabbed beta17 and compiled it on
SunOS 4.1.3_U1
Solaris 2.4
Solaris 2.5
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'
In file included from system.h:219,
from zsh.h:35,
from builtin.c:32:
/usr/include/sys/select.h:41: redefinition of `struct timeval'
builtin.c: In function `bin_kill':
builtin.c:663: warning: left-hand operand of comma expression has no effect
builtin.c: In function `bin_pwd':
builtin.c:872: warning: left-hand operand of comma expression has no effect
builtin.c: In function `bin_dirs':
builtin.c:897: warning: left-hand operand of comma expression has no effect
builtin.c: In function `cd_new_pwd':
builtin.c:1242: warning: left-hand operand of comma expression has no effect
builtin.c: In function `printdirstack':
builtin.c:1271: warning: left-hand operand of comma expression has no effect
builtin.c:1274: warning: left-hand operand of comma expression has no effect
builtin.c: In function `printcompctl':
builtin.c:2212: warning: left-hand operand of comma expression has no effect
builtin.c:2215: warning: left-hand operand of comma expression has no effect
builtin.c:2255: warning: left-hand operand of comma expression has no effect
builtin.c:2259: warning: left-hand operand of comma expression has no effect
builtin.c:2272: warning: left-hand operand of comma expression has no effect
builtin.c:2279: warning: left-hand operand of comma expression has no effect
builtin.c:2282: warning: left-hand operand of comma expression has no effect
builtin.c:2287: warning: left-hand operand of comma expression has no effect
builtin.c:2308: warning: left-hand operand of comma expression has no effect
builtin.c:2311: warning: left-hand operand of comma expression has no effect
builtin.c: In function `printqt':
builtin.c:2336: warning: left-hand operand of comma expression has no effect
builtin.c: In function `fclist':
builtin.c:2631: warning: left-hand operand of comma expression has no effect
builtin.c: In function `bin_times':
builtin.c:5222: warning: left-hand operand of comma expression has no effect
builtin.c:5224: warning: left-hand operand of comma expression has no effect
builtin.c:5226: warning: left-hand operand of comma expression has no effect
builtin.c:5228: warning: left-hand operand of comma expression has no effect
builtin.c: In function `printquoted':
builtin.c:5531: warning: left-hand operand of comma expression has no effect
builtin.c:5534: warning: left-hand operand of comma expression has no effect
builtin.c:5536: warning: left-hand operand of comma expression has no effect
builtin.c:5537: warning: left-hand operand of comma expression has no effect
builtin.c:5539: warning: left-hand operand of comma expression has no effect
builtin.c:5545: warning: left-hand operand of comma expression has no effect
builtin.c:5548: warning: left-hand operand of comma expression has no effect
builtin.c:5549: warning: left-hand operand of comma expression has no effect
builtin.c:5552: warning: left-hand operand of comma expression has no effect
builtin.c:5556: warning: left-hand operand of comma expression has no effect
builtin.c:5557: warning: left-hand operand of comma expression has no effect
builtin.c:5561: warning: left-hand operand of comma expression has no effect
*** Error code 1
Stop.
*** Error code 1
Stop.
Now am not going to say that I know the cause of the problems, but the
fix which seemed to work for me is the following
In Src/Makefile change :
CFLAGS = -D__sco -Wall -Wno-implicit -Wmissing-prototypes -O2
to
CFLAGS = -D__sco -O2
this seems to get rid of the
warning: left-hand operand of comma expression has no effect
and in Src/system.h to comment out the following sections :
/* PDB Modification for SCO
#ifdef __sco
struct timezone {
short minutes;
};
#endif
*/
/* PDB Modification for SCO
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#endif
*/
It would seem that sys/select.h redefines timeval and that timezone is
already defined. I think that some a little more fundamental may be wrong
(ie the configure on SCO) but I thought I share these experiences to
hopely leave someone who knows what they are doing to investiage the real
problems.
Remember this is SCO 3.2v4.2
Regards,
Peter
------------------------------------------------------------------------------
Peter Bray: Intelligent Network Development Phone : (02) 395 3958
Network Technology Group - Telstra Fax : (02) 395 3225
Street : Lvl 9, Telecom Plaza, 320 Pitt St, Sydney Email :
Mail : Locked Bag 6581, GPO Sydney, NSW, 1100 pbray@ind.tansu.com.au
------------------------------------------------------------------------------
next reply other threads:[~1996-05-15 2:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-15 2:15 Peter Bray [this message]
1996-05-15 8:36 ` Jos Backus
1996-05-15 15:45 ` Zoltan Hidvegi
1996-05-15 18:03 ` Wayne Davison
1996-05-15 9:15 Joachim Reith
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=199605150215.MAA11431@cod.ind.tansu.com.au \
--to=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).