Hi, gpm-1.20.1 is just another programm which fails with linux26-headers. Here is the output: # create dependencies for DEPS in `echo *.c */*.c`; do \ gcc -I. -I /var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/src -M -I/var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" $DEPS | \ /bin/sed 's/\(\)\.o\([ :]*\)/\1.o \1.lo\2/g' >> .depend ; done make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/src' make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/src' gcc -I/var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -O2 -O2 -c -o main.o main.c gcc -I/var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -O2 -O2 -c -o gpm.o gpm.c gpm.c: In function `processConn': gpm.c:780: warning: passing arg 3 of `accept' from incompatible pointer type gpm.c: In function `open_console': gpm.c:172: warning: control reaches end of non-void function gcc -I/var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -O2 -O2 -c -o gpn.o gpn.c make[1]: *** No rule to make target `/usr/include/asm/a.o', needed by `mice.o'. Stop. 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) I'm using gcc-3.4.1 and linux26-headers-2.6.8.1-r1. Markus
this is caused by the Makefile in the src directory doing a SED which ends up in building a dependancy chain which is complete garbage as it miss indetifies a file in /usr/include/asm! usr/include/asm/a.o!!!
ah-ha! have a fix for it .... !
commited to portage, stick a fork in it!