Discussion:
[ast-developers] compilation problem without BASH option
David A.D. Morano, PE, PhD
2015-04-22 19:15:01 UTC
Permalink
Hello,

I found a compilation problem (among many).
When compiling without the BASH option turned ON (SHOPT_BASH), the
compile fails with the error that the variable SH_LASTPIPE is not
found. This (SH_LASTPIPE) is a #define that is only defined when
the BASH compilation option is in effect. The file containing this
stray reference to SH_LASTPIPE is:

sh/xec.c

I temporarily handled this (without knowning yet what will happen)
by changing the file:

defs.h

to always define SH_LASTPIPE regardless of the BASH option
(SHOPT_MASH).

Do I have to actually compile in BASH in order to get a good
compilation?

Thanks,

----

David A. Morano, PE, PhD
***@computer.org

Loading...