On Fri Oct 22, 2004 at 11:29:08 +0100, Tiago Jorge wrote:
Like i said in previous emails, im trying to boot the Fedora Core 1 that i have in my disk with the L4 u-kernel. I've done a classic config stuff... i went to get the Fedora kernel config file and put it like.config in L4Linux kernel directory. I've configured the l4 options i tried to built it. I'm trying to build the 2.4.22 L4Linux kernel. The error that gave me it's here...
-D__KERNEL__ -I/root/l4linux-2.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -g -DLINUX_ON_L4 -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=apm -c -o apm.o apm.c apm.c: In function `apm_bios_call': apm.c:626: warning: implicit declaration of function `loadsegment' apm.c:626: error: `fs' undeclared (first use in this function) apm.c:626: error: (Each undeclared identifier is reported only once apm.c:626: error: for each function it appears in.) apm.c:626: error: `gs' undeclared (first use in this function) apm.c: In function `apm_bios_call_simple': apm.c:679: error: `fs' undeclared (first use in this function) apm.c:679: error: `gs' undeclared (first use in this function) apm.c: In function `apm_init': apm.c:1984: warning: implicit declaration of function `set_base' apm.c:1984: error: `gdt' undeclared (first use in this function) apm.c:1986: warning: implicit declaration of function `_set_limit' make[1]: *** [apm.o] Error 1 make[1]: Leaving directory `/root/l4linux-2.4/arch/l4/kernel' make: *** [_dir_arch/l4/kernel] Error 2
It's simple, just do not use APM, ACPI and anything else of the low level stuff. (L4Linux is a user land application...)
Adam