According to cdemu.org, 2.6+ kernels are supported. Reproducible: Always Steps to Reproduce: 1. emerge cdemu Actual Results: megaburk root # emerge cdemu Calculating dependencies ...done! >>> emerge (1 of 1) app-cdr/cdemu-0.6_beta to / >>> md5 src_uri ;-) cdemu-0.6_beta.tar.bz2 >>> Unpacking source... >>> Unpacking cdemu-0.6_beta.tar.bz2 to /var/tmp/portage/cdemu-0.6_beta/work >>> Source unpacked. gcc -O3 -mcpu=pentium4 -funroll-loops -pipe -I/usr/src/linux/include -D__KERNEL__ -DMODULE -DKBUILD_MODNAME=cdemu -c cdemu.c -o cdemu.o I fil inkluderad fr
According to cdemu.org, 2.6+ kernels are supported. Reproducible: Always Steps to Reproduce: 1. emerge cdemu Actual Results: megaburk root # emerge cdemu Calculating dependencies ...done! >>> emerge (1 of 1) app-cdr/cdemu-0.6_beta to / >>> md5 src_uri ;-) cdemu-0.6_beta.tar.bz2 >>> Unpacking source... >>> Unpacking cdemu-0.6_beta.tar.bz2 to /var/tmp/portage/cdemu-0.6_beta/work >>> Source unpacked. gcc -O3 -mcpu=pentium4 -funroll-loops -pipe -I/usr/src/linux/include -D__KERNEL__ -DMODULE -DKBUILD_MODNAME=cdemu -c cdemu.c -o cdemu.o I fil inkluderad från /usr/src/linux/include/asm/smp.h:18, från /usr/src/linux/include/linux/smp.h:17, från /usr/src/linux/include/linux/sched.h:23, från /usr/src/linux/include/linux/module.h:10, från cdemu_kernel.h:46, från cdemu.c:58: /usr/src/linux/include/asm/mpspec.h:6:25: mach_mpspec.h: Filen eller katalogen finns inte In file included from /usr/src/linux/include/asm/smp.h:18, from /usr/src/linux/include/linux/smp.h:17, from /usr/src/linux/include/linux/sched.h:23, from /usr/src/linux/include/linux/module.h:10, from cdemu_kernel.h:46, from cdemu.c:58: /usr/src/linux/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/src/linux/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/src/linux/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/src/linux/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/src/linux/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function) /usr/src/linux/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/src/linux/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type' /usr/src/linux/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type' /usr/src/linux/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function) /usr/src/linux/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/src/linux/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus' /usr/src/linux/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus' /usr/src/linux/include/asm/mpspec.h:43: error: `MAX_APICS' undeclared here (not in a function) In file included from /usr/src/linux/include/asm/smp.h:20, from /usr/src/linux/include/linux/smp.h:17, from /usr/src/linux/include/linux/sched.h:23, from /usr/src/linux/include/linux/module.h:10, from cdemu_kernel.h:46, from cdemu.c:58: /usr/src/linux/include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' undeclared here (not in a function) /usr/src/linux/include/asm/io_apic.h:160: error: conflicting types for `mp_irqs' /usr/src/linux/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs' I fil inkluderad från /usr/src/linux/include/linux/smp.h:17, från /usr/src/linux/include/linux/sched.h:23, från /usr/src/linux/include/linux/module.h:10, från cdemu_kernel.h:46, från cdemu.c:58: /usr/src/linux/include/asm/smp.h:71:26: mach_apicdef.h: Filen eller katalogen finns inte make: *** [all] Fel 1 !!! ERROR: app-cdr/cdemu-0.6_beta failed. !!! Function src_compile, Line 20, Exitcode 2 !!! (no error message) megaburk root # emerge info Portage 2.0.50-r7 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib" My /usr/src... megaburk root # ls -laF /usr/src totalt 10 drwxr-xr-x 8 root root 320 18 apr 20.16 ./ drwxr-xr-x 16 root root 520 10 maj 21.32 ../ -rw-r--r-- 1 root root 0 6 maj 17.14 .keep lrwxrwxrwx 1 root root 21 18 apr 20.16 linux -> linux-2.6.5-gentoo-r1/ drwxr-xr-x 19 root root 1280 16 feb 19.52 linux-2.6.2-gentoo-r1/ drwxr-xr-x 19 root root 1280 21 feb 00.11 linux-2.6.3-gentoo/ drwxr-xr-x 19 root root 1248 12 mar 00.39 linux-2.6.3-gentoo-r1/ drwxr-xr-x 19 root root 1248 15 apr 23.04 linux-2.6.5-gentoo/ drwxr-xr-x 19 root root 1248 21 maj 12.12 linux-2.6.5-gentoo-r1/ drwxr-xr-x 7 root root 192 12 apr 01.30 pc/
i know cdemu supports 2.6 kernels, i wrote the patch for it :p your kernel sources seem out of whack: /usr/src/linux/include/asm/mpspec.h:6:25: mach_mpspec.h: Filen eller katalogen i'd say verify your kernel sources are setup and that file exists (and the asm symlink exists)