I didn't encounter this error when I filed Bug 56189 I have since changed up my USE flags, emerged linux26-headers 2.6.7, upgraded to kernel 2.6.8-rc2, and did a -e world It also looks similar to Bug 58299 I didn't comment on 58299 since that is amd64, this is x86, and a different error (although somewhat similar) Making all in keyboard make[3]: Entering directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.20/inputdrivers/keyboard' /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -I/usr/include/libmpeg3 -D_REENTRANT -Wall -O3 -ffast-math -pipe -march=athlon-xp -O2 -pipe -mcpu=athlon-xp -fomit-frame-pointer -DFUSION_FAKE -Werror-implicit-function-declaration -c keyboard.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -I/usr/include/libmpeg3 -D_REENTRANT -Wall -O3 -ffast-math -pipe -march=athlon-xp -O2 -pipe -mcpu=athlon-xp -fomit-frame-pointer -DFUSION_FAKE -Werror-implicit-function-declaration -c keyboard.c -fPIC -DPIC -o .libs/keyboard.o In file included from /usr/include/linux/keyboard.h:4, from keyboard.c:39: /usr/include/linux/wait.h: In function `waitqueue_active': /usr/include/linux/wait.h:79: error: implicit declaration of function `list_empty' /usr/include/linux/wait.h: In function `__add_wait_queue': /usr/include/linux/wait.h:88: error: implicit declaration of function `list_add' /usr/include/linux/wait.h: In function `__add_wait_queue_tail': /usr/include/linux/wait.h:97: error: implicit declaration of function `list_add_tail' /usr/include/linux/wait.h: In function `__remove_wait_queue': /usr/include/linux/wait.h:103: error: implicit declaration of function `list_del' make[3]: *** [keyboard.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.20/inputdrivers/keyboard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.20/inputdrivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.20' make: *** [all-recursive-am] Error 2 Reproducible: Always Steps to Reproduce: 1. 2. 3. dev-libs/DirectFB-0.9.20 -fusion +gif +jpeg +mmx +mpeg +png +sse +truetype Linux cloak 2.6.8-rc2-test #7 Thu Jul 22 19:57:40 CDT 2004 i686 AMD Athlon(tm) AuthenticAMD GNU/Linux [ebuild R ] sys-kernel/linux26-headers-2.6.7-r3 Portage 2.0.51_pre13 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.8-rc2-test i686 AMD Athlon(tm)) ================================================================= System uname: 2.6.8-rc2-test i686 AMD Athlon(tm) Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -mcpu=athlon-xp -fomit-frame-pointer" 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="-march=athlon-xp -O2 -pipe -mcpu=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/redeeman" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow S3TC X aim alsa avi berkdb cdr chroot clamav crypt cups divx4linux dv dvd dvdr dvdread encode exif faac faad fam fbcon ffmpeg flac flood foomaticdb freetype ftp gif gimp gphoto2 gtk gtk2 icq idea ieee1394 imagemagick imap imlib imlib2 ipv6 jabber java jp2 jpeg libcaca libwww lua mad maildir mbox md5sum memlimit mikmod mmx mng motif mozdomi moznocompose moznoirc moznomail mozsvg mpeg mpeg4 mplayer msn ncurses nls nopsyco nptl ntlm nvidia oav offensive oggvorbis openal opengl openssh operanom2 oscar oss pam pdflib pic png ppds pthreads qemu-fast quicktime readline samba sdl silc simplexml slang sndfile spell sse ssl stroke svg tidy tiff timidity transcode truetype usb vanilla videos virus-scan webmin-minimal x86 xchatdccserver xchattext xface xfs xgetdefault xinerama xml xml2 xmms xprint xrandr xv xvid yahoo zlib"
I am also getting this error. Running linux26-headers, gcc 3.4.1, and kernel 2.6.7. CFLAGS="-O3 -mtune=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j3" AUTOCLEAN="yes" ACCEPT_KEYWORDS="~x86" USE="3dnow acpi aim alsa avi bonobo berkdb cjk directfb divx4linux doc dvd jpeg gif gnome gstreamer gtk2 mad mmx mpeg ncurses nls nptl oggvorbis opengl pam perl png python quicktime readline samba slang spell ssl sse svga tcltk truetype xml2 xvid x86 X -accessibility -arts -apm -cdr -cups -curl -esd -foomaticdb -gphoto2 -gtk -imap -kde -mailwrapper -mozilla -oss -qt -scanner -snmp -usb -xml -xmms"GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo http://gentoo.oregonstate.edu" ~
I fix this problem by installing linux26-headers-r4. I was using linux26-headers-r3.
Sounds fixed to me.