then mv -f ".deps/XKBExtDev.Tpo" ".deps/XKBExtDev.Plo"; else rm -f ".deps/XKBExtDev.Tpo"; exit 1; fi 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 -O3 -march=pentium4 -mtune=pentium4 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -MT XKBExtDev.lo -MD -MP -MF .deps/XKBExtDev.Tpo -c XKBExtDev.c -fPIC -DPIC -o .libs/XKBExtDev.o XKBExtDev.c:39:31: error: 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.3/work/libX11-1.0.3/src/xkb' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libX11-1.0.3/work/libX11-1.0.3/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/libX11-1.0.3/work/libX11-1.0.3/src' make: *** [all-recursive] Error 1 !!! ERROR: x11-libs/libX11-1.0.3 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 1255: Called x-modular_src_compile x-modular.eclass, line 331: Called x-modular_src_make x-modular.eclass, line 326: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.