Gentoo Archives: gentoo-amd64

From: Ben Skeggs <darktama@×××××××××.au>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Modular X,org emerge problem at xorg-server
Date: Tue, 31 Jan 2006 03:21:45
Message-Id: 1138677548.2488.2.camel@araqiel.keine.ath.cx
In Reply to: [gentoo-amd64] Modular X,org emerge problem at xorg-server by B Vance
1 On Mon, 2006-01-30 at 21:20 -0500, B Vance wrote:
2 > I've posted onto bugzilla
3 > (http://bugs.gentoo.org/show_bug.cgi?id=111877 ), and haven't had much
4 > luck using the suggestions there. Basically while trying to upgrade to
5 > the modular X.org, it dies with the following error:
6 This is because of a long-standing bug in eselect-opengl. If you have a
7 look at /usr/include/GL, you'll find that the the main GL headers are
8 all symlinks to the 32-bit compat libraries (which are too old to build
9 modular X against).
10
11 You need to fix the symlinks to point to the ones
12 in /usr/lib64/opengl/xorg-x11/include/.
13
14 Ben.
15 >
16 > glxcmds.c: In function `__glXBindSwapBarrierSGIX':
17 > glxcmds.c:1749: warning: cast to pointer from integer of different size
18 > glxcmds.c: In function `__glxQueryHyperpipeNetworkSGIX':
19 > glxcmds.c:1796: error: `xGLXQueryHyperpipeNetworkSGIXReq' undeclared (first use
20 > in this function)
21 > glxcmds.c:1796: error: (Each undeclared identifier is reported only once
22 > glxcmds.c:1796: error: for each function it appears in.)
23 > glxcmds.c:1796: error: `req' undeclared (first use in this function)
24 > glxcmds.c:1796: error: parse error before ')' token
25 > glxcmds.c:1797: error: `xGLXQueryHyperpipeNetworkSGIXReply' undeclared (first
26 > use in this function)
27 > glxcmds.c:1812: error: `reply' undeclared (first use in this function)
28 > glxcmds.c:1825: error: `sz_xGLXQueryHyperpipeNetworkSGIXReply' undeclared
29 > (first use in this function)
30 > glxcmds.c: In function `__glxDestroyHyperpipeConfigSGIX':
31 > glxcmds.c:1836: error: `xGLXDestroyHyperpipeConfigSGIXReq' undeclared (first
32 > use in this function)
33 > glxcmds.c:1836: error: `req' undeclared (first use in this function)
34 > glxcmds.c:1837: error: parse error before ')' token
35 > glxcmds.c:1838: error: `xGLXDestroyHyperpipeConfigSGIXReply' undeclared (first
36 > use in this function)
37 > glxcmds.c:1851: error: `reply' undeclared (first use in this function)
38 > glxcmds.c:1863: error: `sz_xGLXDestroyHyperpipeConfigSGIXReply' undeclared
39 > (first use in this function)
40 > glxcmds.c: In function `__glxQueryHyperpipeConfigSGIX':
41 > glxcmds.c:1871: error: `xGLXQueryHyperpipeConfigSGIXReq' undeclared (first use
42 > in this function)
43 > glxcmds.c:1871: error: `req' undeclared (first use in this function)
44 > glxcmds.c:1872: error: parse error before ')' token
45 > glxcmds.c:1873: error: `xGLXQueryHyperpipeConfigSGIXReply' undeclared (first
46 > use in this function)
47 > glxcmds.c:1889: error: `reply' undeclared (first use in this function)
48 > glxcmds.c:1904: error: `sz_xGLXQueryHyperpipeConfigSGIXReply' undeclared (first
49 > use in this function)
50 > glxcmds.c: In function `__glxHyperpipeConfigSGIX':
51 > glxcmds.c:1915: error: `xGLXHyperpipeConfigSGIXReq' undeclared (first use in
52 > this function)
53 > glxcmds.c:1915: error: `req' undeclared (first use in this function)
54 > glxcmds.c:1916: error: parse error before ')' token
55 > glxcmds.c:1917: error: `xGLXHyperpipeConfigSGIXReply' undeclared (first use in
56 > this function)
57 > glxcmds.c:1935: error: `reply' undeclared (first use in this function)
58 > glxcmds.c:1949: error: `sz_xGLXHyperpipeConfigSGIXReply' undeclared (first use
59 > in this function)
60 > make[2]: *** [glxcmds.lo] Error 1
61 > make[2]: *** Waiting for unfinished jobs....
62 > x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
63 > -I../../include -I../../include -I../../include -I../../include -I../../include
64 > -I../../GL/include -I../../hw/xfree86/os-support -DHAVE_DIX_CONFIG_H
65 > -I/home/tmp/portage/xorg-server-1.0.1-r2/work/Mesa-6.4.1/include
66 > -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -Wall
67 > -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
68 > -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN
69 > -DHAS_STICKY_DIR_BIT -I../../include -I../../include -I../../Xext
70 > -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi
71 > -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr
72 > -I../../fb -I../../lbx -O2 -mtune=k8 -pipe -fomit-frame-pointer -MT glxfb.lo
73 > -MD -MP -MF .deps/glxfb.Tpo -c glxfb.c -fPIC -DPIC -o .libs/glxfb.o
74 > x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
75 > -I../../include -I../../include -I../../include -I../../include -I../../include
76 > -I../../GL/include -I../../hw/xfree86/os-support -DHAVE_DIX_CONFIG_H
77 > -I/home/tmp/portage/xorg-server-1.0.1-r2/work/Mesa-6.4.1/include
78 > -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -Wall
79 > -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
80 > -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN
81 > -DHAS_STICKY_DIR_BIT -I../../include -I../../include -I../../Xext
82 > -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi
83 > -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr
84 > -I../../fb -I../../lbx -O2 -mtune=k8 -pipe -fomit-frame-pointer -MT
85 > glxcmdsswap.lo -MD -MP -MF .deps/glxcmdsswap.Tpo -c glxcmdsswap.c -fPIC -DPIC
86 > -o .libs/glxcmdsswap.o
87 > x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
88 > -I../../include -I../../include -I../../include -I../../include -I../../include
89 > -I../../GL/include -I../../hw/xfree86/os-support -DHAVE_DIX_CONFIG_H
90 > -I/home/tmp/portage/xorg-server-1.0.1-r2/work/Mesa-6.4.1/include
91 > -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -Wall
92 > -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
93 > -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN
94 > -DHAS_STICKY_DIR_BIT -I../../include -I../../include -I../../Xext
95 > -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi
96 > -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr
97 > -I../../fb -I../../lbx -O2 -mtune=k8 -pipe -fomit-frame-pointer -MT
98 > glximports.lo -MD -MP -MF .deps/glximports.Tpo -c glximports.c -fPIC -DPIC -o
99 > .libs/glximports.o
100 > make[2]: Leaving directory
101 > `/home/tmp/portage/xorg-server-1.0.1-r2/work/xorg-server-1.0.1/GL/glx'
102 > make[1]: *** [all-recursive] Error 1
103 > make[1]: Leaving directory
104 > `/home/tmp/portage/xorg-server-1.0.1-r2/work/xorg-server-1.0.1/GL'
105 > make: *** [all-recursive] Error 1
106 >
107 > !!! ERROR: x11-base/xorg-server-1.0.1-r2 failed.
108 > Call stack:
109 > ebuild.sh, line 1894: Called dyn_compile
110 > ebuild.sh, line 941: Called src_compile
111 > ebuild.sh, line 1609: Called x-modular_src_compile
112 > x-modular.eclass, line 246: Called x-modular_src_make
113 >
114 > And here's my emerge --info
115 >
116 > Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
117 > 2.6.14-gentoo-r5 x86_64)
118 > =================================================================
119 > System uname: 2.6.14-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
120 > 4200+
121 > Gentoo Base System version 1.6.14
122 > ccache version 2.3 [enabled]
123 > dev-lang/python: 2.3.5-r2, 2.4.2
124 > sys-apps/sandbox: 1.2.12
125 > sys-devel/autoconf: 2.13, 2.59-r6
126 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
127 > sys-devel/binutils: 2.16.1
128 > sys-devel/libtool: 1.5.22
129 > virtual/os-headers: 2.6.11-r2
130 > ACCEPT_KEYWORDS="amd64"
131 > AUTOCLEAN="yes"
132 > CBUILD="x86_64-pc-linux-gnu"
133 > CFLAGS="-O2 -mtune=k8 -pipe -fomit-frame-pointer"
134 > CHOST="x86_64-pc-linux-gnu"
135 > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
136 > /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
137 > /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
138 > /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config
139 > /var/qmail/control"
140 > CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
141 > CXXFLAGS="-O2 -mtune=k8 -pipe -fomit-frame-pointer"
142 > DISTDIR="/usr/portage/distfiles"
143 > FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
144 > GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/
145 > ftp://gentoo.risq.qc.ca/ ftp://gentoo.agsn.ca/ http://gentoo.mirrored.ca/
146 > ftp://gentoo.mirrored.ca/ http://gentoo.osuosl.org/
147 > ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/"
148 > MAKEOPTS="-j4"
149 > PKGDIR="/usr/portage/packages"
150 > PORTAGE_TMPDIR="/home/tmp"
151 > PORTDIR="/usr/portage"
152 > PORTDIR_OVERLAY="/usr/local/portage"
153 > SYNC="rsync://rsync.gentoo.org/gentoo-portage"
154 > USE="X acpi alsa amd64 avi berkdb bitmap-fonts cdr crypt cups dbus divx4linux
155 > doc dri dvd dvdr eds emboss encode foomaticdb fortran gif gnome gpm gstreamer
156 > gtk gtk2 gtkhtml hal imlib ipv6 java jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls
157 > nocd nptl nptlonly nsplugin offensive oggvorbis opengl oss pam pcre pdflib perl
158 > png python qt quicktime readline sdl spell ssl tcpd tiff truetype-fonts
159 > type1-fonts unicode usb userlocales xpm xv zlib elibc_glibc input_devices_mouse
160 > input_devices_keyboard kernel_linux userland_GNU video_cards_nvidia"
161 > Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
162 >
163 > With the exception of a very few programs not available on the stable tree, The system is all
164 > stable (Modular X.org being the biggest exception)
165 > The biggest annoyance is I have it successfully running on my unstable AMD64 laptop (gcc-4.0.2 etc)
166 >
167 > Any ideas/assistance will be greatly appreciated.
168 >
169 > B. Vance
170 >
171 --
172 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Modular X,org emerge problem at xorg-server B Vance <bvance@×××××.ca>