gpm-1.20.1 fails to compile due to syntax errors in linux-header-2.6.7 includes. Output: gcc -I/var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include h eaders/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -O2 -march=pentium3 -mcpu=pentium3 -ftracer -fomit-frame-pointer -pipe -O2 -march=p entium3 -mcpu=pentium3 -ftracer -fomit-frame-pointer -pipe -c -o mice.o mice.c In file included from /usr/include/linux/wait.h:13, from /usr/include/linux/keyboard.h:4, from mice.c:60: /usr/include/linux/pid.h:37: error: syntax error before '(' token /usr/include/linux/pid.h:39: error: syntax error before '(' token /usr/include/linux/pid.h:44: error: syntax error before '(' token /usr/include/linux/pid.h:50: error: syntax error before '(' token /usr/include/linux/pid.h:53: error: syntax error before '(' token make[1]: *** [mice.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/src' make: *** [do-all] Error 1 !!! ERROR: sys-libs/gpm-1.20.1 failed. !!! Function src_compile, Line 52, Exitcode 2 !!! (no error message) This looks like the same problem as http://bugs.gentoo.org/show_bug.cgi?id=54630 Reproducible: Always Steps to Reproduce: 1. u/g to linux-headers-2.6.7 2. emerge gpm Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-alsa) ================================================================= System uname: 2.6.7-alsa i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -mcpu=pentium3 -ftracer -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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=pentium3 -mcpu=pentium3 -ftracer -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X acpi alsa avi berkdb crypt dga encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib joystick jpeg libg++ libwww mad matrox mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcpd tiff truetype unicode x86 xml2 xmms xv xvid zlib"
*** This bug has been marked as a duplicate of 54531 ***