Try to emerge it, using ARCH="~x86", and get this error gcc -O2 -mcpu=i686 -fomit-frame-pointer -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe-Wall -I/usr/src/linux/include -I. -D__SMP__ -c -o e100.o e100.c In file included from /usr/src/linux/include/asm/processor.h:18, from /usr/src/linux/include/asm/thread_info.h:16, from /usr/src/linux/include/linux/thread_info.h:21, from /usr/src/linux/include/linux/spinlock.h:12, from /usr/src/linux/include/linux/capability.h:45, from /usr/src/linux/include/linux/sched.h:7, from /usr/src/linux/include/linux/module.h:10, from e100.c:138: /usr/src/linux/include/asm/system.h: In function `__set_64bit_var': /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules 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 e100.c:138: /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 e100.c:138: /usr/src/linux/include/asm/mpspec.h: At top level: /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: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' 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 e100.c:138: /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 e100.c:138: /usr/src/linux/include/asm/smp.h:71:26: mach_apicdef.h: No such file or directory 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 e100.c:138: /usr/src/linux/include/asm/smp.h: In function `hard_smp_processor_id': /usr/src/linux/include/asm/smp.h:75: warning: implicit declaration of function `GET_APIC_ID' In file included from /usr/src/linux/include/linux/irq.h:20, from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/asm-generic/pci-dma-compat.h:11, from /usr/src/linux/include/asm/pci.h:105, from /usr/src/linux/include/linux/pci.h:861, from e100.c:144: /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/asm-generic/pci-dma-compat.h:11, from /usr/src/linux/include/asm/pci.h:105, from /usr/src/linux/include/linux/pci.h:861, from e100.c:144: /usr/src/linux/include/linux/irq.h: At top level: /usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not ina function) In file included from /usr/src/linux/include/linux/irq.h:72, from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/asm-generic/pci-dma-compat.h:11, from /usr/src/linux/include/asm/pci.h:105, from /usr/src/linux/include/linux/pci.h:861, from e100.c:144: /usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here(not in a function) /usr/src/linux/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function) make: *** [e100.o] Error 1 !!! ERROR: net-misc/e100-3.1.4 failed. !!! Function src_compile, Line 18, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. set ARCH="~x86" in make.conf 2. emerge -u net-misc/e100 3. Watch error Actual Results: Got error referenced above Expected Results: Compiled fine. Portage 2.0.51_rc9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r7 i686) ================================================================= System uname: 2.6.8-gentoo-r7 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://ftp-mirror.internap.com/pub/gentoo/ http://gentoo.mirror.sdv.fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode f77 foomaticdb gdbm gif gpm gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mpegncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"
Marty, can you add a metadata.xml file with you as maintainer please?
me 2 , the same error occured. ---------- Calculating dependencies >>> Unpacking source... >>> Unpacking e100-3.1.4.tar.gz to /var/tmp/portage/e100-3.1.4/work >>> Source unpacked. rm -rf e100.ko e100.o e100.mod.c e100.mod.o e100.o e100.7.gz .*cmd gcc -O3 -pipe -march=i686 -fomit-frame-pointer -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall -I/usr/src/linux/include -I. -D__SMP__ -c -o e100.o e100.c In file included from /usr/src/linux/include/asm/processor.h:18, from /usr/src/linux/include/asm/thread_info.h:16, from /usr/src/linux/include/linux/thread_info.h:21, from /usr/src/linux/include/linux/spinlock.h:12, from /usr/src/linux/include/linux/capability.h:45, from /usr/src/linux/include/linux/sched.h:7, from /usr/src/linux/include/linux/module.h:10, from e100.c:138: /usr/src/linux/include/asm/system.h: In function `__set_64bit_var': /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules 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 e100.c:138: /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 e100.c:138: /usr/src/linux/include/asm/mpspec.h: At top level: /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:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function) 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 e100.c:138: /usr/src/linux/include/asm/smp.h:71:26: mach_apicdef.h: No such file or directory 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 e100.c:138: /usr/src/linux/include/asm/smp.h: In function `hard_smp_processor_id': /usr/src/linux/include/asm/smp.h:75: warning: implicit declaration of function `GET_APIC_ID' In file included from /usr/src/linux/include/linux/irq.h:20, from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/linux/interrupt.h:12, from /usr/src/linux/include/linux/netdevice.h:512, from e100.c:145: /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/linux/interrupt.h:12, from /usr/src/linux/include/linux/netdevice.h:512, from e100.c:145: /usr/src/linux/include/linux/irq.h: At top level: /usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) In file included from /usr/src/linux/include/linux/irq.h:72, from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/linux/interrupt.h:12, from /usr/src/linux/include/linux/netdevice.h:512, from e100.c:145: /usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) make: *** [e100.o] Error 1 !!! ERROR: net-misc/e100-3.1.4 failed. !!! Function src_compile, Line 18, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. ...done! >>> emerge (1 of 1) net-misc/e100-3.1.4 to / >>> md5 src_uri ;-) e100-3.1.4.tar.gz --- Gentoo Base System version 1.5.3 Portage 2.0.51_rc9 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r7 i686) ================================================================= System uname: 2.6.8-gentoo-r7 i686 Intel(R) Celeron(R) CPU 2.00GHz ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2,sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://mirror.averse.net/pub/gentoo/ http://lug.mtu.edu/gentoo/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.ccccom.com" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl apache2 apm avi berkdb bitmap-fonts crypt cups curl dba doc emacs encode esd f77 foomaticdb gd gd-external gdbm gif gnome gpm gtk gtk2 hardened imap imlib java jboss jpeg kde libg++ libwww maildir mmx mmx2 mng motif mozilla mpeg msn ncurses nls nptl oggvorbis opengl pam pdflib perl php pic pie png postgres postgresql procmail pthreads python qt radius readline rhino sdl sftplogging slang snmp spell sqlite ssl svga tcltk tcpd transcode truetype x86 xalan xml xml2 xprint xrandr xv yahoo zlib"
do you use 2.6 kernel headers ? `try a more recent version
I have the same problem with version 3.2.3 and newest linux26-headers installed. kai >>> emerge (1 of 1) net-misc/e100-3.2.3 to / >>> md5 src_uri ;-) e100-3.2.3.tar.gz >>> Unpacking source... >>> Unpacking e100-3.2.3.tar.gz to /var/tmp/portage/e100-3.2.3/work >>> Source unpacked. rm -rf e100.ko e100.o e100.mod.c e100.mod.o e100.o e100.7.gz .*cmd gcc -O3 -march=i686 -fstack-protector -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall -I/usr/src/linux/include -I. -c -o e100.o e100.c In file included from /usr/src/linux/include/asm/processor.h:18, from /usr/src/linux/include/asm/thread_info.h:16, from /usr/src/linux/include/linux/thread_info.h:21, from /usr/src/linux/include/linux/spinlock.h:12, from /usr/src/linux/include/linux/capability.h:45, from /usr/src/linux/include/linux/sched.h:7, from /usr/src/linux/include/linux/module.h:10, from e100.c:138: /usr/src/linux/include/asm/system.h: In function `__set_64bit_var': /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rulesIn file included from /usr/src/linux/include/linux/irq.h:20, from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/linux/interrupt.h:12, from /usr/src/linux/include/linux/netdevice.h:512, from e100.c:145: /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/linux/interrupt.h:12, from /usr/src/linux/include/linux/netdevice.h:512, from e100.c:145: /usr/src/linux/include/linux/irq.h: At top level: /usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) In file included from /usr/src/linux/include/linux/irq.h:72, from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/linux/interrupt.h:12, from /usr/src/linux/include/linux/netdevice.h:512, from e100.c:145: /usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) /usr/src/linux/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function) make: *** [e100.o] Error 1 !!! ERROR: net-misc/e100-3.2.3 failed. !!! Function src_compile, Line 18, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. localhost ~ # emerge -p linux26-headers These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-kernel/linux26-headers-2.6.8.1
closing, kernel 2.6 has already e100 module included.