Giles Russell writes:
>
> This is a multi-part message in MIME format.
> --------------B76C0329EA695676D8EBA69F
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Ok, I have a problem on compiling ELKS,
>
> The error I get is :
>
> make[1]: Entering directory `/home/evil/elks/81/elks/fs'
> bcc -D__KERNEL__ -O -I../include \
> -0 -c -o exec.o exec.c
> exec.c:173.31: error: mh undeclared
> exec.c:173.35: error: undefined structure element
>
> This seems to be linked with the minix fs, and is very easy to create by
> asking the 'make config' to create an image with minixfs enabled
> (CONFIG_MINIX_FS) but not allowing CONFIG_EXEC_MINIX.
The problem is that you have support for MSDOS binaries enabled. This code
is not complete, and will cause this bug during compilation.
When installing a new version it is best just to give the default answers
to all the config questions. If you want to do this again from scratch,
do a 'make distclean ; make config'.
Al