root@netwinder 0 kbd-1.12 # make for i in src openvt po data; do make -C $i all || exit 1; done make[1]: Entering directory `/var/tmp/portage/kbd-1.12-r5/work/kbd-1.12/src' gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -mcpu=strongarm110 -O2 -pipe -DDATADIR=\"/usr/share\" dumpkeys.c In file included from dumpkeys.c:13: /usr/include/linux/keyboard.h:7:2: warning: #warning Gentoo Linux Headers Warning: GNU Libc Linux Headers Override Detected. /usr/include/linux/keyboard.h:8:2: warning: #warning Gentoo Linux Headers Warning: This is bad. Removing override and continuing. /usr/include/linux/keyboard.h:9:2: warning: #warning Gentoo Linux Headers Warning: If your compilation dies here, mention this when /usr/include/linux/keyboard.h:10:2: warning: #warning Gentoo Linux Headers Warning: filing a bug! In file included from /usr/include/linux/wait.h:25, from /usr/include/linux/keyboard.h:14, from dumpkeys.c:13: /usr/include/asm/current.h: In function `get_current': /usr/include/asm/current.h:10: error: invalid type argument of `->' make[1]: *** [dumpkeys.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/kbd-1.12-r5/work/kbd-1.12/src' make: *** [all] Error 1 Portage 2.0.51.22-r1 (default-linux/arm/2004.3, gcc-3.4.3-20050110, glibc-2.3.2-r12, 2.6.10-grsec armv4l) ================================================================= System uname: 2.6.10-grsec armv4l StrongARM-110 rev 4 (v4l) Gentoo Base System version 1.6.12 distcc 2.18.3 armv4l-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.14.90.0.6-r8, 2.15.90.0.3-r4, 2.15.92.0.2-r2, 2.15.92.0.2-r6, 2.15.94.0.2, 2.15.94.0.2.2, 2.16, 2.16.90.0.3 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="arm ~arm" AUTOCLEAN="yes" CBUILD="armv4l-unknown-linux-gnu" CFLAGS="-mcpu=strongarm110 -O2 -pipe" CHOST="armv4l-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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="-mcpu=strongarm110 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks noauto noinfo sfperms strict usepkg" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/distfiles/arch/arm/packages/armv4l-unknown-linux-gnu" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="arm X acl apache2 berkdb bitmap-fonts crypt cups curl esd freetds gd gd-external gdbm gif gpm gtk imap imlib ipv6 libwww mysql ncurses opengl pam pdflib perl png postgres python readline snmp ssl tcltk tcpd tetex tiff truetype-fonts type1-fonts xml xml2 xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
same here on x86: ----------------------------------------------------------------------------- Done. You can run make now. for i in src openvt po data; do make -C $i all || exit 1; done make[1]: Entering directory `/var/tmp/portage/kbd-1.12-r5/work/kbd-1.12/src' i686-pc-linux-gnu-gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -march=pentium3 -O2 -pipe -DDATADIR=\"/usr/share\" dumpkeys.c i686-pc-linux-gnu-gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -march=pentium3 -O2 -pipe -DDATADIR=\"/usr/share\" ksyms.c i686-pc-linux-gnu-gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -march=pentium3 -O2 -pipe -DDATADIR=\"/usr/share\" xmalloc.c In file included from dumpkeys.c:13: /usr/include/linux/keyboard.h:7:2: warning: #warning Gentoo Linux Headers Warning: GNU Libc Linux Headers Override Detected. /usr/include/linux/keyboard.h:8:2: warning: #warning Gentoo Linux Headers Warning: This is bad. Removing override and continuing. /usr/include/linux/keyboard.h:9:2: warning: #warning Gentoo Linux Headers Warning: If your compilation dies here, mention this when /usr/include/linux/keyboard.h:10:2: warning: #warning Gentoo Linux Headers Warning: filing a bug! In file included from /usr/include/linux/keyboard.h:11, from dumpkeys.c:13: /usr/include/linux/types.h:182: error: redefinition of `struct ustat' i686-pc-linux-gnu-gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -march=pentium3 -O2 -pipe -DDATADIR=\"/usr/share\" getfd.c make[1]: *** [dumpkeys.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/kbd-1.12-r5/work/kbd-1.12/src' make: *** [all] Error 1 !!! ERROR: sys-apps/kbd-1.12-r5 failed. !!! Function src_compile, Line 75, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. ---------------------------------------------------------------------------------- Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.7 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_GB.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X alsa apm artswrappersuid avi bash-completion berkdb bitmap-fonts cdr crypt cups curl dga divx4linux doc dvd emboss encode fam flac foomaticdb fortran gd gdbm gif gphoto2 gtk gtk2 guile i8x0 imagemagick imlib java jpeg junit kde libg++ libwww mad maildir matroska mmx mmx2 mozcalendar mozilla mozsvg mozxmlterm mp3 mpeg ncurses nls ogg oggvorbis opengl pam pdflib perl png postgres python qt quicktime radeon readline ruby samba sdl slang spell sse ssl svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis xine xml xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
no, unrelated
Fixed in 2.6.11-r1, thanks!