2007-11-25 06:41:05

by Max

[permalink] [raw]
Subject: Error compiling intel mac80211-10.0.2

Hi all,

I am trying to setup a Intel Corporation PRO/Wireless 3945ABG network adapter using the software provided in http://www.intellinuxwireless.org/. But I am getting the following error:

...
Checking kernel compatibility in:
/lib/modules/2.6.18/source//
! CONFIG_NET_WIRELESS_NETLINK can not be set in .config!
...

Which apparently gets triggered by the following lines in the "../mac80211-10.0.2/scripts/determine_compat" script
.....
grep -q "nlmsg_trim" \
${KSRC}include/net/netlink.h && {
export has_nlmsg_trim=1
} || {
grep -q "^CONFIG_NET_WIRELESS_RTNETLINK=[ym]" \
${KSRC}.config && {
echo " ! CONFIG_NET_WIRELESS_NETLINK can not be set in .config!"
exit 1
}
}
......

As you can see I am running kernel version 2.6.18.

Any help would be greatly appreciated.


Thanks and regards,

Max



____________________________________________________________________________________
Be a better sports nut! Let your teams follow you
with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ


2007-11-26 01:35:35

by Zhu Yi

[permalink] [raw]
Subject: Re: Error compiling intel mac80211-10.0.2


On Sat, 2007-11-24 at 22:34 -0800, Max wrote:
> Hi all,
>
> I am trying to setup a Intel Corporation PRO/Wireless 3945ABG network adapter using the software provided in http://www.intellinuxwireless.org/. But I am getting the following error:

Since this question doesn't relate to upstream mac80211, I'd suggest you
only post it to [email protected].

> ...
> Checking kernel compatibility in:
> /lib/modules/2.6.18/source//
> ! CONFIG_NET_WIRELESS_NETLINK can not be set in .config!
> ...
>
> Which apparently gets triggered by the following lines in the "../mac80211-10.0.2/scripts/determine_compat" script
> .....
> grep -q "nlmsg_trim" \
> ${KSRC}include/net/netlink.h && {
> export has_nlmsg_trim=1
> } || {
> grep -q "^CONFIG_NET_WIRELESS_RTNETLINK=[ym]" \
> ${KSRC}.config && {
> echo " ! CONFIG_NET_WIRELESS_NETLINK can not be set in .config!"
> exit 1
> }
> }
> ......
>
> As you can see I am running kernel version 2.6.18.

The code mac80211-10.0.2 integrated doesn't work with
CONFIG_NET_WIRELESS_RTNETLINK enabled. You should deselect it from your
kernel config file.

Thanks,
-yi