Failure to get fglrx to build using Maverick kernel (kernel ppa)

Christopher Chan christopher.chan at bradbury.edu.hk
Tue Sep 14 03:52:53 UTC 2010


On Tuesday, September 14, 2010 11:22 AM, Deryl R. Doucette wrote:
> On 10-09-13 11:04 PM, Christopher Chan wrote:
>> On Tuesday, September 14, 2010 10:53 AM, Deryl R. Doucette wrote:
>>> On 10-09-13 07:45 PM, Christopher Chan wrote:
>>>> On Tuesday, September 14, 2010 05:47 AM, Deryl R. Doucette wrote:
>>>>> Hi all,
>>>>>
>>>>> I've added the ppa kernel/ppa entry and updated my pkg cache. I downloaded:
>>>>>
>>>>> linux-headers-2.6.35-19
>>>>> linux-headers-2.6.35-19-generic
>>>>> linux-image-2.6.35-19-generic
>>>>>
>>>>> When I tried to build the fglrx ATI kernel module, I ran into the
>>>>> problem that the module would not build because it could not find the
>>>>> proper headers. Is there a variable or something I need to prepopulate
>>>>> to make it work, such that it can tell what kernel headers are to be used?
>>>>>
>>>>>
>>>>
>>>> Are you already running 2.6.35-19? Is there a symlink to the headers
>>>> from the appropriate modules directory?
>>>>
>>>
>>> Did not realize that I had to symlink *anything* when using the
>>> packages. I know I do for source tarballs, but the packages are supposed
>>> to do that automatically.
>>>
>>
>> I am not saying you have to...I was asking whether it was there. If not,
>> and the kernel headers are in place, then the kernel/kernel headers
>> packager needs some flogging.
>>
>
> i'm gonna have to work on this. I'm going to use apt to download the
> sources for everything and play from there. I really need to look at how
> the kernel ppa debs do their thing. (I'm an old slackware boy when
> EVERYTHING was done by hand, and I'm sort of caught in between pkg
> management and hand crafting)
>
> Thanks though. I think I'll try one more time and rerecord the errors
> and see what the hell its bitching about specifically. It looks like
> it's looking for some env var to be set describing the kernel it should
> be built against, but that would negate multiple kernel installs for
> DKMS modules if that were true.
>

You would have to build for each specific version of the kernel. If you 
are building for the current running kernel and the headers are in 
place, then it should have gone through. If you are building for another 
kernel version, then you have to tell it where to find the headers, of 
which a symlink in the appropriate version's module directory will do if 
the headers are installed.

fglrx now supports DKMS? (sorry...been a LONG while since I last used an 
ATI card)




More information about the ubuntu-users mailing list