I have installed sys-kernel/usermode-sources 2.4.19-r25. It will not build completely. The failure point in every case is the same. I'm not certain if this is a package issue or UML issue. See build excerpt below. My system is running the 2.4.19-gentoo-r9 kernel, with KDE3, and gcc 2.95.3. The error is easily reproduceable if necessary. I will provide access to the system if necessary. make -C hppfs make[2]: Entering directory `/usr/src/uml/linux-2.4.19-r25/arch/um/fs/hppfs' make all_targets make[3]: Entering directory `/usr/src/uml/linux-2.4.19-r25/arch/um/fs/hppfs' gcc -nostdinc -I /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include -DKBUILD_BASENAME=hppfs_kern -D__KERNEL__ -I/usr/src/uml/linux-2.4.19-r25/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -DUM_FASTCALL -g -D__arch_um__ -DSUBARCH="i386" -D_LARGEFILE64_SOURCE -I/usr/src/uml/linux-2.4.19-r25/arch/um/include -Derrno=kernel_errno -I/usr/src/uml/linux-2.4.19-r25/arch/um/kernel/tt/include -I/usr/src/uml/linux-2.4.19-r25/arch/um/kernel/skas/include -c -o hppfs_kern.o hppfs_kern.c In file included from /usr/src/uml/linux-2.4.19-r25/include/linux/posix_types.h:46, from /usr/src/uml/linux-2.4.19-r25/include/linux/types.h:8, from /usr/src/uml/linux-2.4.19-r25/include/linux/kernel.h:13, from /usr/src/uml/linux-2.4.19-r25/include/linux/wait.h:13, from /usr/src/uml/linux-2.4.19-r25/include/linux/fs.h:12, from hppfs_kern.c:6: /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/asm/posix_types.h:3: features.h: No such file or directory make[3]: *** [hppfs_kern.o] Error 1 make[3]: Leaving directory `/usr/src/uml/linux-2.4.19-r25/arch/um/fs/hppfs' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/uml/linux-2.4.19-r25/arch/um/fs/hppfs' make[1]: *** [_subdir_hppfs] Error 2 make[1]: Leaving directory `/usr/src/uml/linux-2.4.19-r25/arch/um/fs' make: *** [_dir_arch/um/fs] Error 2
tantive, is it necessary to have that many ebuilds?
seemant: no, it isn't. so i removed usermode-sources-2.4.19-r1 .. usermode sources-2.4.19-r19
I can reproduce the bug, it seems to occur on all 2.4.19 ebuilds. Atm, i have no clue about it, but i think it has something to do with gcc as the 2.4.18 releases work fine. Maybe someone with gcc3 can check this? (i'll ask on #gentoo-dev later)
any news on this ?
This bug is very old and very dead. 2.4.19-r51, using gcc 3.2.3 20030422, it works fine. I suspect he wasn't passing 'ARCH=um' on his build anyway. See the usermode docs for details, but you need to do: make menuconfig ARCH=um make dep ARCH=um make linux ARCH=um ... and umm... it then works. Can somebody close this?
closing