[gnu.bash.bug] Bash 1.03 and SUN O/S 4.0.3

apple@nprdc.navy.mil (Jim Apple) (10/19/89)

	Hi

		Has anyone got bash 1.03 running on a SUN 3 / SUNOS 4.0.3 ??

1.	I've run into alot of problems trying to compile with SUNOS4
	defined.
	
	first was 


cc  -DMAINTAINER='"apple@nprdc.navy.mil"' -DPPROMPT='"bash\\$ "' -DSPROMPT='"bash>"' -DOS_NAME='"SUNOS4"' -DSYSTEM_NAME='"SUN3"'  -g -Bstatic -DSUN3 -DTARGET=SUN3 -DSUNOS4 -I./ -c shell.c
"shell.c", line 823: redeclaration of throw_to_top_level
*** Error code 1

	this was a problem in how throw_to_top_level was declared in 
	quit.h and then used in shell.c.  I got around this one but 
	now I've got

	
cc  -c  -g -Bstatic -DSUN3 -DTARGET=SUN3 -DSUNOS4 -I./ print_cmd.c
"print_cmd.c", line 123: AND_AND undefined
"print_cmd.c", line 123: non-constant case expression
"print_cmd.c", line 129: OR_OR undefined
"print_cmd.c", line 129: non-constant case expression
*** Error code 1
make: Fatal error: Command failed for target `print_cmd.o'

	I haven't really looked at this one yet, I was hoping maybe
	someone had a set of patchs for 4.0.3.


2.	The other problem I found was when I upgraded from 3.5 to 4.0.3
	the old 3.5 version of bash started up,  this ( after 30 sec's or so )
	caused.


ct 18 09:52:28 seashore vmunix: panic: chgstropts: can't allocate stroptions message
Oct 18 09:52:28 seashore vmunix: syncing file systems... done
Oct 18 09:52:28 seashore vmunix:
Oct 18 09:52:28 seashore vmunix: dumping to vp f1b3a8c, offset 71323


	I thought at first that this was probally caused by using the
	3.5 copy of bash under 4.0.3,  but in another newsgroup today
	a saw a posting about the same error message on a SUN 4 running
	4.0.3 ?? ( I don't know if person was able to recompile or not ).


Any help would be great.
	

Thanks in advance ..

	Jim Apple WB1DOG

	apple@nprdc.navy.mil
	...}ucsd!nprdc!apple