Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Make Failure on SunOS-4.1
- X-seq: zsh-workers 14086
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Vin Shelton <shelton@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: Re: Make Failure on SunOS-4.1
- Date: Wed, 25 Apr 2001 04:13:07 +0000
- In-reply-to: <54566fu13tt.fsf@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <54566fu13tt.fsf@xxxxxxxxxxxxxxxx>
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 <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.
--
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author