compile problem with 2.6.36 kernel

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

compile problem with 2.6.36 kernel

James Lockie

I tried compiling the svn trunk and I got this error:
Checking kernel configuration... FAILED
Please enable wireless extensions.
I have enabled:
cfg80211 wireless extensions compatibility

I commented out the check and I got a compile error:
  CC [M]
/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.o
/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5747:
error: unknown field 'private' specified in initializer
cc1: warnings being treated as errors
/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5747:
error: initialization from incompatible pointer type
/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5748:
error: unknown field 'num_private' specified in initializer
/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5748:
error: excess elements in struct initializer
/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5748:
error: (near initialization for 'ieee80211_iw_handler_def')
/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5749:
error: unknown field 'private_args' specified in initializer
/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5749:
error: excess elements in struct initializer
/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5749:
error: (near initialization for 'ieee80211_iw_handler_def')
/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5750:
error: unknown field 'num_private_args' specified in initializer
/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5750:
error: excess elements in struct initializer
/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5750:
error: (near initialization for 'ieee80211_iw_handler_def')
/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:
In function 'ieee80211_ioctl_vattach':
/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5838:
error: 'struct net_device' has no member named 'wireless_handlers'
make[3]: ***
[/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.o]
Error 1
make[2]: ***
[/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211]
Error 2
make[1]: ***
[_module_/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202]
Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.36'
make: *** [modules] Error 2


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Madwifi-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/madwifi-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: compile problem with 2.6.36 kernel

Dennis Borgmann
Hello James!

madwifi_trunk is not yet ported to 2.6.36. See the last three
svn-checkin logs:

<snip>
------------------------------------------------------------------------
r4132 | proski | 2010-06-19 20:27:20 +0200 (Sa, 19. Jun 2010)
Fix support for Linux 2.6.11, which lacks <linux/sort.h>
------------------------------------------------------------------------
r4131 | proski | 2010-06-19 20:26:01 +0200 (Sa, 19. Jun 2010)
Fix support for Linux 2.6.0 - 2.6.2, which lack netdev_priv()
------------------------------------------------------------------------
r4130 | proski | 2010-06-19 20:24:35 +0200 (Sa, 19. Jun 2010)
Add support for Linux 2.6.35
<snap>

Last madwifi check-in dated June 2010, but kernel 2.6.36 is dated
October 2010!

Therefore latest support has been done for 2.6.35. Maybe Pavel has some
more time somewhen, but I don't know, if he's working on it anymore at
all and updating for latest kernels. If not - try it on your own ;-) And
don't forget to tell Pavel in order to make your work available to all
the others wanting to run madwifi with 2.6.36...

Kind regards,
Dennis Borgmann

James L schrieb:

> I tried compiling the svn trunk and I got this error:
> Checking kernel configuration... FAILED
> Please enable wireless extensions.
> I have enabled:
> cfg80211 wireless extensions compatibility
>
> I commented out the check and I got a compile error:
>   CC [M]
> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.o
> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5747:
> error: unknown field 'private' specified in initializer
> cc1: warnings being treated as errors
> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5747:
> error: initialization from incompatible pointer type
> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5748:
> error: unknown field 'num_private' specified in initializer
> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5748:
> error: excess elements in struct initializer
> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5748:
> error: (near initialization for 'ieee80211_iw_handler_def')
> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5749:
> error: unknown field 'private_args' specified in initializer
> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5749:
> error: excess elements in struct initializer
> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5749:
> error: (near initialization for 'ieee80211_iw_handler_def')
> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5750:
> error: unknown field 'num_private_args' specified in initializer
> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5750:
> error: excess elements in struct initializer
> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5750:
> error: (near initialization for 'ieee80211_iw_handler_def')
> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:
> In function 'ieee80211_ioctl_vattach':
> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5838:
> error: 'struct net_device' has no member named 'wireless_handlers'
> make[3]: ***
> [/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.o]
> Error 1
> make[2]: ***
> [/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211]
> Error 2
> make[1]: ***
> [_module_/storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202]
> Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.36'
> make: *** [modules] Error 2
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Madwifi-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/madwifi-users
>  


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Madwifi-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/madwifi-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: compile problem with 2.6.36 kernel

Pavel Roskin
Hello!

Sorry for delay!

On 12/02/2010 03:43 AM, Dennis Borgmann wrote:

> Hello James!
>
> madwifi_trunk is not yet ported to 2.6.36. See the last three
> svn-checkin logs:
>
> <snip>
> ------------------------------------------------------------------------
> r4132 | proski | 2010-06-19 20:27:20 +0200 (Sa, 19. Jun 2010)
> Fix support for Linux 2.6.11, which lacks<linux/sort.h>
> ------------------------------------------------------------------------
> r4131 | proski | 2010-06-19 20:26:01 +0200 (Sa, 19. Jun 2010)
> Fix support for Linux 2.6.0 - 2.6.2, which lack netdev_priv()
> ------------------------------------------------------------------------
> r4130 | proski | 2010-06-19 20:24:35 +0200 (Sa, 19. Jun 2010)
> Add support for Linux 2.6.35
> <snap>
>
> Last madwifi check-in dated June 2010, but kernel 2.6.36 is dated
> October 2010!

There is no firm rule that madwifi must break with the next kernel.  It
depends on the changes made to the kernel.  In most cases madwifi keeps
working.

> Therefore latest support has been done for 2.6.35. Maybe Pavel has some
> more time somewhen, but I don't know, if he's working on it anymore at
> all and updating for latest kernels. If not - try it on your own ;-) And
> don't forget to tell Pavel in order to make your work available to all
> the others wanting to run madwifi with 2.6.36...

I'm not comfortable with being a bottleneck.  There are more team
members with commit privileges.

I've just committed a fix for the forthcoming 2.6.38 kernel, but it
should not affect 2.6.36.

>> I tried compiling the svn trunk and I got this error:
>> Checking kernel configuration... FAILED
>> Please enable wireless extensions.
>> I have enabled:
>> cfg80211 wireless extensions compatibility

That's not enough.  Please enable some driver that requires the real
wireless extensions.  CONFIG_IPW2100 should be OK.  You don't have to
use it, but it's the only way to enable wireless extensions.

I don't think MadWifi will be even ported to cfg80211.

>> I commented out the check and I got a compile error:
>>    CC [M]
>> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.o
>> /storage/downloads/linux/wireless/madwifi-0.9.4-r4166-20101202/net80211/ieee80211_wireless.c:5747:
>> error: unknown field 'private' specified in initializer

That's not surprising and it has nothing to do with me being lazy or
something.  The check is there for a reason.

--
Regards,
Pavel Roskin

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Madwifi-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/madwifi-users
Loading...