Hi, my name is Scott, and I'm a newbie. :)

I'm trying out ELKS 0.0.77. The images supplied worked fine when
I put booted them in my 286. Very cool.
    Now I'm trying to compile it. I think I followed the directions
and didn't change any default configurations. However, it won't
compile for some reason.. I'll explain the errors.

(First try, from my make log.. )

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
make[1]: Entering directory `/usr/src/elks/fs'
bcc -D__KERNEL__ -O -I../include  \
-0 -c -o filesystems.o filesystems.c
../include/linuxmt/elksfs_fs.h:36.63 (from filesystems.c:15):
warning: redefined macro
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

(I checked that, but it doesn't seem harmful (true?).
 And, it wasn't a show-stopper, so.... continuing on.. )

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
make[1]: Entering directory `/usr/src/elks/arch/i86/drivers/block'
bcc -0 -I../../../../include  -D__KERNEL__ -O \
-0 -c -o rd.o rd.c
rd.c:129.33: error: undefined structure element
rd.c:132.40: error: undefined structure element
rd.c:149.18: error: undefined structure element
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

(I changed CURRENT->dev, etc., to CURRENT->rq_dev, etc., because
 that's the only thing I could see to do. After changing those,
 I tried to make it again, but I got the following link errors.. )

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
ar rcs blk_drv.a genhd.o doshd.o ll_rw_blk.o rd.o floppy.o directhd.o 
make[1]: Leaving directory `/usr/src/elks/arch/i86/drivers/block'
ld86 -0 -i arch/i86/boot/crt0.o arch/i86/boot/crt1.o init/main.o \
kernel/kernel.a fs/fs.a lib/lib.a net/net.a arch/i86/kernel/akernel.a \
arch/i86/lib/lib86.a arch/i86/mm/mm.a fs/minix/minixfs.a fs/romfs/    \
romfs.a fs/elksfs/elksfs.a \
arch/i86/drivers/char/chr_drv.a arch/i86/drivers/block/blk_drv.a \
 \
 \
-t -M -o arch/i86/tools/system > System.map
ld86: warning: _wait_for_keypress redefined in file arch/i86/drivers/ \
char/chr_drv.a(xt_key.o); using definition in arch/i86/drivers/char/  \
chr_drv.a(serial.o)
ld86: warning: _init_console redefined in file arch/i86/drivers/char/ \
chr_drv.a(dircon.o); using definition in arch/i86/drivers/char/       \
chr_drv.a(serial.o)
ld86: warning: _con_charout redefined in file arch/i86/drivers/char/  \
chr_drv.a(dircon.o); using definition in arch/i86/drivers/char/       \
chr_drv.a(serial.o)
undefined symbol: _sock_init
undefined symbol: _sys_socket
undefined symbol: _htonl
undefined symbol: _ntohl
ld86: text segment too large for 16bit
make: *** [arch/i86/tools/system] Error 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I don't if it's worth it to continue trying to debug, as maybe
I've just made some silly configure error that someone can
immediately point out. Does someone know what's going on?
Sorry if it's a FAQ, but I couldn't find it in the docs.
Thanks. --Scott

Reply via email to