← Back to team overview

sony-vaio-z-series team mailing list archive

Re: sony-laptop.c doesn't compile with kernel 2.6.29

 

Bernd,

On Tuesday 24 March 2009 11:35:16 Bernd Eggink wrote:
> Hm - with kernel 2.6.29 I get:
>
> -------------------------------------------------------------------
> make -C /lib/modules/2.6.29/build
> SUBDIRS=/local/soft/sony-laptop-zseries-0.7 modules
> make[1]: Entering directory `/usr/src/linux-2.6.29'
>    CC [M]  /local/soft/sony-laptop-zseries-0.7/sony-laptop.o
> /local/soft/sony-laptop-zseries-0.7/sony-laptop.c: In function
> 'sony_walk_callback':
> /local/soft/sony-laptop-zseries-0.7/sony-laptop.c:1106: error:
> dereferencing pointer to incomplete type
> /local/soft/sony-laptop-zseries-0.7/sony-laptop.c:1108: error:
> dereferencing pointer to incomplete type
> /local/soft/sony-laptop-zseries-0.7/sony-laptop.c:1109: error:
> dereferencing pointer to incomplete type
> make[2]: *** [/local/soft/sony-laptop-zseries-0.7/sony-laptop.o] Error 1
> make[1]: *** [_module_/local/soft/sony-laptop-zseries-0.7] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.29'
> make: *** [default] Error 2
> -------------------------------------------------------------------

You can copy the code from the stock 2.6.29 sony-laptop.c and replace the 
function. You can also ask Norbert Preining (also subscribed here) for the 
latest version of his work, which should work fine on 2.6.29.

There has been a lot of movement around the sony-laptop module this week and 
good progress has been achieved especially for hotkey functionality, thanks to 
Norbert and Matthew Garret. I'll pick this up next weekend and we'll make a 
release including all these changes, with some provision to make it compile 
also on 2.6.29 kernel.

regards,
	matthias





References