* Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.27-gentoo-r2 * Checking for suitable kernel configuration options...  [ ok ] >>> Unpacking source... >>> Unpacking fsam7400-0.5.1.tgz to /var/tmp/portage/net-wireless/fsam7400-0.5.1/work >>> Unpacking fsam7400-0.5.1-2.6.19.1.patch.gz to /var/tmp/portage/net-wireless/fsam7400-0.5.1/work * Applying fsam7400-0.5.1-2.6.19.1.patch ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/net-wireless/fsam7400-0.5.1/work/fsam7400-0.5.1 ... ln: creating symbolic link `Module.symvers': File exists * Preparing fsam7400 module make -j14 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= clean fsam7400.ko make -C /lib/modules/`uname -r`/build SUBDIRS=/var/tmp/portage/net-wireless/fsam7400-0.5.1/work/fsam7400-0.5.1 modules sweeping directory... make: *** /lib/modules/2.6.27-gentoo-r4/build: No such file or directory. Stop. make: *** [fsam7400.ko] Error 2 make: *** Waiting for unfinished jobs.... done * * ERROR: net-wireless/fsam7400-0.5.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3285: Called linux-mod_src_compile * environment, line 2536: Called die * The specific snippet of code: * eval "emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= clean fsam7400.ko * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/net-wireless/fsam7400-0.5.1:20081208-202408.log'. * The ebuild environment file is located at '/var/tmp/portage/net-wireless/fsam7400-0.5.1/temp/environment'. *