Build Error with v2.6.33-rc1 and madwifi-hal-0.10.5.6-r4100-20090929

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Build Error with v2.6.33-rc1 and madwifi-hal-0.10.5.6-r4100-20090929

blaise
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.33-rc1-candela/build SUBDIRS=/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.33-rc1-candela'
  CC [M]  /home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.o
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:10985: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:10985: error: 'CTL_UNNUMBERED' undeclared here (not in a function)
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:10991: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:10997: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11003: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11009: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11015: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11021: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11027: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11033: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11040: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11047: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11053: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11059: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11065: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11071: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11078: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11084: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11091: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11097: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11103: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11109: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11115: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11121: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11127: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11133: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11139: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11145: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11151: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c: In function 'ath_dynamic_sysctl_register':
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11194: error: 'struct ctl_table' has no member named 'ctl_name'
cc1: warnings being treated as errors
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11194: error: statement with no effect
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11199: error: 'struct ctl_table' has no member named 'ctl_name'
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11199: error: statement with no effect
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c: At top level:
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11316: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11316: error: initializer element is not constant
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11316: error: (near initialization for 'ath_static_sysctls[0].procname')
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11324: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11324: error: initializer element is not constant
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11324: error: (near initialization for 'ath_static_sysctls[1].procname')
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11331: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11331: error: initializer element is not constant
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11331: error: (near initialization for 'ath_static_sysctls[2].procname')
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11338: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11338: error: initializer element is not constant
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11338: error: (near initialization for 'ath_static_sysctls[3].procname')
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11345: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11345: error: initializer element is not constant
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11345: error: (near initialization for 'ath_static_sysctls[4].procname')
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11355: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11355: error: initializer element is not constant
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11355: error: (near initialization for 'ath_ath_table[0].procname')
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11362: error: unknown field 'ctl_name' specified in initializer
/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:11362: error: initialization makes pointer from integer without a cast
make[3]: *** [/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.o] Error 1
make[2]: *** [/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath] Error 2
make[1]: *** [_module_/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.33-rc1-candela'
make: *** [modules] Error 2
Reply | Threaded
Open this post in threaded view
|

Re: Build Error with v2.6.33-rc1 and madwifi-hal-0.10.5.6-r4100-20090929

Pavel Roskin
On Fri, 2009-12-18 at 14:18 -0800, blaise wrote:
> Checking requirements... ok.
> Checking kernel configuration... ok.
> make -C /lib/modules/2.6.33-rc1-candela/build
> SUBDIRS=/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929 modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.33-rc1-candela'
>   CC [M]
> /home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.o
> /home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:10985:
> error: unknown field 'ctl_name' specified in initializer

Thanks for the report!  Indeed, ctl_name is gone in 2.6.33-rc1.  That
affects all branches and the trunk.

After removing all references to ctl_name, MadWifi compiles, so that
appears the only problem with 2.6.33-rc1.

--
Regards,
Pavel Roskin

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Madwifi-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/madwifi-users
Reply | Threaded
Open this post in threaded view
|

Re: Build Error with v2.6.33-rc1 and madwifi-hal-0.10.5.6-r4100-20090929

blaise
Pavel Roskin wrote
On Fri, 2009-12-18 at 14:18 -0800, blaise wrote:
> Checking requirements... ok.
> Checking kernel configuration... ok.
> make -C /lib/modules/2.6.33-rc1-candela/build
> SUBDIRS=/home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929 modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.33-rc1-candela'
>   CC [M]
> /home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.o
> /home/foo/Documents/madwifi-hal-0.10.5.6-r4100-20090929/ath/if_ath.c:10985:
> error: unknown field 'ctl_name' specified in initializer

Thanks for the report!  Indeed, ctl_name is gone in 2.6.33-rc1.  That
affects all branches and the trunk.

After removing all references to ctl_name, MadWifi compiles, so that
appears the only problem with 2.6.33-rc1.

--
Regards,
Pavel Roskin

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Madwifi-users mailing list
Madwifi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/madwifi-users
diff patch maybe?
Reply | Threaded
Open this post in threaded view
|

Re: Build Error with v2.6.33-rc1 and madwifi-hal-0.10.5.6-r4100-20090929

Pavel Roskin
On Fri, 2009-12-18 at 17:12 -0800, blaise wrote:

> diff patch maybe?

Sure.  Just please test the sysctl functionality.

--
Regards,
Pavel Roskin

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Madwifi-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/madwifi-users