[Openchrome-devel] HRTIMER_CB_SOFTIRQ not more available in kernel 2.6.29

Thomas Hellström thomas
Tue Feb 3 23:07:15 PST 2009


Stephan Raue wrote:
> Thomas Hellstr?m schrieb:
>> Hi, Stephan,
>>
>> Stephan Raue wrote:
>>> Hi,
>>>
>>> when i build libdrm-newttm-svn  with kernel(headers) 2.6.29 i become 
>>> follow error - can you fix this?
>>>
>>> Stephan
>>>
>>>  CC [M]  
>>> /home/stephan/OpenELEC/build.i386.uClibc/libdrm-newttm-svn-20090128/linux-core/openchrome/via_init.o 
>>>
>>> /home/stephan/OpenELEC/build.i386.uClibc/libdrm-newttm-svn-20090128/linux-core/openchrome/via_init.c: 
>>> In function 'via_driver_load':
>>> /home/stephan/OpenELEC/build.i386.uClibc/libdrm-newttm-svn-20090128/linux-core/openchrome/via_init.c:666: 
>>> error: 'struct hrtimer' has no member named 'cb_mode'
>>> /home/stephan/OpenELEC/build.i386.uClibc/libdrm-newttm-svn-20090128/linux-core/openchrome/via_init.c:666: 
>>> error: 'HRTIMER_CB_SOFTIRQ' undeclared (first use in this function)
>>> /home/stephan/OpenELEC/build.i386.uClibc/libdrm-newttm-svn-20090128/linux-core/openchrome/via_init.c:666: 
>>> error: (Each undeclared identifier is reported only once
>>> /home/stephan/OpenELEC/build.i386.uClibc/libdrm-newttm-svn-20090128/linux-core/openchrome/via_init.c:666: 
>>> error: for each function it appears in.)
>>> make[3]: *** 
>>> [/home/stephan/OpenELEC/build.i386.uClibc/libdrm-newttm-svn-20090128/linux-core/openchrome/via_init.o] 
>>> Error 1
>>> make[2]: *** 
>>> [/home/stephan/OpenELEC/build.i386.uClibc/libdrm-newttm-svn-20090128/linux-core/openchrome] 
>>> Error 2
>>> make[1]: *** 
>>> [_module_/home/stephan/OpenELEC/build.i386.uClibc/libdrm-newttm-svn-20090128/linux-core] 
>>> Error 2
>>> make[1]: Leaving directory 
>>> `/home/stephan/OpenELEC/build.i386.uClibc/linux-2.6.29-rc3'
>>> make: *** [modules] Error 2
>>> make: Leaving directory 
>>> `/home/stephan/OpenELEC/build.i386.uClibc/libdrm-newttm-svn-20090128/linux-core' 
>>>
>>>
>>>   
>> I haven't tried 2.6.29 yet, but this looks like errors that occured 
>> in earlier kernels, like 2.6.24 etc.
>> Can you please verify that you're building against 2.6.29?
>>
>> /Thomas
>>
>>
>>
> yes i have build against 2.6.29-rc3. with 2.6.28.2 it compiles.
>
> Stephan
OK, this should be fixed in latest DRM git.

Thanks,
Thomas





More information about the Openchrome-devel mailing list