Gentoo Archives: gentoo-user

From: Daniel D Jones <ddjones@××××××××××××.org>
To: gentoo-user@l.g.o
Cc: james <wireless@×××××××××××.com>
Subject: Re: [gentoo-user] ati-drivers
Date: Thu, 06 Sep 2007 01:29:41
Message-Id: 200709052117.09440.ddjones@riddlemaster.org
In Reply to: [gentoo-user] ati-drivers by james
1 On Sunday 02 September 2007 08:37:39 pm james wrote:
2 > Hello,
3 >
4 > Im installing a new dell laptop. Mostly the install has been routine.
5 > I cannot seem to get ati-drivers to install.
6 >
7 > bugs.gentoo.org did not reveal anything useful (not from what I read).
8 >
9 > Here is the error:
10 >
11 > /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
12 > modules/fglrx/build_mod/2.6.x/firegl_public.c:
13 > In function 'KAS_SlabCache_Initialize':
14 > /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
15 > modules/fglrx/build_mod/2.6.x/firegl_public.c:5037:
16 > warning: cast from pointer to integer of different size
17 > make[2]: ***
18 > [/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
19 > modules/fglrx/build_mod/2.6.x/firegl_public.o]
20 > Error 1
21 > make[1]: ***
22 > [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/
23 > common/lib/modules/fglrx/build_mod/2.6.x]
24 > Error 2
25 > make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r5'
26 > make: *** [kmod_build] Error 2
27 >
28 > !!! ERROR: x11-drivers/ati-drivers-8.35.5 failed.
29 > Call stack:
30 > ebuild.sh, line 1638: Called dyn_compile
31 > ebuild.sh, line 985: Called qa_call 'src_compile'
32 > ebuild.sh, line 44: Called src_compile
33 > ati-drivers-8.35.5.ebuild, line 170: Called linux-mod_src_compile
34 > linux-mod.eclass, line 516: Called die
35 >
36 > !!! Unable to make GCC_VER_MAJ=4 KVER=2.6.22-gentoo-r5 KDIR=/usr/src/linux
37 > kmod_build.
38 >
39 >
40 >
41 > so I thought I'd just add an entry to /etc/portage/package.keywords and try
42 > another version (8.39.4) that works fine on another system.
43 >
44 > On the del laptop I cannot get the system to try another ati-drivers
45 > version, despite addiing this to the /etc/portagae/package.keywords file:
46 > x11-drivers/ati-drivers ~amd64
47 >
48 > Identical to what I have on other systems. I lookedin
49 > /usr/portage/distfiles and only found this ati file on the portable:
50 > ati-driver-installer-8.35.5-x86.x86_64.run
51 >
52 > so I downloaded the other files from a similar amd 64 system where I use
53 > ati-drivers:
54 > ati-driver-installer-8.27.10-x86_64.run
55 > ati-driver-installer-8.30.3.run
56 > ati-driver-installer-8.32.5-x86.x86_64.run
57 > ati-driver-installer-8.33.6-x86.x86_64.run
58 > ati-driver-installer-8.34.8-x86.x86_64.run
59 > ati-driver-installer-8.36.5-x86.x86_64.run
60 > ati-driver-installer-8.37.6-x86.x86_64.run
61 > ati-driver-installer-8.39.4-x86.x86_64.run
62 > ati-driver-installer-8.40.4-x86.x86_64.run
63 >
64 >
65 > Still I compiling ati-drivers-8.36.5 fails and I cannot even get the
66 > dell laptop to try another version of ati-drivers. I recompiled gcc,
67 > just for grins. Did nothing to help (4.1.2).
68 >
69 > revdep-rebuild comes back clean. Since it is a new install, I mostly
70 > missed something, xorg-x11 is there. No clue.
71 >
72 > Ideas?
73
74 Try issuing the following command:
75
76 ln -s /usr/src/linux/include/linux/ioctl.h /usr/src/linux/include/linux/ioctl32.h
77
78 then recompiling.
79
80 --
81 gentoo-user@g.o mailing list