With a 2.6 kernel (sys-kernel/gentoo-dev-sources-2.6.5-r1), emerging net-wireless/hostap-driver-0.1.2-r1 bombs out with the following errors: Building the following drivers: pci plx gcc -I/usr/src/linux/include -O2 -D__KERNEL__ -DMODULE -Wall -g -c -DPRISM2_DOWNLOAD_SUPPORT -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -fomit-frame-pointer -E -D__GENKSYMS__ driver/modules/hostap.c | \ /sbin/genksyms -k 2.6.5 > driver/modules/hostap.ver <command line>:138479997:2496: /usr/src/linux/include/linux/modversions.h: No such file or directory Run 'make install_pccard' as root to install hostap_cs.o Run 'make install_plx' as root to install hostap_plx.o Run 'make install_pci' as root to install hostap_pci.o In file included from /usr/src/linux/include/linux/irq.h:20, from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/linux/interrupt.h:11, from /usr/src/linux/include/linux/netdevice.h:507, from /usr/src/linux/include/linux/if_arp.h:26, from driver/modules/hostap.c:25: /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory [ Snipping lots more of the same ] make: *** [driver/modules/hostap.o] Error 1 !!! ERROR: net-wireless/hostap-driver-0.1.2-r1 failed. !!! Function src_compile, Line 72, Exitcode 2 !!! (no error message) A Google search explained that 0.1.2 would not build with the 2.6 kernels, so all we should do here is add a dependency for a 2.4 kernel being available and then make sure to select that kernel for building hostap-driver. The easiest thing is to require that /usr/src/linux is a symlink to a 2.4 kernel.
> Mobile Herd wrote: > A Google search explained that 0.1.2 would not build with the 2.6 kernels... I've been experiencing problems with hostap-driver-0.1.2-r1 and the linux-2.6.8-gentoo-r1 kernel (on PPC) *except*that* hostap-driver-0.1.2-r1 compiles correctly but won't load. In /var/log/syslog, cardmgr complains...
> Mobile Herd wrote: > A Google search explained that 0.1.2 would not build with the 2.6 kernels... I've been experiencing problems with hostap-driver-0.1.2-r1 and the linux-2.6.8-gentoo-r1 kernel (on PPC) *except*that* hostap-driver-0.1.2-r1 compiles correctly but won't load. In /var/log/syslog, cardmgr complains... linux2go cardmgr[6484]: + FATAL: Error inserting hostap_cs (/lib/modules/2.6.8-gentoo-r1/pcmcia/hostap_cs.ko): Unknown symbol in module, or unknown parameter (see dmesg) linux2go cardmgr[6484]: module /lib/modules/2.6.8-gentoo-r1/pcmcia/hostap_cs.o not available linux2go cardmgr[6484]: bind 'hostap_cs' to socket 0 failed: Invalid argument dmesg reports... hostap_cs: Unknown symbol CardServices
Created attachment 38108 [details] emerge --info Output from `emerge --info`
Created attachment 38109 [details] .config from linux-2.6.8-gentoo-r1 (on PPC) .config from linux-2.6.8-gentoo-r1 (on PPC)
*** This bug has been marked as a duplicate of 41141 ***