gcc -D__KERNEL__ -I/usr/src/linux-2.4.28/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -I../../scsi/ -nostdinc -iwithprefix include -DKBUILD_BASENAME=shuttle_usbat -c -o shuttle_usbat.o shuttle_usbat.c
aty128fb.c: In function `aty128fb_ioctl':
aty128fb.c
aty128fb.c
aty128fb.c
aty128fb.c: At top level:
aty128fb.c
aty128fb.c
--
ld -r -o auerswald.o auerbuf.o auerchain.o auerchar.o auermain.o auerisdn.o auerisdn_b.o
make[2]: Leaving directory `/usr/src/linux-2.4.28/drivers/usb'
make[1]: Leaving directory `/usr/src/linux-2.4.28/drivers'
* Gentoo Linux Genkernel; Version 3.1.0c
* ERROR: Failed to compile the "modules" target...
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
Any idea why this happens? I followed the install perfectly. I tried manually doing the kernel, but it fails as well. I'll post its error in a few minutes. Oh , that log file it says to refer to doesn't seem to exist.
Here's what happens when i do it manually
trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=dn_neigh -c -o dn_neigh.o dn_neigh.c
dn_neigh.c:584: error: `THIS_MODULE' undeclared here (not in a function)
dn_neigh.c:584: error: initializer element is not constant
dn_neigh.c:584: error: (near initialization for `dn_neigh_seq_fops.owner')
make[2]: *** [dn_neigh.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.28/net/decnet'
make[1]: *** [_modsubdir_decnet] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.28/net'
make: *** [_mod_net] Error 2
So... ideas? I might just start all over tomorrow.


