cann't build BASH on XENIX 386 2.3.2

Lieh-Wen Shih lshih at gmuvax2.gmu.edu
Fri Mar 15 12:45:41 AEST 1991


Hi, Xenix folks, has anyone successfully built bash-1.05 on Xenix 386
2.3.2 + Dev. Sys. 2.3.1?  I have tried two days but with no luck.
Following are the error messages :

		make -f bash-Makefile
		gcc -DMAINTAINER='"root"' -DPPROMPT='"bash\\$ "'
		-DSPROMPT='"bash>"' -DOS_NAME='""Xenix""'
		-DSYSTEM_NAME='"i386"' -DINITIALIZE_SIGLIST -g
		-D"i386" -D"Xenix"  -I./ -c shell.c
	/usr/include/setjmp.h:46: warning: _JBLEN redefined
	shell.c: In function make_bug_report:
	shell.c:1020: parse error before `1'
	*** Error code 1

	Stop.
	*** Error code 1

	Stop.

I've checked shell.c and line 1020 is :

	login_shell ? "" : "not ", SYSTEM_NAME, OS_NAME);

After I hard-coded "i386" & "Xenix386" and took out SYSTEM_NAME &
OS_NAME, it then compiled OK.  Then I gave it a try, "./bash",
it core dumpped with error message:

	Memory fault, core dump.

Could someone help me?  I was using GCC 1.37.1 and BISON.   Thanks in
advance.

levin
lshih at gmuvax2.gmu.edu



More information about the Comp.unix.sysv386 mailing list