* Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.30-gentoo-r4 >>> Unpacking source... >>> Unpacking realmagic-0.2.1.tar.gz to /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work * Applying em84xx-modules-0.2.1-kernel-2.6.19.diff ...  [ ok ] * Applying em84xx-modules-0.2.1-kernel-2.6.22.diff ...  [ ok ] >>> Source unpacked in /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work >>> Compiling source in /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic ... ln: creating symbolic link `Module.symvers': File exists * Preparing realmagic84xx module make -j14 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KDIR=/usr/src/linux all make -C /usr/src/linux SUBDIRS=/var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic modules make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r4' CC [M] /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/realmagicdev.o CC [M] /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/ioctl.o CC [M] /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/dma.o CC [M] /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/registration.o CC [M] /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/udev.o CC [M] /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/devfs.o /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/udev.c: In function 'udev_register_card': /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/udev.c:53: error: implicit declaration of function 'class_device_create' /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/udev.c:60: warning: assignment makes pointer from integer without a cast /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/udev.c:69: warning: assignment makes pointer from integer without a cast /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/udev.c:78: warning: assignment makes pointer from integer without a cast /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/udev.c:87: warning: assignment makes pointer from integer without a cast /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/udev.c: In function 'udev_unregister_card': /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/udev.c:92: error: implicit declaration of function 'class_device_destroy' make[2]: *** [/var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/udev.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/realmagicdev.c: In function 'quasar_interrupt': /var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/realmagicdev.c:202: error: implicit declaration of function 'kill_proc' make[2]: *** [/var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic/realmagicdev.o] Error 1 make[1]: *** [_module_/var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/work/realmagic] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r4' make: *** [all] Error 2 * * ERROR: media-video/em84xx-modules-0.2.1-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3482: Called linux-mod_src_compile * environment, line 2684: 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= KDIR=/usr/src/linux all * * 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/media-video/em84xx-modules-0.2.1-r1:20090810-184656.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/em84xx-modules-0.2.1-r1/temp/environment'. *