[Prev][Next][Index][Thread]
Help 'making' OSKit
I downloaded Snapshot 990722 and (after a few previous failures)
executed the following commands from the toplevel directory as
described in "Configuring the OSKit" and "Building the OSKit" in the
manual:
make clean
./configure --prefix=/usr/local/stow/oskit --enable-debug \
--enable-doc --enable-unixexamples
{ edit oskit/dev/linux_ethernet.h, oskit/dev/linux_scsi.h, and
oskit/fs/linux_filesystems.h to #if 0 around unused drivers }
export CFLAGS='-O1 -pipe'
make
After a bunch of compiling, the process halts with this error while
compiling linux/src/drivers/net/8390.c:
----------
In file included from ../../linux/src/include/linux/string.h:39,
from objinclude/asm/termios.h:58,
from ../../linux/src/include/linux/termios.h:5,
from ../../linux/src/include/linux/tty.h:20,
from ../../linux/src/include/linux/sched.h:26,
from ../../linux/src/drivers/net/8390.c:45:
objinclude/asm/string.h: In function `__constant_memcpy':
objinclude/asm/string.h:443: warning: control reaches end of non-void function
objinclude/asm/string.h: In function `__constant_c_and_count_memset':
objinclude/asm/string.h:592: warning: control reaches end of non-void function
../../linux/src/drivers/net/8390.c: In function `FDEV_LINUX_ethdev_init':
objinclude/asm/string.h:586: Invalid `asm' statement:
objinclude/asm/string.h:586: fixed or forbidden register 2 (cx) was spilled for class CREG.
make[1]: *** [8390.o] Error 1
make[1]: Leaving directory `/home/mharris/oskit-990722/linux/dev'
make: *** [linux/dev/all.MAKE] Error 2
----------
(Oddly enough, it shouldn't even need to compile 8390.c, since the
only driver I left enabled was eepro100.) I don't know x86 assembly,
so I can't debug the asm statement at string.h:586. Has someone seen
this problem before? It's embarrassing to be stuck at such an early
stage of using OSKit.
FYI, I'm running the latest version ("unstable") of Debian with a
Linux 2.2.5 kernel. gcc --version is 2.95.1.
Matthew