[comp.sources.d] Problem compiling bash-1.03

smith@compound.se (Bj|rn Smith) (05/31/91)

I am having problems compiling bash-1.03.

The environment is Xenix 2.3.2 and gcc.
In builtins.c there is a call to wait_for_single_pid() which is a
part of jobs.c.

Since Xenix is a SystemV (look alike) it is compiled with JOB_CONTROL
undefined. That will result in a inclusion of the file nojobs.c in the
beginning of jobs.c and an exclusion of the code section containing
the function wait_for_single_pid().

When linking there will be a unresolved external wait_for_single_pid
since it is unconditionaly refered in builtins.c.

Can anyone familiar with the code indicate how it is ment to be ?


Thanks in advance for any help !

--
Bj|rn Smith	Compound Systems, phone +46 8 7923689
UUCP:	 	{uunet,mcsun}!sunic!comsys!smith
Internet:	smith@compound.se