From: Gordon McNutt <gmcnutt@ri...> - 2000-11-22 21:53:55
First of all, to those who have worked on this, thanks. This looks very
After trying out the binary I decided to build a user-mode kernel for
debug. I got the 2.4-test11 kernel and patch, but I'm having build
problems. I checked the archives but didn't find anything related.
The patch went smoothly.
'make config' did indeed proceed to ask me questions (despite what the
documentation expected). So I used 'make menuconfig' and just saved it
without changing anything.
'make dep' went ok.
'make linux' failed for lack of a target.
So I tried 'make ARCH=um linux' and things compiled fine until
arch/um/kernel/exec_kern.c, where the compiler complained:
make: Entering directory `/usr/local/uml-linux/linux/arch/um/kernel'
gcc -D__KERNEL__ -I/usr/local/uml-linux/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing
-U__i386__ -Ui386 -D__arch_um__ -DSUBARCH="i386" -DNESTING=0
-I../include -c -o exec_kern.o exec_kern.c
exec_kern.c:48: parse error before `do'
This is an interesting error because the only 'do' in the file is on
line 77. Anybody seen and solved this one? I didn't find anything in the
Perhaps unrelated, I noticed that include/asm is linked to asm-i386.
Should it be linked to asm-mu instead?
Thanks for any help.
Get latest updates about Open Source Projects, Conferences and News.