glxcmds.c:67:1: warning: "GLX_Y_INVERTED_EXT" redefined In file included from glxscreens.h:47, from glxserver.h:70, from glxcmds.c:46: /var/tmp/portage/xorg-server-1.1.1-r1/work/Mesa-6.5.1/include/GL/internal/glcore.h:186:1: warning: this is the location of the previous definition glxcmds.c: In function `__glXBindTexImageEXT': glxcmds.c:1492: error: `GLX_FRONT_LEFT_EXT' undeclared (first use in this function) glxcmds.c:1492: error: (Each undeclared identifier is reported only once glxcmds.c:1492: error: for each function it appears in.) glxcmds.c: In function `__glXBindSwapBarrierSGIX': glxcmds.c:1939: warning: cast to pointer from integer of different size glxcmds.c: In function `__glxQueryHyperpipeNetworkSGIX': glxcmds.c:1986: error: `xGLXQueryHyperpipeNetworkSGIXReq' undeclared (first use in this function) glxcmds.c:1986: error: `req' undeclared (first use in this function) glxcmds.c:1986: error: parse error before ')' token glxcmds.c:1987: error: `xGLXQueryHyperpipeNetworkSGIXReply' undeclared (first use in this function) glxcmds.c:2002: error: `reply' undeclared (first use in this function) glxcmds.c:2015: error: `sz_xGLXQueryHyperpipeNetworkSGIXReply' undeclared (first use in this function) glxcmds.c: In function `__glxDestroyHyperpipeConfigSGIX': glxcmds.c:2174: error: `X_GLXvop_ReleaseTexImageEXT' undeclared (first use in this function) glxcmds.c: In function `__glXVendorPrivateWithReply': glxcmds.c:2223: error: `X_GLvop_IsRenderbufferEXT' undeclared (first use in this function) glxcmds.c:2225: error: `X_GLvop_GenRenderbuffersEXT' undeclared (first use in this function) glxcmds.c:2227: error: `X_GLvop_GetRenderbufferParameterivEXT' undeclared (first use in this function) glxcmds.c:2229: error: `X_GLvop_IsFramebufferEXT' undeclared (first use in this function) glxcmds.c:2231: error: `X_GLvop_GenFramebuffersEXT' undeclared (first use in this function) glxcmds.c:2233: error: `X_GLvop_CheckFramebufferStatusEXT' undeclared (first use in this function) glxcmds.c:2235: error: `X_GLvop_GetFramebufferAttachmentParameterivEXT' undeclared (first use in this function) make[2]: *** [glxcmds.lo] Virhe 1 make[2]: Poistutaan hakemistosta "/var/tmp/portage/xorg-server-1.1.1-r1/work/xorg-server-1.1.1/GL/glx" make[1]: *** [all-recursive] Virhe 1 make[1]: Poistutaan hakemistosta "/var/tmp/portage/xorg-server-1.1.1-r1/work/xorg-server-1.1.1/GL" make: *** [all-recursive] Virhe 1 !!! ERROR: x11-base/xorg-server-1.1.1-r1 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 333: Called x-modular_src_make x-modular.eclass, line 328: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant Portage 2.1.1-r1 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1 , 2.6.16-gentoo x86_64) ================================================================= System uname: 2.6.16-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.14 Last Sync: Wed, 06 Dec 2006 21:50:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disab led] ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11 dev-lang/python: 2.3.4, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -msse2 -m64 -pipe -fexpensive-optimizations -fPIC" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shu tdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/ 3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defau lts/pref /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -msse2 -m64 -pipe -fexpensive-optimizations -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks metadata-transfer prelink sfperms strict" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/" LANG="fi_FI@euro" LINGUAS="fi" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d istfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage" USE="X alsa amd64 apache2 berkdb bitmap-fonts cdr cli cracklib crypt cups dlload er dri dvd eds elibc_glibc emboss encode foomaticdb fortran freetype gif gpm gst reamer gtk2 iconv imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kde kdeenablefinal kdefinal kernel_linux linguas_fi lzw lzw-tiff mp3 mpeg mysql ncurses nls nptl opengl pam pcre perl php png pppd python qt qt3 qt4 quicktime r eadline reflection samba sdl session slp spell spl ssl tcpd tiff truetype truety pe-fonts type1 type1-fonts usb userland_GNU userlocales video_cards_apm video_ca rds_ark video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_epson video_cards_fbdev video_cards_fglrx video_cards_glint video_c ards_i128 video_cards_i810 video_cards_mach64 video_cards_mga video_cards_neomag ic video_cards_nv video_cards_r128 video_cards_radeon video_cards_rendition vide o_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion vide o_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trid ent video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga xorg xpm xprint xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSY NC_EXTRA_OPTS
On a side note: Remove -fPIC from your use flags. *** This bug has been marked as a duplicate of 132135 ***