On Sunday 02 September 2007 08:37:39 pm james wrote:
> Hello,
>
> Im installing a new dell laptop. Mostly the install has been routine.
> I cannot seem to get ati-drivers to install.
>
> bugs.gentoo.org did not reveal anything useful (not from what I read).
>
> Here is the error:
>
> /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
> modules/fglrx/build_mod/2.6.x/firegl_public.c:
> In function 'KAS_SlabCache_Initialize':
> /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
> modules/fglrx/build_mod/2.6.x/firegl_public.c:5037:
> warning: cast from pointer to integer of different size
> make[2]: ***
> [/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
> modules/fglrx/build_mod/2.6.x/firegl_public.o]
> Error 1
> make[1]: ***
> [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/
> common/lib/modules/fglrx/build_mod/2.6.x]
> Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r5'
> make: *** [kmod_build] Error 2
>
> !!! ERROR: x11-drivers/ati-drivers-8.35.5 failed.
> Call stack:
>   ebuild.sh, line 1638:   Called dyn_compile
>   ebuild.sh, line 985:   Called qa_call 'src_compile'
>   ebuild.sh, line 44:   Called src_compile
>   ati-drivers-8.35.5.ebuild, line 170:   Called linux-mod_src_compile
>   linux-mod.eclass, line 516:   Called die
>
> !!! Unable to make  GCC_VER_MAJ=4 KVER=2.6.22-gentoo-r5 KDIR=/usr/src/linux
> kmod_build.
>
>
>
> so I thought I'd just add an entry to /etc/portage/package.keywords and try
> another version (8.39.4) that works fine on another system.
>
> On the del laptop I cannot get  the system to try another ati-drivers
> version, despite  addiing this to the /etc/portagae/package.keywords file:
> x11-drivers/ati-drivers         ~amd64
>
> Identical to what I have on other systems. I lookedin
> /usr/portage/distfiles and only found this ati file on the portable:
> ati-driver-installer-8.35.5-x86.x86_64.run
>
> so I downloaded the other files from a similar amd 64 system where I use
> ati-drivers:
> ati-driver-installer-8.27.10-x86_64.run
> ati-driver-installer-8.30.3.run
> ati-driver-installer-8.32.5-x86.x86_64.run
> ati-driver-installer-8.33.6-x86.x86_64.run
> ati-driver-installer-8.34.8-x86.x86_64.run
> ati-driver-installer-8.36.5-x86.x86_64.run
> ati-driver-installer-8.37.6-x86.x86_64.run
> ati-driver-installer-8.39.4-x86.x86_64.run
> ati-driver-installer-8.40.4-x86.x86_64.run
>
>
> Still  I compiling ati-drivers-8.36.5 fails and I cannot even get the
> dell laptop to try another version of ati-drivers. I recompiled gcc,
> just for grins. Did nothing to help (4.1.2).
>
> revdep-rebuild comes back clean. Since it is a new install, I mostly
> missed something, xorg-x11 is there. No clue.
>
> Ideas?

Try issuing the following command:

ln -s /usr/src/linux/include/linux/ioctl.h 
/usr/src/linux/include/linux/ioctl32.h

then recompiling.

-- 
[EMAIL PROTECTED] mailing list

Reply via email to