Hi
I'm a man with problem when compile elks-0.0.75.

Yesterday I show my error message, and Blaz Antonic advised (thank you)
>First, do not use any of direct drivers. Use BIOS HD and FD driver.

I tried as he said, but I still have the same error message.

So I attach 'autoconf.h' and error message as when error occured.


**********************************************************************
autoconf.h
**********************************************************************
/*
 * Automatically generated C config: don't edit
 */
#define AUTOCONF_INCLUDED

/*
 * Just accept the defaults unless you know what you are doing
 */

/*
 * General setup
 */
#undef  CONFIG_ARCH_AUTO
#undef  CONFIG_XT
#define CONFIG_AT 1
#undef  CONFIG_MODULE
#undef  CONFIG_COMPAQ_FAST

/*
 * 286 protected mode support
 */
#undef  CONFIG_286PMODE

/*
 * Kernel hacking
 */
#undef  CONFIG_STRACE
#undef  CONFIG_OPT_SMALL

/*
 * Character device drivers
 */

/*
 * Select a console driver
 */
#undef  CONFIG_CONSOLE_DIRECT
#define CONFIG_CONSOLE_BIOS 1
#undef  CONFIG_BIOS_VT52
#undef  CONFIG_CONSOLE_SERIAL

/*
 * Other character devices
 */
#define CONFIG_CHAR_DEV_MEM 1
#define CONFIG_CHAR_DEV_RS 1
#define CONFIG_CHAR_DEV_LP 1
#define CONFIG_DEV_META 1

/*
 * Block device drivers
 */
#define CONFIG_BLK_DEV_BIOS 1
#define CONFIG_BLK_DEV_BFD 1
#define CONFIG_BLK_DEV_BHD 1
#undef  CONFIG_BLK_DEV_FD
#undef  CONFIG_BLK_DEV_HD
#undef  CONFIG_DMA

/*
 * Additional block devices
 */
#undef  CONFIG_BLK_DEV_RAM
#undef  CONFIG_BLK_DEV_XD

/*
 * Filesystems
 */
#define CONFIG_MINIX_FS 1
#undef  CONFIG_ROMFS_FS
#define CONFIG_ELKSFS_FS 1

/*
 * General filesystem settings
 */
#undef  CONFIG_FULL_VFS
#define CONFIG_PIPE 1
#undef  CONFIG_FS_RO

/*
 * Executable file formats
 */
#define CONFIG_EXEC_MINIX 1
#undef  CONFIG_EXEC_MSDOS

/*
 * Networking
 */
#undef  CONFIG_SOCKET
**********************************************************************
End of autoconf.h
**********************************************************************





**********************************************************************
error message
**********************************************************************
(cd kernel; make)
make[1]: Entering directory `/usr/src/elks/kernel'
make[1]: `kernel.a' is up to date.
make[1]: Leaving directory `/usr/src/elks/kernel'
(cd fs; make)
make[1]: Entering directory `/usr/src/elks/fs'
make[1]: `fs.a' is up to date.
make[1]: Leaving directory `/usr/src/elks/fs'
(cd lib; make)
make[1]: Entering directory `/usr/src/elks/lib'
make[1]: `lib.a' is up to date.
make[1]: Leaving directory `/usr/src/elks/lib'
(cd net; make)
make[1]: Entering directory `/usr/src/elks/net'
make[1]: `net.a' is up to date.
make[1]: Leaving directory `/usr/src/elks/net'
(cd arch/i86/kernel; make)
make[1]: Entering directory `/usr/src/elks/arch/i86/kernel'
make[1]: `akernel.a' is up to date.
make[1]: Leaving directory `/usr/src/elks/arch/i86/kernel'
(cd arch/i86/lib; make)
make[1]: Entering directory `/usr/src/elks/arch/i86/lib'
make[1]: `lib86.a' is up to date.
make[1]: Leaving directory `/usr/src/elks/arch/i86/lib'
(cd arch/i86/mm; make)
make[1]: Entering directory `/usr/src/elks/arch/i86/mm'
make[1]: `mm.a' is up to date.
make[1]: Leaving directory `/usr/src/elks/arch/i86/mm'
(cd fs/minix; make)
make[1]: Entering directory `/usr/src/elks/fs/minix'
make[1]: `minixfs.a' is up to date.
make[1]: Leaving directory `/usr/src/elks/fs/minix'
(cd fs/elksfs; make)
make[1]: Entering directory `/usr/src/elks/fs/elksfs'
make[1]: `elksfs.a' is up to date.
make[1]: Leaving directory `/usr/src/elks/fs/elksfs'
(cd arch/i86/drivers/char; make)
make[1]: Entering directory `/usr/src/elks/arch/i86/drivers/char'
make[1]: `chr_drv.a' is up to date.
make[1]: Leaving directory `/usr/src/elks/arch/i86/drivers/char'
(cd arch/i86/drivers/block; make)
make[1]: Entering directory `/usr/src/elks/arch/i86/drivers/block'
bcc -0 -I../../../../include  -D__KERNEL__ -O \
-0 -c -o directhd.o directhd.c
00276                                           mov word ptr
-6[bp],#_io_ports[bx]
***** illegal indirect to
indirect....................................................^
00366                                           mov word ptr
-$E[bp],#_io_ports[bx]
***** illegal indirect to
indirect.....................................................^
01141                                           mov word ptr
-$20[bp],#_io_ports[bx]
***** illegal indirect to
indirect......................................................^
00276                                           mov word ptr
-6[bp],#_io_ports[bx]
***** illegal indirect to
indirect....................................................^
00366                                           mov word ptr
-$E[bp],#_io_ports[bx]
***** illegal indirect to
indirect.....................................................^
01141                                           mov word ptr
-$20[bp],#_io_ports[bx]
***** illegal indirect to
indirect......................................................^

00003 errors
00000 warnings
make[1]: Leaving directory `/usr/src/elks/arch/i86/drivers/block'
**********************************************************************
End of error message
**********************************************************************


Reply via email to