Error part cut from error log: make -C cs4281 modules make[3]: Entering directory `/usr/src/linux-2.4.23-aa2/drivers/sound/cs4281' gcc -D__KERNEL__ -I/usr/src/linux-2.4.23-aa2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -finline-limit=2000 -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i586 -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=cs4281m -c -o cs4281m.o cs4281m.c ../aha152x.c:853: warning: `do_setup' defined but not used -- gcc -D__KERNEL__ -I/usr/src/linux-2.4.23-aa2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -finline-limit=2000 -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DEMU10K1_SEQUENCER -nostdinc -iwithprefix include -DKBUILD_BASENAME=efxmgr -c -o efxmgr.o efxmgr.c ld -m elf_i386 -r -o qlogic_cs.o qlogic_stub.o qlogicfas.o qlogicfas.o(.text+0xdc0): In function `init_module': : multiple definition of `init_module' qlogic_stub.o(.text+0x780): first defined here ld: Warning: size of symbol `init_module' changed from 69 in qlogic_stub.o to 61 in qlogicfas.o qlogicfas.o(.text+0xe00): In function `cleanup_module': : multiple definition of `cleanup_module' qlogic_stub.o(.text+0x7d0): first defined here ld: Warning: size of symbol `cleanup_module' changed from 56 in qlogic_stub.o to 19 in qlogicfas.o make[3]: *** [qlogic_cs.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.23-aa2/drivers/scsi/pcmcia' make[2]: *** [_modsubdir_pcmcia] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.23-aa2/drivers/scsi' make[1]: *** [_modsubdir_scsi] Error 2 After disabling PCMCIA SCSI adapter support (I don't need it anyway) it compiled successfully.
Another problem: When I run this kernel X won't start and even the virtual consoles aren't accessible. After a power off it repairs the filesystem and the system is rebooted automatically after repair. I tried 2.4.27 and disabled PCMCIA SCSI adapter support too (although 2.4.27 compiles without problems even with it) and it works without problems.
aa-sources no longer in portage, announcement coming soon