From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26765 invoked from network); 25 Apr 2001 04:14:52 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 25 Apr 2001 04:14:52 -0000 Received: (qmail 19352 invoked by alias); 25 Apr 2001 04:14:32 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14086 Received: (qmail 19339 invoked from network); 25 Apr 2001 04:14:31 -0000 From: "Bart Schaefer" Message-Id: <1010425041307.ZM10317@candle.brasslantern.com> Date: Wed, 25 Apr 2001 04:13:07 +0000 In-Reply-To: <54566fu13tt.fsf@icd.teradyne.com> Comments: In reply to Vin Shelton "Make Failure on SunOS-4.1" (Apr 24, 3:43pm) References: <54566fu13tt.fsf@icd.teradyne.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Vin Shelton , zsh-workers@sunsite.dk Subject: Re: Make Failure on SunOS-4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 24, 3:43pm, Vin Shelton wrote: } } Using the latest CVS sources, I can build fine against SunOS-5.5, but } building under 4.1 gives me the following errors: First, just to cover all the bases: Did you remove config.cache and re-run Util/preconfig before running configure? } gcc -c -I. -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -o termcap.o /u/shelton/new/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 /u/shelton/new/src/zsh-2001-04-24/Src/Modules/termcap.c:51: } /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 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 # 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. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net