I just spent the last day and a half installing gentoo. During the instalation it gave me a choice of the kernel to use. I chose the cd one be the quickest to install. It said that it didn't come with the source. I didn't care then. Now that I have the system up and running i tried to install the madwifi drivers so I don't have to have my laptop plugged in to an Ethernet cable (I have a cisco aironet CB21AG wireless card) using the command emerge madwifi-ng it started to work, but it said
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.
!!! ERROR: net-wireless/madwifi-ng-0.9.2.1 failed.
ebuild.sh, line 1555: Called dyn_setup
ebuild.sh, line 668: Called pkg_setup
madwifi-ng-0.9.2.1.ebuild, line 32: Called linux-mod_pkg_setup
linux-mod.eclass, line 459: Called linux-info_pkg_setup
linux-info.eclass, line 554: Called die
!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, and the call stack if relevant.
I'm assuming that this is because I don't have the kernel source and I was wondering how to recompile the kernel and include the source.