Skip to contentSkip to conversation

Error compiling intel mac80211-10.0.2

DISCUSSION Max 2 participants 2 messages Nov 25, 2007 – Nov 26, 2007

lore
Share & tools
lore

Max

author
#0 lore raw

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

#1 lore raw
Quoted 3 lines · Max

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].

Quoted 18 lines

...
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
                }
        }
Quoted 3 lines

......

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