Hi! If I try to compile any of these kernels, this problem occurs: make[3]: Entering directory `/usr/src/linux-2.4.20-xfs_pre4/drivers/net' gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-xfs_pre4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O3 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -Os -nostdinc -iwithprefix include -DKBUILD_BASENAME=3c59x -c -o 3c59x.o 3c59x.c 3c59x.c:133:22: pci-scan.h: No such file or directory 3c59x.c:134:25: kern_compat.h: No such file or directory 3c59x.c:281: elements of array `pci_tbl' have incomplete type 3c59x.c:282: warning: excess elements in struct initializer 3c59x.c:282: warning: (near initialization for `pci_tbl[0]') 3c59x.c:282: extra brace group at end of initializer ..... 3c59x.c:2589: warning: implicit declaration of function `acpi_set_pwr_state' 3c59x.c:2589: `ACPI_D3' undeclared (first use in this function) 3c59x.c: At top level: 3c59x.c:372: storage size of `vortex_drv_id' isn't known make[3]: *** [3c59x.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.20-xfs_pre4/drivers/net' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.20-xfs_pre4/drivers/net' make[1]: *** [_subdir_net] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.20-xfs_pre4/drivers' make: *** [_dir_drivers] Error 2 2.4.19-gentoo-r10 compiled and running fine now. (even if there is no pci-scan.h and kernel_compat.h in 2.4.19-gentoo-r10 source) Thanks for any help
Oh, and vanilla 2.4.20 compiles without any problem.
Yep, same problem here. This is a blocker. phil [...] gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gentoo-r1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O3 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -Os -nostdinc -iwithprefix include -DKBUILD_BASENAME=3c59x -c -o 3c59x.o 3c59x.c 3c59x.c:133:22: pci-scan.h: No such file or directory 3c59x.c:134:25: kern_compat.h: No such file or directory [...]
dropped this patch in gentoo-sources still needs done to xfs-sources