emerging cdemu-0.6_beta gives me the following: bash-2.05b# 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 -march=pentium4 -O3 -pipe -I/usr/src/linux/include -D__KERNEL__ -DMODULE -DKBUILD_MODNAME=cdemu -c cdemu.c -o cdemu.o 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:6:25: mach_mpspec.h: No such file or directory 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' In file included 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/smp.h:71:26: mach_apicdef.h: No such file or directory make: *** [all] Error 1 !!! ERROR: app-cdr/cdemu-0.6_beta failed. !!! Function src_compile, Line 21, Exitcode 2 !!! (no error message) bash-2.05b# --- compiler needs to include -I/usr/src/linux/include/asm/mach-default because mach_mpspec.h and mach_apicdef.h are in /usr/src/linux/include/asm/mach-default and not in /usr/src/linux/include attached patch and ebuild resolve this problem regards florian Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 35199 [details, diff] the Makefile patch
Created attachment 35200 [details] the Ebuild
sync up in a bit and try emerging again you neglected to provide `emerge info` so i can only guess at your kernel version
hi, ok, i forgot: kernel version: 2.6.7 vanilla leela root # emerge info Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7) ================================================================= System uname: 2.6.7 i686 Mobile Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.1.14/gentoo-portage" USE="3dnow X acpi alsa apache2 apm arts avi berkdb cdr crypt cups directfb dvd encode esd foomaticdb gdbm gif gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcpd truetype wifi x86 xml2 xmms xv zlib"
ok, the change i made to the ebuild should fix you then
*** Bug 56774 has been marked as a duplicate of this bug. ***