Hello Gentoo Guy
Hello Gentoo Guys, I updated my system and want to go from Xorg 6.x to Xorg 7.x but the compile process failed every time. I check the internet and using our form to get help, but up to now anybody could help me to solve the problem. Trying to install the AMD64 package for Xorg brings the xorg-server-1.0.2-r7. But it isnt possible to compile it right now. Below the error code and the output of emerge info. (you will find make.conf and the emerge av xorg-x11 attached to this bug report) glxcmds.c:1749: warning: cast to pointer from integer of different size glxcmds.c: In function `__glxQueryHyperpipeNetworkSGIX': glxcmds.c:1796: error: `xGLXQueryHyperpipeNetworkSGIXReq' undeclared (first use in this function) glxcmds.c:1796: error: (Each undeclared identifier is reported only once glxcmds.c:1796: error: for each function it appears in.) glxcmds.c:1796: error: `req' undeclared (first use in this function) glxcmds.c:1796: error: parse error before ')' token glxcmds.c:1797: error: `xGLXQueryHyperpipeNetworkSGIXReply' undeclared (first use in this function) glxcmds.c:1812: error: `reply' undeclared (first use in this function) glxcmds.c:1825: error: `sz_xGLXQueryHyperpipeNetworkSGIXReply' undeclared (first use in this function) glxcmds.c: In function `__glxDestroyHyperpipeConfigSGIX': glxcmds.c:1836: error: `xGLXDestroyHyperpipeConfigSGIXReq' undeclared (first use in this function) glxcmds.c:1836: error: `req' undeclared (first use in this function) glxcmds.c:1837: error: parse error before ')' token glxcmds.c:1838: error: `xGLXDestroyHyperpipeConfigSGIXReply' undeclared (first use in this function) glxcmds.c:1851: error: `reply' undeclared (first use in this function) glxcmds.c:1863: error: `sz_xGLXDestroyHyperpipeConfigSGIXReply' undeclared (first use in this function) glxcmds.c: In function `__glxQueryHyperpipeConfigSGIX': glxcmds.c:1871: error: `xGLXQueryHyperpipeConfigSGIXReq' undeclared (first use in this function) glxcmds.c:1871: error: `req' undeclared (first use in this function) glxcmds.c:1872: error: parse error before ')' token glxcmds.c:1873: error: `xGLXQueryHyperpipeConfigSGIXReply' undeclared (first use in this function) glxcmds.c:1889: error: `reply' undeclared (first use in this function) glxcmds.c:1904: error: `sz_xGLXQueryHyperpipeConfigSGIXReply' undeclared (first use in this function) glxcmds.c: In function `__glxHyperpipeConfigSGIX': glxcmds.c:1915: error: `xGLXHyperpipeConfigSGIXReq' undeclared (first use in this function) glxcmds.c:1915: error: `req' undeclared (first use in this function) glxcmds.c:1916: error: parse error before ')' token glxcmds.c:1917: error: `xGLXHyperpipeConfigSGIXReply' undeclared (first use in this function) glxcmds.c:1935: error: `reply' undeclared (first use in this function) glxcmds.c:1949: error: `sz_xGLXHyperpipeConfigSGIXReply' undeclared (first use in this function) make[2]: *** [glxcmds.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/xorg-server-1.0.2-r7/work/xorg-server-1.0.2/GL/glx' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xorg-server-1.0.2-r7/work/xorg-server-1.0.2/GL' make: *** [all-recursive] Error 1 !!! ERROR: x11-base/xorg-server-1.0.2-r7 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 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. emerge info Gentoo Base System version 1.12.5 Portage 2.1.1-r1 (default-linux/amd64/2006.1, gcc-3.4.4, glibc-2.4-r3, 2.6.17-gentoo-r8 x86_64) ================================================================= System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3500+ Last Sync: Thu, 05 Oct 2006 16:30:08 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 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-r3 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="-O3 -march=athlon64" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo" CXXFLAGS="-O3 -march=athlon64" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 alsa apache2 arts berkdb bitmap-fonts cli crypt cups dlloader dri dvdr elibc_glibc encode foomaticdb fortran gdbm gpm gtk input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kde kernel_linux libg++ linguas_de mozilla mysql ncurses nls nptl nptlonly opengl oss pam pcre perl php ppds pppd python qt readline reflection session spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video video_cards_radeon xine xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Hopefully anybody form you can help me to find a solution. At this time, I have no working X environment. Greetings, Ben
Created attachment 98864 [details] compile error
Created attachment 98865 [details] output of emerge -av xorg-x11
Created attachment 98866 [details] output of emerge -info
Created attachment 98867 [details] make.conf
Reopen with output of 'ls -l /usr/include/GL' and 'emerge -pv emul-linux-x86-xlibs'
Hello Jakub, bellow you will find the requested output of the commands: ls -l /usr/include/GL total 512 -rw-r--r-- 1 root root 6609 Sep 22 15:52 GLwDrawA.h -rw-r--r-- 1 root root 2276 Sep 22 15:52 amesa.h -rw-r--r-- 1 root root 2043 Sep 22 15:52 directfbgl.h -rw-r--r-- 1 root root 4705 Sep 22 15:52 dmesa.h -rw-r--r-- 1 root root 2710 Sep 22 15:52 fxmesa.h -rw-r--r-- 1 root root 2232 Sep 22 15:52 ggimesa.h lrwxrwxrwx 1 root root 40 Oct 5 19:00 gl.h -> //usr/lib32/opengl/xorg-x11/include/gl.h -rw-r--r-- 1 root root 202784 Dec 22 2005 glATI.h -rw-r--r-- 1 root root 77761 Sep 22 15:52 gl_mangle.h lrwxrwxrwx 1 root root 43 Oct 5 19:00 glext.h -> //usr/lib32/opengl/xorg-x11/include/glext.h -rw-r--r-- 1 root root 4308 Sep 22 15:52 glfbdev.h -rw-r--r-- 1 root root 16668 Sep 22 15:52 glu.h -rw-r--r-- 1 root root 3315 Sep 22 15:52 glu_mangle.h -rw-r--r-- 1 root root 30192 Nov 11 2004 glut.h -rw-r--r-- 1 root root 4109 Nov 11 2004 glutf90.h lrwxrwxrwx 1 root root 41 Oct 5 19:00 glx.h -> //usr/lib32/opengl/xorg-x11/include/glx.h -rw-r--r-- 1 root root 5402 Dec 22 2005 glxATI.h -rw-r--r-- 1 root root 2031 Sep 22 15:52 glx_mangle.h lrwxrwxrwx 1 root root 44 Oct 5 19:00 glxext.h -> //usr/lib32/opengl/xorg-x11/include/glxext.h -rw-r--r-- 1 root root 4257 Sep 27 18:56 glxint.h lrwxrwxrwx 1 root root 43 Oct 5 19:00 glxmd.h -> //usr/lib32/opengl/xorg-x11/include/glxmd.h lrwxrwxrwx 1 root root 46 Oct 5 19:00 glxproto.h -> //usr/lib32/opengl/xorg-x11/include/glxproto.h lrwxrwxrwx 1 root root 47 Oct 5 19:00 glxtokens.h -> //usr/lib32/opengl/xorg-x11/include/glxtokens.h drwxr-xr-x 2 root root 104 Sep 27 18:56 internal -rw-r--r-- 1 root root 5609 Sep 22 15:52 mesa_wgl.h -rw-r--r-- 1 root root 3174 Sep 22 15:52 mglmesa.h -rw-r--r-- 1 root root 8595 Sep 22 15:52 osmesa.h -rw-r--r-- 1 root root 2508 Sep 22 15:52 svgamesa.h -rw-r--r-- 1 root root 1360 Sep 22 15:52 uglglutshapes.h -rw-r--r-- 1 root root 4313 Sep 22 15:52 uglmesa.h -rw-r--r-- 1 root root 38120 Sep 22 15:52 vms_x_fix.h -rw-r--r-- 1 root root 4435 Sep 22 15:52 wmesa.h -rw-r--r-- 1 root root 10401 Sep 22 15:52 xmesa.h -rw-r--r-- 1 root root 3272 Sep 22 15:52 xmesa_x.h -rw-r--r-- 1 root root 5088 Sep 22 15:52 xmesa_xf86.h emerge -pvemul-linux-x86-xlibs These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild U ] app-emulation/emul-linux-x86-baselibs-2.5.2 [2.4.1] 5,457 kB [ebuild U ] app-emulation/emul-linux-x86-xlibs-7.0-r2 [2.2.1] USE="opengl" VIDEO_CARDS="radeon%* -i810% -mach64% -mga% -r128% -s3virge% -savage% -sis% -tdfx% -trident% -via%" 6,812 kB Total size of downloads: 12,269 kB
(In reply to comment #6) <snip> > ls -l /usr/include/GL > lrwxrwxrwx 1 root root 40 Oct 5 19:00 gl.h -> > //usr/lib32/opengl/xorg-x11/include/gl.h > lrwxrwxrwx 1 root root 43 Oct 5 19:00 glext.h -> > //usr/lib32/opengl/xorg-x11/include/glext.h > lrwxrwxrwx 1 root root 41 Oct 5 19:00 glx.h -> > //usr/lib32/opengl/xorg-x11/include/glx.h > lrwxrwxrwx 1 root root 44 Oct 5 19:00 glxext.h -> > //usr/lib32/opengl/xorg-x11/include/glxext.h ... </snip> This is wrong... Shouldn't point to lib32. *** This bug has been marked as a duplicate of 132135 ***
Hi I read the workaround in Comment #9 from vicaya but I don't understand how I can fix it, sorry. Could you please give me the commands to fix the problem with my Gentoo System? vicaya wrote in BUG 132135: After I fixed the dirs by rm lib64 && mv lib lib64 && ln -s lib64 lib in busybox (bb.) emerge xorg-x11 went successfully. Thanks, Ben
Read the other bug, please. *** This bug has been marked as a duplicate of 132135 ***
Dupe, closing.