Re: compile problem with 2.6.36 kernel

Pavel Roskin <[email protected]> Wed, 02 Feb 2011 16:30:42 -0500
Newsgroups gmane.linux.drivers.madwifi.user
Message-ID <[email protected]>
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