eselect-opengl creates the links for glext.h, gl.h, glxext.h, glx.h, glxmd.h, glxproto.h and glxtokens.h to '/usr/lib32/opengl/[global|x11-xorg|nvidia]' instead of '/usr/lib64/opengl[global|x11-xorg|nvidia]' 'usr/lib32/opengl/x11-xorg' is a link to '/emul/linux/x86/usr/lib32/opengl/xorg-x11', for this reason the compile of 'xorg-server-1.0.2-r1' fail by compiling 'glxcmds', because the compiler finds the wrong (to old) 'glxproto.h'
Same problem here.
*** This bug has been marked as a duplicate of 127588 ***