I'm trying to build User-mode-linux 2.4.18-8 on a Debian Potato system.
It fails as follows:
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -U__i386__ -Ui386 -DUM_FASTCALL
-D__arch_um__ -DSUBARCH=\"i386\" -DNESTING=0 -D_LARGEFILE64_SOURCE
-I/home/wie/tmp/linux/arch/um/include -D_GNU_SOURCE -c -o exec_user.o
exec_user.c: In function `do_exec':
exec_user.c:22: `FRAME_SIZE' undeclared (first use in this function)
exec_user.c:22: (Each undeclared identifier is reported only once
exec_user.c:22: for each function it appears in.)
exec_user.c:22: warning: unused variable `regs'
make: *** [exec_user.o] Error 1
make: Leaving directory `/home/wie/tmp/linux/arch/um/kernel'
make: *** [_dir_arch/um/kernel] Error 2
Looks like exec_user.c includes some of the older 2.2.* kernel headers
under /usr/include, which don't have a definition for FRAME_SIZE. If
this is indeed that case, what can I do about it?
Wil Evers, DOOSYS R&D, Utrecht, Holland