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.

I have added my .config file.

Someone please help, I have spent two days solid trying to compile this
and I still have to work out how to get it into EPROM :/

Cheers
G
#
# Automatically generated make config: don't edit
#

#
# Just accept the defaults unless you know what you are doing
#

#
# General setup
#
# CONFIG_ARCH_AUTO is not set
CONFIG_XT=y
# CONFIG_AT is not set
CONFIG_MODULE=y
CONFIG_SHLIB=y
# CONFIG_COMPAQ_FAST is not set

#
# 286 protected mode support
#
# CONFIG_286PMODE is not set

#
# Kernel hacking
#
# CONFIG_STRACE is not set
CONFIG_OPT_SMALL=y

#
# Character device drivers
#

#
# Select a console driver
#
CONFIG_CONSOLE_DIRECT=y
# CONFIG_DCON_VT52 is not set
# CONFIG_BE_KEYMAP is not set
# CONFIG_FR_KEYMAP is not set
CONFIG_UK_KEYMAP=y
# CONFIG_ES_KEYMAP is not set
# CONFIG_DE_KEYMAP is not set
# CONFIG_DEFAULT_KEYMAP is not set
CONFIG_CONSOLE_BIOS=y
# CONFIG_BIOS_VT52 is not set
CONFIG_CONSOLE_SERIAL=y
CONFIG_CHAR_DEV_RS=y

#
# Other character devices
#
CONFIG_CHAR_DEV_MEM=y
CONFIG_PSEUDO_TTY=y
CONFIG_CHAR_DEV_LP=y
# CONFIG_DEV_META is not set

#
# Block device drivers
#
CONFIG_BLK_DEV_BIOS=y
# CONFIG_BLK_DEV_BFD is not set
# CONFIG_BLK_DEV_BHD is not set
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_HD=y
CONFIG_DMA=y

#
# Additional block devices
#
# CONFIG_BLK_DEV_RAM is not set
CONFIG_BLK_DEV_XD=y

#
# Block device options
#
CONFIG_BLK_DEV_CHAR=y

#
# Filesystems
#
CONFIG_MINIX_FS=y
# CONFIG_ROMFS_FS=y
#CONFIG_ELKSFS_FS=y

#
# General filesystem settings
#
CONFIG_FULL_VFS=y
CONFIG_PIPE=y
CONFIG_FS_RO=y

#
# Executable file formats
#
CONFIG_EXEC_MINIX=y
CONFIG_EXEC_MSDOS=y

#
# Networking
#
CONFIG_SOCKET=y
CONFIG_UNIX=y
CONFIG_NANO=y
CONFIG_INET=y

#
#   Advance socket options
#
CONFIG_SOCK_CLIENTONLY=y
CONFIG_SOCK_STREAMONLY=y

Reply via email to