View previous topic :: View next topic |
Author |
Message |
littlemanrkc n00b
Joined: 21 Jul 2006 Posts: 8
|
Posted: Fri Jul 21, 2006 4:28 pm Post subject: Modular X Compile Problems [Solved] |
|
|
Greetings,
I am trying to upgrade xorg-x11 to the latest version (the modular one). I am following the steps outlined at http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml. I am at the step where I emerge the new xorg-x11. xorg-server is one of the dependencies. It [xorg-server-1.0.2-r7] does not compile. I get the following errors:
Quote: |
glxcmds.c: In function `__glXBindSwapBarrierSGIX':
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: syntax 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: syntax 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: syntax 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: syntax 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]: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../GL/include -I../../hw/xfree86/os-support -DHAVE_DIX_CONFIG_H -I/var/tmp/portage/xorg-server-1.0.2-r7/work/Mesa-6.4.2/include -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -I../../lbx -pipe -O2 -s -fomit-frame-pointer -MT glxcmdsswap.lo -MD -MP -MF .deps/glxcmdsswap.Tpo -c glxcmdsswap.c -fPIC -DPIC -o .libs/glxcmdsswap.o
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 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. |
The xorg driver I use is radeon. My /etc/make.conf file looks like:
Quote: | USE="ieee1394 truetype vcd multilib -gnome bash-completion pic -esd -motif -ipv6 dvdr v4l v4l2 aac a52 mpeg dvdread divx4linux oggvorbis mp3 mad flac speex encode xine arts oss jpeg2k mng wmf svg imlib theora avi cdparanoia audiofile dvd cdr jpeg tiff xvid"
CFLAGS="-pipe -O2 -s -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j2"
PORTAGE_NICENESS="10"
FEATURES="ccache"
CCACHE_SIZE="2G"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="radeon fglrx vesa fbdev"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.binarycompass.org http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo" |
Does anyone have any ideas on how I can get the new X working? Is there an obvious library I am missing? Thanks in advance for your replies!
Last edited by littlemanrkc on Fri Jul 21, 2006 7:06 pm; edited 2 times in total |
|
Back to top |
|
|
stelinux Tux's lil' helper
Joined: 02 Nov 2004 Posts: 143 Location: Italy
|
Posted: Fri Jul 21, 2006 5:18 pm Post subject: |
|
|
Try to control /usr/include/GL, you probably have some wrong links to 32 bit headers like glext.h gl.h etc... Eselect opengl can cause this mismatch so start emerge xorg-server and in another console quicky change all link to the right one (ex. //usr/lib32/opengl/xorg-x11/include/glext.h to /usr/lib/opengl/xorg-x11/include/glext.h and so on...)
Hope this resolve your problem _________________ stelinux on Ryzen 9 3900x on ROG Crosshair Hero VIII wifi 32GB G.Skill F4-3200C14D-16GFX CL16-16-16-39, 1.35 V
gentoo 17.1/no-multilib Sapphire Radeon RX 5700 XT 8G GDDR6 HDMI/TRIPLE DP OC W/ BP (UEFI)
openrc pipewire rocm |
|
Back to top |
|
|
littlemanrkc n00b
Joined: 21 Jul 2006 Posts: 8
|
Posted: Fri Jul 21, 2006 6:30 pm Post subject: |
|
|
Thanks for your quick reply! That did fix the problem. xorg-server has successfully compiled and I'm on my way to having the new and improved modular(tm) xorg-x11. |
|
Back to top |
|
|
grouchy n00b
Joined: 25 Jan 2004 Posts: 17
|
Posted: Sun Jul 23, 2006 7:03 pm Post subject: |
|
|
I tried those tricks. Even went to wayback and found a copy of the emxgl script and tried that. In the end, removing emul-linux-x86-* entries fixed it for me. |
|
Back to top |
|
|
dakster Apprentice
Joined: 26 Jul 2004 Posts: 178 Location: New England
|
Posted: Mon Jul 24, 2006 1:13 pm Post subject: |
|
|
I second grouchy's remark, I simply unmerged emul-linux-x86-xlibs, and xorg-server emerged cleanly for me....finally... thanks for the tips. |
|
Back to top |
|
|
kootenaykid n00b
Joined: 26 Sep 2004 Posts: 33 Location: Victoria, Canada
|
Posted: Sat Aug 19, 2006 4:44 am Post subject: |
|
|
I just updated mul-linux-x86-xlibs and it was all fixed. |
|
Back to top |
|
|
|