2009-06-09 00:11:36

by Hin-Tak Leung

[permalink] [raw]
Subject: Re: compile error compat-wireless kernel 2.6.28

On Sun, Jun 7, 2009 at 7:35 PM, Jorge Mu?oz<[email protected]> wrote:
> I tried to compile compat-wireless-2009-06-05 package and I saw this error
> message? "field 'ops' has an incomplete data type".
> I've got installed ubuntu 9.04 distro based, kernel 2.6.28-11-generic,
> linux-headers-2.6.28-11-generic and build-essential package.
> I have done this several ways with kernel 2.6.27-11-generic succesfully just
> by typing $make, #make install, #make unload (trivial).
>
> These are compilation output messages
> --------------------------------
> jorgeroden@jorgeroden-laptop:~/driversWifi/compat-wireless-2009-06-05$ make
> make -C /lib/modules/2.6.28-11-generic/build
> M=/home/jorgeroden/driversWifi/compat-wireless-2009-06-05 modules
> make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.28-11-generic'
> ? CC [M]
> /home/jorgeroden/driversWifi/compat-wireless-2009-06-05/drivers/net/wireless/ath/ath9k/hw.o
> In file included from
> /home/jorgeroden/driversWifi/compat-wireless-2009-06-05/drivers/net/wireless/ath/ath9k/hw.c:20:
> /home/jorgeroden/driversWifi/compat-wireless-2009-06-05/drivers/net/wireless/ath/ath9k/ath9k.h:469:
> error: el campo ?ops? tiene tipo de dato incompleto
> make[5]: ***
> [/home/jorgeroden/driversWifi/compat-wireless-2009-06-05/drivers/net/wireless/ath/ath9k/hw.o]
> Error 1
> make[4]: ***
> [/home/jorgeroden/driversWifi/compat-wireless-2009-06-05/drivers/net/wireless/ath/ath9k]
> Error 2
> make[3]: ***
> [/home/jorgeroden/driversWifi/compat-wireless-2009-06-05/drivers/net/wireless/ath]
> Error 2
> make[2]: ***
> [/home/jorgeroden/driversWifi/compat-wireless-2009-06-05/drivers/net/wireless]
> Error 2
> make[1]: ***
> [_module_/home/jorgeroden/driversWifi/compat-wireless-2009-06-05] Error 2
> make[1]: se sale del directorio `/usr/src/linux-headers-2.6.28-11-generic'
> make: *** [modules] Error 2
> --------------------------
> Thanks
>
> --
> http://www.jorgeroden.blogspot.com
> FSF member 5687
>
>
>
> --
> http://www.jorgeroden.blogspot.com
> FSF member 5687
>


Look at the compat-wireless rfkill discussion in the mailing list
archive. Basically you need to revert the rkfill patch.