Gentoo Archives: gentoo-user

From: Hazen Valliant-Saunders <hazenvs@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Ati-drivers emerge fails.
Date: Sun, 07 Jun 2009 17:18:04
Message-Id: d07a70780906071017u339baa02obb2a41615978e9c9@mail.gmail.com
In Reply to: Re: [gentoo-user] Ati-drivers emerge fails. by Volker Armin Hemmann
1 Who is maintaining this?
2
3 On Sun, Jun 7, 2009 at 1:00 PM, Volker Armin Hemmann <
4 volkerarmin@××××××××××.com> wrote:
5
6 > On Sonntag 07 Juni 2009, Hazen Valliant-Saunders wrote:
7 > > Good Day;
8 > >
9 > > ati-drivers fails to emerge; foolowed the somewhat out of date doc's
10 > > online.
11 > >
12 > >
13 > > emerge ati-drivers
14 > > Calculating dependencies... done!
15 > >
16 > > >>> Verifying ebuild manifests
17 > > >>>
18 > > >>> Emerging (1 of 1) x11-drivers/ati-drivers-8.552-r2
19 > >
20 > > * ati-driver-installer-8-11-x86.x86_64.run RMD160 SHA1 SHA256 size ;-)
21 > ...
22 > > [ ok ]
23 > > * checking ebuild checksums ;-) ...
24 > [
25 > > ok ]
26 > > * checking auxfile checksums ;-) ...
27 > [
28 > > ok ]
29 > > * checking miscfile checksums ;-) ...
30 > [
31 > > ok ]
32 > > * Determining the location of the kernel source code
33 > > * Found kernel source directory:
34 > > * /usr/src/linux
35 > > * Found kernel object directory:
36 > > * /lib/modules/2.6.29-gentoo-r5/build
37 > > * Found sources for kernel version:
38 > > * 2.6.29-gentoo-r5
39 > >
40 > > >>> Unpacking source...
41 > >
42 > > Warning: target directory exists
43 > > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work
44 > > Verifying archive integrity... All good.
45 > > Uncompressing ATI Proprietary Linux
46 > >
47 > Driver-8.552...............................................................
48 >
49 > >............................................................................
50 >
51 > >............................................................................
52 >
53 > >............................................................................
54 >
55 > >............................................................................
56 >
57 > >............................................................................
58 >
59 > >............................................................................
60 >
61 > >............................................................................
62 >
63 > >............................................................................
64 >
65 > >............................................................................
66 >
67 > >............................................................................
68 > >.......................................... * Converting 2.6.x/Makefile to
69 > > use M= instead of SUBDIRS= ... [ ok ]
70 > >
71 > > >>> Unpacking ./../common/usr/src/ati/fglrx_sample_source.tgz to
72 > >
73 > > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/extra
74 > >
75 > > >>> Source unpacked in
76 > >
77 > > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work
78 > >
79 > > >>> Compiling source in
80 > >
81 > > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work ...
82 > > * Preparing fglrx module
83 > > make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc
84 > CROSS_COMPILE=x86_64-pc-linux-gnu-
85 > > LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.29-gentoo-r5 KDIR=/usr/src/linux
86 > kmod_build
87 > > make -C /usr/src/linux
88 > >
89 > M=/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules
90 > >/fglrx/build_mod/2.6.x modules
91 > > make[1]: Entering directory `/usr/src/linux-2.6.29-gentoo-r5'
92 > > CC [M]
93 > >
94 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
95 > >glrx/build_mod/2.6.x/firegl_public.o CC [M]
96 > >
97 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
98 > >glrx/build_mod/2.6.x/kcl_acpi.o CC [M]
99 > >
100 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
101 > >glrx/build_mod/2.6.x/kcl_agp.o CC [M]
102 > >
103 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
104 > >glrx/build_mod/2.6.x/kcl_debug.o CC [M]
105 > >
106 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
107 > >glrx/build_mod/2.6.x/kcl_ioctl.o
108 > >
109 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
110 > >glrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_EvalObject':
111 > >
112 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
113 > >glrx/build_mod/2.6.x/kcl_acpi.c:229: error: dereferencing pointer to
114 > > incomplete type
115 > >
116 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
117 > >glrx/build_mod/2.6.x/kcl_acpi.c:255: error: dereferencing pointer to
118 > > incomplete type
119 > >
120 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
121 > >glrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_GetNotifyHandler':
122 > >
123 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
124 > >glrx/build_mod/2.6.x/kcl_acpi.c:483: error: dereferencing pointer to
125 > > incomplete type
126 > >
127 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
128 > >glrx/build_mod/2.6.x/kcl_acpi.c:485: error: dereferencing pointer to
129 > > incomplete type
130 > >
131 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
132 > >glrx/build_mod/2.6.x/kcl_acpi.c:487: error: dereferencing pointer to
133 > > incomplete type
134 > >
135 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
136 > >glrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_GetNotifyContext':
137 > >
138 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
139 > >glrx/build_mod/2.6.x/kcl_acpi.c:510: error: dereferencing pointer to
140 > > incomplete type
141 > >
142 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
143 > >glrx/build_mod/2.6.x/kcl_acpi.c:512: error: dereferencing pointer to
144 > > incomplete type
145 > >
146 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
147 > >glrx/build_mod/2.6.x/kcl_acpi.c:514: error: dereferencing pointer to
148 > > incomplete type
149 > >
150 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
151 > >glrx/build_mod/2.6.x/kcl_acpi.c: In function
152 > 'KCL_ACPI_UpdateNotifyHandler':
153 > >
154 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
155 > >glrx/build_mod/2.6.x/kcl_acpi.c:538: error: dereferencing pointer to
156 > > incomplete type
157 > >
158 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
159 > >glrx/build_mod/2.6.x/kcl_acpi.c:538: error: dereferencing pointer to
160 > > incomplete type
161 > >
162 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
163 > >glrx/build_mod/2.6.x/kcl_acpi.c:540: error: dereferencing pointer to
164 > > incomplete type
165 > >
166 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
167 > >glrx/build_mod/2.6.x/kcl_acpi.c: In function
168 > 'KCL_ACPI_UpdateNotifyContext':
169 > >
170 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
171 > >glrx/build_mod/2.6.x/kcl_acpi.c:557: error: dereferencing pointer to
172 > > incomplete type
173 > >
174 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
175 > >glrx/build_mod/2.6.x/kcl_acpi.c:557: error: dereferencing pointer to
176 > > incomplete type
177 > >
178 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
179 > >glrx/build_mod/2.6.x/kcl_acpi.c:559: error: dereferencing pointer to
180 > > incomplete type
181 > > make[2]: ***
182 > >
183 > [/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/
184 > >fglrx/build_mod/2.6.x/kcl_acpi.o] Error 1
185 > > make[2]: *** Waiting for unfinished jobs....
186 > >
187 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
188 > >glrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_GetEffectiveUid':
189 > >
190 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
191 > >glrx/build_mod/2.6.x/firegl_public.c:1429: error: 'struct task_struct' has
192 > > no member named 'euid'
193 > >
194 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
195 > >glrx/build_mod/2.6.x/firegl_public.c: In function
196 > > 'KCL_PosixSecurityCapSetIPCLock':
197 > >
198 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
199 > >glrx/build_mod/2.6.x/firegl_public.c:1784: error: 'struct task_struct' has
200 > > no member named 'cap_effective'
201 > >
202 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
203 > >glrx/build_mod/2.6.x/firegl_public.c:1788: error: 'struct task_struct' has
204 > > no member named 'cap_effective'
205 > >
206 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
207 > >glrx/build_mod/2.6.x/firegl_public.c: In function '__ke_vm_phys_addr_str':
208 > >
209 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
210 > >glrx/build_mod/2.6.x/firegl_public.c:3206: warning: return makes pointer
211 > > from integer without a cast
212 > >
213 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
214 > >glrx/build_mod/2.6.x/firegl_public.c:3207: warning: return makes pointer
215 > > from integer without a cast
216 > >
217 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
218 > >glrx/build_mod/2.6.x/firegl_public.c:3208: warning: return makes pointer
219 > > from integer without a cast
220 > >
221 > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f
222 > >glrx/build_mod/2.6.x/firegl_public.c:3210: warning: return makes pointer
223 > > from integer without a cast
224 > > make[2]: ***
225 > >
226 > [/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/
227 > >fglrx/build_mod/2.6.x/firegl_public.o] Error 1
228 > > make[1]: ***
229 > >
230 > [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/
231 > >modules/fglrx/build_mod/2.6.x] Error 2
232 > > make[1]: Leaving directory `/usr/src/linux-2.6.29-gentoo-r5'
233 > > make: *** [kmod_build] Error 2
234 > > *
235 > > * ERROR: x11-drivers/ati-drivers-8.552-r2 failed.
236 > > * Call stack:
237 > > * ebuild.sh, line 48: Called src_compile
238 > > * environment, line 3410: Called linux-mod_src_compile
239 > > * environment, line 2596: Called die
240 > > * The specific snippet of code:
241 > > * eval "emake HOSTCC="$(tc-getBUILD_CC)"
242 > > CROSS_COMPILE=${CHOST}-
243 > > LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS}
244 > > ${BUILD_TARGETS} " || die "Unable to emake
245 > > HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}-
246 > > LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS}
247 > > ${BUILD_TARGETS}";
248 > > * The die message:
249 > > * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc
250 > > CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4
251 > > KVER=2.6.29-gentoo-r5 KDIR=/usr/src/linux kmod_build
252 > > *
253 > > * If you need support, post the topmost build error, and the call stack
254 > if
255 > > relevant.
256 > > * A complete build log is located at
257 > > '/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/temp/build.log'.
258 > > * The ebuild environment file is located at
259 > > '/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/temp/environment'.
260 > > *
261 > >
262 > > Any ideas?
263 > >
264 > > There are many bugs listed on line but very few resolutions.
265 > >
266 > > Regards,
267 >
268 > yes, the driver is from the stone ages. Since binary drivers like ati's
269 > can't
270 > really be recompiled they become incompatible with newer kernel releases
271 > over
272 > time. In fact no released ati driver is compatible with 2.6.29 at the
273 > moment.
274 > Even the latest one (out for weeks but still not in portage), need a patch
275 > to
276 > compile against 2.6.29.
277 >
278 > So you have several possible ways to go:
279 > - stay with the old, buggy driver and an old kernel.
280 > - install a slightly newer driver and use 2.6.27 or 2.6.28.
281 > - download this:
282 > http://rapidshare.com/files/238417338/ati-drivers.tbz
283 >
284 > unpack in your overlay/x11-drivers directory (probably
285 > /usr/local/portage/x11-
286 > drivers)
287 >
288 > add =x11-drivers/ati-drivers-8.612 ** to /etc/portage/package.keywords
289 > emerge the drivers.
290 >
291 > That said, the ati driver versions in portage are all outdated. This sucks
292 > A
293 > LOT. And that a driver that is very buggy, whose ebuild was buggy and who
294 > is
295 > from somewhere summer/fall last year is hilarious - in a very sad way.
296 >
297 >
298
299
300 --
301 Hazen Valliant-Saunders
302 IT/IS Consultant
303 (613) 355-5977

Replies

Subject Author
Re: [gentoo-user] Ati-drivers emerge fails. Volker Armin Hemmann <volkerarmin@××××××××××.com>