Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186586 - ati-drivers-8.37.6-r1 dont compile with 2.6.22-r1
Summary: ati-drivers-8.37.6-r1 dont compile with 2.6.22-r1
Status: RESOLVED DUPLICATE of bug 182597
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-25 13:46 UTC by sg313
Modified: 2007-07-25 14:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sg313 2007-07-25 13:46:46 UTC
ati-drivers-8.37.6-r1 dont compile with 2.6.22-r1 due to missing file
/usr/src/linux/inculde/linux/ioctl32.h in kernel.
I was updating from the 2.6.20 release, so i don't know if this is an issue
for 2.6.21 as well.

I consider this an upstream bug.

If you need the drivers I have attached a patch, which fixes the includes to use ioctl.h instead.
Note that gcc complains about some pointer casting (im using gcc-4.1.2).
At this point i cant say wether it is dangerous to use this patch, but ATM im using the driver anyway and it works.

HTH


Reproducible: Always

Steps to Reproduce:
1. get gentoo-sources-2.6.22-r1
2. try to emerge ati-drivers
   -> won't compile

Actual Results:  
Breaks due to missing ioctl32.h

Expected Results:  
Compile.
Comment 1 sg313 2007-07-25 13:48:25 UTC
Oh, forgot to mention:
This is an AMD64 issue. (I have seen the #if guards in the header)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-07-25 13:49:41 UTC

*** This bug has been marked as a duplicate of bug 182597 ***
Comment 3 sg313 2007-07-25 14:04:38 UTC
(In reply to comment #2)
> 
> *** This bug has been marked as a duplicate of bug 182597 ***
> 

ups-- didn't search for the description without the -8.37.6 postfix,
sorry for the noise ;)