Skip to contentSkip to conversation

mac80211 "wme.c:398" error

DISCUSSION zergavis 4 participants 8 messages Jun 8, 2007 – Jun 9, 2007

lore
Share & tools
lore

zergavis

author
#0 lore raw

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

#1 lore raw
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 *' 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?

enable CONFIG_NET_SCHED for now.

johannes

#5 lore raw
In reply to zergavis
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 *' pointer net/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]
#2 lore raw
In reply to Johannes Berg
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 *' pointer net/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_SCHED for 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

#3 lore raw
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 *' 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?

enable CONFIG_NET_SCHED for now.

Quoted 8 lines
Quoted 1 line

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)

Uh, oops, sorry about that. I figured since the symbol wasn't really declared properly it would be missing, not too much :)

johannes

#6 lore raw
In reply to zergavis
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 *' pointer net/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

author
#4 lore raw
In reply to James Ketrenos
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

author
#7 lore raw
In reply to James Ketrenos

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