linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Carlos Salvador Pérez Salgado" <carlosalvatore@gmail.com>
To: Hauke Mehrtens <hauke@hauke-m.de>
Cc: "Luis R. Rodriguez" <mcgrof@gmail.com>, linux-wireless@vger.kernel.org
Subject: Re: compat-wireless-2.6.35-rc6 won't build
Date: Sun, 05 Sep 2010 01:07:52 -0500	[thread overview]
Message-ID: <4C8333B8.5010501@gmail.com> (raw)
In-Reply-To: <4C827584.7010203@hauke-m.de>

On 09/04/2010 11:36 AM, Hauke Mehrtens wrote:
> Am 02.09.2010 09:17, schrieb Luis R. Rodriguez:
>    
>> 2010/9/1 Carlos Salvador Pérez Salgado<carlosalvatore@gmail.com>:
>>      
>>> On 08/31/2010 11:28 AM, Carlos Salvador Pérez Salgado wrote:
>>>        
>>>> On 08/31/2010 10:32 AM, Luis R. Rodriguez wrote:
>>>>          
>>>>> 2010/8/31 Carlos Salvador Pérez Salgado<carlosalvatore@gmail.com>:
>>>>>            
>>>>>> Do you have a better idea of how can I fix that? I'll really appreciate
>>>>>> it.
>>>>>>              
>>>>> Yeah, try to compat-wireless-2.6.36-rc2 ...
>>>>>
>>>>>    Luis
>>>>>
>>>>>            
>>>> Nope... the same error...
>>>>
>>>>
>>>>   LD
>>>>   /media/disk/temp/compat-wireless-2.6.36-rc2-1/net/rfkill/built-in.o
>>>>   LD
>>>>   /media/disk/temp/compat-wireless-2.6.36-rc2-1/net/wireless/built-in.o
>>>>   CC [M]  /media/disk/temp/compat-wireless-2.6.36-rc2-1/net/wireless/core.o
>>>> /media/disk/temp/compat-wireless-2.6.36-rc2-1/net/wireless/core.c: In
>>>> function ‘cfg80211_netdev_notifier_call’:
>>>> /media/disk/temp/compat-wireless-2.6.36-rc2-1/net/wireless/core.c:705:
>>>> error: ‘struct net_device’ has no member named ‘wireless_handlers’
>>>> /media/disk/temp/compat-wireless-2.6.36-rc2-1/net/wireless/core.c:706:
>>>> error: ‘struct net_device’ has no member named ‘wireless_handlers’
>>>> make[3]: ***
>>>> [/media/disk/temp/compat-wireless-2.6.36-rc2-1/net/wireless/core.o] Error 1
>>>> make[2]: *** [/media/disk/temp/compat-wireless-2.6.36-rc2-1/net/wireless]
>>>> Error 2
>>>> make[1]: *** [_module_/media/disk/temp/compat-wireless-2.6.36-rc2-1] Error
>>>> 2
>>>> make[1]: Leaving directory `/media/disk/temp/linux-2.6.35.4'
>>>> make: *** [modules] Error 2
>>>>
>>>> That didn't help. I hope you can give me another idea.
>>>> Thanks.
>>>>          
>>> So...? What should I do?
>>>        
>> Sorry, I have not have had time to test compile against 2.6.35, but
>> when I do I will let you know.
>>
>>    Luis
>>      
> Hi,
>
> I was able to reproduce the problem. In the kernel configuration
> CONFIG_WIRELESS_EXT=n and CONFIG_CFG80211_WEXT=y are set.
> compat-wireless uses the old wireless_handlers attribute for the wext
> handlers interface, but this is only activated if CONFIG_WIRELESS_EXT=y
> is set.
> We can not use the new interface through struct wiphy that cfg80211_wext
> normally uses. The struct is shipped by compat-wireless and changed
> ofter with different kernel versions, so the pointers do not point to
> the correct position when using two different versions of this strcut.
> compat-wireless should *always* deactivates CONFIG_CFG80211_WEXT if
> CONFIG_WIRELESS_EXT is not set. I got our compat_autoconf.h to overwirte
> the kernels autoconf.h by add it to LINUXINCLUDE, but I have not found a
> way how to disable CONFIG_WIRELESS_EXT in the makefile if it was set in
> the kernel because config.mk is pared before the kernel configuration is
> parsed. An other way would be to rename CONFIG_WIRELESS_EXT to something
> else in compat-wireless to prevent the kernel from overwriting this value.
>
> There will be no way to support cfg80211_wext without a kernel
> configured with CONFIG_CFG80211_WEXT=y.
>
> Hauke
>
>    
So, as far as I got it, it won't work until a patch is submitted in 
compat-wireless? I'll try to build my kernel using the config you 
suggested and I'll tell you how does it goes.
Thanks.

  reply	other threads:[~2010-09-05  6:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-31 14:55 compat-wireless-2.6.35-rc6 won't build Carlos Salvador Pérez Salgado
2010-08-31 15:32 ` Luis R. Rodriguez
2010-08-31 16:28   ` Carlos Salvador Pérez Salgado
2010-09-02  4:13     ` Carlos Salvador Pérez Salgado
2010-09-02  7:17       ` Luis R. Rodriguez
2010-09-04 16:36         ` Hauke Mehrtens
2010-09-05  6:07           ` Carlos Salvador Pérez Salgado [this message]
2010-09-15  5:14           ` Carlos Salvador Pérez Salgado
2010-09-15 16:55             ` Carlos Salvador Pérez Salgado
  -- strict thread matches above, loose matches on Subject: below --
2010-08-31  7:54 Carlos Salvador Pérez Salgado
2010-08-31  8:01 ` Luis R. Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C8333B8.5010501@gmail.com \
    --to=carlosalvatore@gmail.com \
    --cc=hauke@hauke-m.de \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mcgrof@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).