From: Vin Shelton <shelton@icd.teradyne.com>
To: "Bart Schaefer" <schaefer@candle.brasslantern.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: Make Failure on SunOS-4.1
Date: 25 Apr 2001 10:29:01 -0400 [thread overview]
Message-ID: <545y9spyrwy.fsf@icd.teradyne.com> (raw)
In-Reply-To: <1010425041307.ZM10317@candle.brasslantern.com>
"Bart Schaefer" <schaefer@candle.brasslantern.com> writes:
> First, just to cover all the bases: Did you remove config.cache and re-run
> Util/preconfig before running configure?
>
Of course. I build in separate objdirs for SunOS-4.1 and SunOS-5.5.
After receiving your message, I created a new directory and started
from scratch just to be sure, and the problem remains.
> If you did the configure cleanly and still are getting those errors, try
> replacing
>
> # if defined(HAVE_CURSES_H) && defined(HAVE_TERM_H)
> # ifdef HAVE_TERMIO_H
> # include <termio.h>
> # endif
>
> with
>
> # if defined(HAVE_CURSES_H) && defined(HAVE_TERM_H)
> # ifdef VINTR
> # undef VINTR
> # endif
> # ifdef offsetof
> # undef offsetof
> # endif
>
> in Src/Modules/termcap.c. However, this part worries me:
>
> } /u/shelton/new/src/zsh-2001-04-24/Src/Modules/termcap.c: In function `bin_echotc':
> } /u/shelton/new/src/zsh-2001-04-24/Src/Modules/termcap.c:100: warning: assignment makes pointer from integer without a cast
>
> That's tgetstr(), which should have been declared somewhere. I suspect
> perhaps that the `defined(HAVE_CURSES_H) && defined(HAVE_TERM_H)' test
> is inadequate.
You worry was well placed. After making the proposed change, here's
what happened:
make[3]: Leaving directory `/tmp_mnt/u/shelton/new/build/SunOS-4.1/zsh-2001-04-24-new/Src/Builtins'
make[3]: Entering directory `/tmp_mnt/u/shelton/new/build/SunOS-4.1/zsh-2001-04-24-new/Src/Modules'
echo '' parameter.o | sed 's" " Modules/"g' >> ../../Src/stamp-modobjs.tmp
gcc -c -I. -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -o termcap.o ../../../../../src/zsh-2001-04-24/Src/Modules/termcap.c
In file included from /usr/include/sgtty.h:6,
from /u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/curses.h:20,
from ../../../../../src/zsh-2001-04-24/Src/Modules/termcap.c:54:
/usr/include/sys/ioctl.h:23: warning: `ECHO' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:169: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:30: warning: `NL0' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:116: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:31: warning: `NL1' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:117: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:35: warning: `TAB0' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:124: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:36: warning: `TAB1' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:125: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:37: warning: `TAB2' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:126: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:38: warning: `XTABS' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:127: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:40: warning: `CR0' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:119: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:41: warning: `CR1' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:120: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:42: warning: `CR2' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:121: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:43: warning: `CR3' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:122: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:45: warning: `FF0' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:136: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:46: warning: `FF1' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:137: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:48: warning: `BS0' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:130: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:49: warning: `BS1' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:131: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:57: warning: `TOSTOP' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:174: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:58: warning: `FLUSHO' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:189: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:64: warning: `PENDIN' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:190: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:66: warning: `NOFLSH' redefined
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:173: warning: this is the location of the previous definition
In file included from ../../../../../src/zsh-2001-04-24/Src/Modules/termcap.c:54:
/u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/curses.h:54: `DO' redeclared as different kind of symbol
../../Src/../../../../src/zsh-2001-04-24/Src/zsh.h:211: previous declaration of `DO'
../../../../../src/zsh-2001-04-24/Src/Modules/termcap.c: In function `bin_echotc':
../../../../../src/zsh-2001-04-24/Src/Modules/termcap.c:103: warning: assignment makes pointer from integer without a cast
make[3]: *** [termcap.o] Error 1
make[3]: Leaving directory `/tmp_mnt/u/shelton/new/build/SunOS-4.1/zsh-2001-04-24-new/Src/Modules'
make[2]: *** [modobjs] Error 1
make[2]: Leaving directory `/tmp_mnt/u/shelton/new/build/SunOS-4.1/zsh-2001-04-24-new/Src'
make[1]: *** [modobjs] Error 2
make[1]: Leaving directory `/tmp_mnt/u/shelton/new/build/SunOS-4.1/zsh-2001-04-24-new/Src'
make: *** [all] Error 1
I'm sorry I don't have time at work right now to investigate further,
but if there are any further experiments people need to have run, I
will try to oblige.
HTH,
vin
next prev parent reply other threads:[~2001-04-25 14:15 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-24 19:43 Vin Shelton
2001-04-25 4:13 ` Bart Schaefer
2001-04-25 9:55 ` Peter Stephenson
2001-04-25 14:41 ` Bart Schaefer
2001-04-25 14:57 ` Clint Adams
2001-04-25 14:29 ` Vin Shelton [this message]
2001-04-25 14:58 ` Bart Schaefer
2001-04-25 18:03 ` Vin Shelton
2001-04-26 4:27 ` Bart Schaefer
2001-04-26 4:35 ` Make Failure on SunOS-4.1 (correction) Bart Schaefer
2001-04-26 12:50 ` Vin Shelton
2001-04-26 13:06 ` Or on ReliantUNIX ... " Andrej Borsenkow
2001-04-26 13:15 ` Clint Adams
2001-04-26 13:25 ` Andrej Borsenkow
2001-04-26 13:30 ` Clint Adams
2001-04-26 14:02 ` Andrej Borsenkow
2001-04-26 14:20 ` Clint Adams
2001-04-26 14:35 ` Bart Schaefer
2001-04-26 14:52 ` Andrej Borsenkow
2001-04-26 14:58 ` Clint Adams
2001-04-26 15:32 ` Bart Schaefer
2001-04-26 15:52 ` Clint Adams
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=545y9spyrwy.fsf@icd.teradyne.com \
--to=shelton@icd.teradyne.com \
--cc=schaefer@candle.brasslantern.com \
--cc=zsh-workers@sunsite.dk \
/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).