mac80211 "wme.c:398" error
Hi,
My name is Pawel Bieniek, and I'm new on this list.
Today I was trying to compile mac80211 into my kernel (2.6.21.4) on archlinux. I need it to run intel 4965AGN on my toshiba satelite A200 notebook.
Unfortunately, it returns an error during compilation:
net/mac80211/wme.c: In function 'wme_qdiscop_destroy':net/mac80211/wme.c:358: warning: implicit declaration of function 'tcf_destroy_chain'net/mac80211/wme.c: In function 'wme_qdiscop_init':net/mac80211/wme.c:398: warning: dereferencing 'void *' pointer net/mac80211/wme.c:398: error: request for member 'wiphy' in something not a structure or union
Could someone help me handle with this?
Regards,
Pawel
Quoted 9 lines · zergavis
net/mac80211/wme.c: In function 'wme_qdiscop_destroy':net/mac80211/wme.c:358: warning: implicit declaration of function 'tcf_destroy_chain'net/mac80211/wme.c: In function 'wme_qdiscop_init':net/mac80211/wme.c:398: warning: dereferencing 'void *' pointernet/mac80211/wme.c:398: error: request for member 'wiphy' in something not a structure or unionCould someone help me handle with this?
enable CONFIG_NET_SCHED for now.
johannes
Quoted 16 lines · zergavis
My name is Pawel Bieniek, and I'm new on this list.
Today I was trying to compile mac80211 into my kernel (2.6.21.4) on archlinux. I need it to run intel 4965AGN on my toshiba satelite A200 notebook.
Unfortunately, it returns an error during compilation:
net/mac80211/wme.c: In function 'wme_qdiscop_destroy':net/mac80211/wme.c:358: warning: implicit declaration of function 'tcf_destroy_chain'net/mac80211/wme.c: In function 'wme_qdiscop_init':net/mac80211/wme.c:398: warning: dereferencing 'void *' pointernet/mac80211/wme.c:398: error: request for member 'wiphy' in something not a structure or union
Quoted 1 line
Could someone help me handle with this?
Sounds like the intellinuxwireless.org guys need to add something to their kcompat patches...
John
Signature · 2 lines
John W. Linville [email protected]
Quoted 10 lines · Johannes Berg
Quoted 8 lines · zergavis
net/mac80211/wme.c: In function 'wme_qdiscop_destroy':net/mac80211/wme.c:358: warning: implicit declaration of function 'tcf_destroy_chain'net/mac80211/wme.c: In function 'wme_qdiscop_init':net/mac80211/wme.c:398: warning: dereferencing 'void *' pointernet/mac80211/wme.c:398: error: request for member 'wiphy' in something not a structure or union
Quoted 5 lines
Quoted 1 line
Could someone help me handle with this?
enable
CONFIG_NET_SCHEDfor now.johannes
CONFIG_NET_SCHED being set is the problem w/ older kernels. We missed backporting tcf_destroy_chain and missed an ieee80211_ptr reference (and that code path is only included if CONFIG_NET_SCHED=y).
If you turn *off* CONFIG_NET_SCHED, it should build and run fine (which is what I'm doing on 2.6.18 and 2.6.20 systems currently)
I'm testing a fix for that now, which will be in mac80211-8.0.1.
James
Quoted 15 lines · James Ketrenos
Quoted 14 lines · Johannes Berg
Quoted 9 lines · zergavis
net/mac80211/wme.c: In function 'wme_qdiscop_destroy':net/mac80211/wme.c:358: warning: implicit declaration of function 'tcf_destroy_chain'net/mac80211/wme.c: In function 'wme_qdiscop_init':net/mac80211/wme.c:398: warning: dereferencing 'void *' pointernet/mac80211/wme.c:398: error: request for member 'wiphy' in something not a structure or unionCould someone help me handle with this?
enable
CONFIG_NET_SCHEDfor now.
Quoted 8 lines
Quoted 1 line
johannes
CONFIG_NET_SCHEDbeing set is the problem w/ older kernels. We missed backportingtcf_destroy_chainand missed anieee80211_ptrreference (and that code path is only included ifCONFIG_NET_SCHED=y).If you turn *off*
CONFIG_NET_SCHED, it should build and run fine (which is what I'm doing on 2.6.18 and 2.6.20 systems currently)
Uh, oops, sorry about that. I figured since the symbol wasn't really declared properly it would be missing, not too much :)
johannes
Quoted 18 lines · zergavis
Hi,
My name is Pawel Bieniek, and I'm new on this list.
Today I was trying to compile mac80211 into my kernel (2.6.21.4) on archlinux. I need it to run intel 4965AGN on my toshiba satelite A200 notebook.
Unfortunately, it returns an error during compilation:
net/mac80211/wme.c: In function 'wme_qdiscop_destroy':net/mac80211/wme.c:358: warning: implicit declaration of function 'tcf_destroy_chain'net/mac80211/wme.c: In function 'wme_qdiscop_init':net/mac80211/wme.c:398: warning: dereferencing 'void *' pointernet/mac80211/wme.c:398: error: request for member 'wiphy' in something not a structure or union
Quoted 1 line
Could someone help me handle with this?
I just uploaded mac80211-8.0.1.tgz at:
http://intellinuxwireless.org/?p=mac80211?n=downloads
I ran a build tests against 2.6.18 and 2.6.21-rc1.
I did a run-time test on 2.6.21-rc1 (32-bit) w/ iwl3945 and CONFIG_NET_SCHED=y
Let me know if you have any more build issues.
Thanks,
James
Quoted 1 line
If you turn *off*
CONFIG_NET_SCHED, it should build and run fine
Thanks, it works :) There was a problem with:
et/built-in.o: In function `rtnl_setlink':
rtnetlink.c:(.text+0x157bb): undefined reference to wireless_rtnetlink_set' net/built-in.o: In function rtnl_getlink':
rtnetlink.c:(.text+0x15980): undefined reference to `wireless_rtnetlink_get'
but swiching off rtnetlink in wireless drivers fix it.
I will try mac80211-8.0.1 version in a few hours.
thanks,
pawel
Witam!
W li=9Ccie datowanym 8 czerwca 2007 (20:48:23) napisano:
Quoted 7 lines
Quoted 6 lines · zergavis
Hi,
=20
My name is Pawel Bieniek, and I'm new on this list.
=20
Today I was trying to compile mac80211 into my kernel (2.6.21.4) on archlinux. I need it to run intel 4965AGN on my toshiba satelite A20=
0
Quoted 4 lines
Quoted 3 lines
notebook.
=20
Unfortunately, it returns an error during compilation:I did a run-time test on 2.6.21-rc1 (32-bit) w/ iwl3945 and
CONFIG_NE=
T_SCHED=3Dy
Quoted 1 line
Let me know if you have any more build issues.
On 2.6.21.4 build ran just perfect.
There were problems with build debug output for mac80211 (same wme.c - request for member 'wiphy'). I was enab=80le it to compile for test. Without debug output, it works fine.
Thanks,
pawel
-
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html