XKB.c:700: error: `X_kbPerClientFlags' undeclared (first use in this function) XKB.c:703: error: `XkbUseCoreKbd' undeclared (first use in this function) XKB.c:707: error: `rep' undeclared (first use in this function) XKB.c: In function `XkbOpenDisplay': XKB.c:740: error: `XkbMajorVersion' undeclared (first use in this function) XKB.c:741: error: `XkbMinorVersion' undeclared (first use in this function) XKB.c: In function `XkbComputeEffectiveMap': XKB.c:449: warning: value computed is not used make[3]: *** [XKB.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.