When emerging em8300-modules the kernel sources directory used should be /usr/src/linux and not that of the currently running kernel (analogous to LIRC). Reproducible: Always Steps to Reproduce: 1. emerge a new kernel version and change the 'linux' symlink to point to the new sources 2. (optional) build the kernel and install the kernel modules 3. emerge em8300-modules to install the EM8300 modules for the new kernel version Actual Results: If the running kernel is for example '2.6.18-gentoo-r4' the ebuild runs emake resulting in: make -C /lib/modules/2.6.18-gentoo-r4/build SUBDIRS=... modules Expected Results: The ebuild should run emake in such a way that the correct kernel sources are used (not necessarily those of the currently running kernel): make -C /usr/src/linux SUBDIRS=... modules This issue can be resolved in the ebuild. The em8300 Makefile sets the KERNEL_LOCATION to /lib/modules/$(shell uname -r)/build and builds the modules. So the ebuild should call emake with the KERNEL_LOCATION set to ${KERNEL_DIR}. emake KERNEL_LOCATION="${KERNEL_DIR}" || die "emake failed."
All done. Thanks Thomas. Please do tell if there is more problems, I have this hardware but currently it's in state of "not used, busy" :-)