i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../include/X11 -I../../include -I../../include/X11 -I../../include -I../../include/X11 -I../../src/xcms -I../../src/xkb -I../../src/xlibi18n -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHASXDMAUTH -D_BSD_SOURCE -DMALLOC_0_RETURNS_NULL -O2 -march=athlon-xp -MT XKBExtDev.lo -MD -MP -MF .deps/XKBExtDev.Tpo -c XKBExtDev.c -fPIC -DPIC -o .libs/XKBExtDev.o XKBExtDev.c:39:31: X11/extensions/XI.h: No such file or directory XKBExtDev.c: In function `_InitLedStuff': XKBExtDev.c:445: error: `KbdFeedbackClass' undeclared (first use in this function) XKBExtDev.c:445: error: (Each undeclared identifier is reported only once XKBExtDev.c:445: error: for each function it appears in.) XKBExtDev.c:450: error: `LedFeedbackClass' undeclared (first use in this function) XKBExtDev.c: In function `_SizeMatches': XKBExtDev.c:513: error: `KbdFeedbackClass' undeclared (first use in this function) XKBExtDev.c: In function `_XkbSetDeviceInfoSize': XKBExtDev.c:555: error: `KbdFeedbackClass' undeclared (first use in this function) XKBExtDev.c:555: error: `LedFeedbackClass' undeclared (first use in this function) make[3]: *** [XKBExtDev.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/libX11-1.0.1-r1/work/libX11-1.0.1/src/xkb' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libX11-1.0.1-r1/work/libX11-1.0.1/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/libX11-1.0.1-r1/work/libX11-1.0.1/src' make: *** [all-recursive] Error 1 !!! ERROR: x11-libs/libX11-1.0.1-r1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called x-modular_src_compile x-modular.eclass, line 327: Called x-modular_src_make x-modular.eclass, line 322: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.