linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: mac80211 "wme.c:398" error
  2007-06-08 19:18 ` Johannes Berg
@ 2007-06-08 17:33   ` James Ketrenos
  2007-06-08 19:36     ` Johannes Berg
  2007-06-08 21:47     ` Re[2]: " zergavis
  0 siblings, 2 replies; 8+ messages in thread
From: James Ketrenos @ 2007-06-08 17:33 UTC (permalink / raw)
  To: Johannes Berg; +Cc: zergavis, linux-wireless

Johannes Berg wrote:
> On Fri, 2007-06-08 at 20:50 +0200, zergavis wrote:
> 
>> 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

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mac80211 "wme.c:398" error
  2007-06-08 18:50 mac80211 "wme.c:398" error zergavis
@ 2007-06-08 18:48 ` James Ketrenos
  2007-06-09 13:06   ` Re[2]: " zergavis
  2007-06-08 19:11 ` John W. Linville
  2007-06-08 19:18 ` Johannes Berg
  2 siblings, 1 reply; 8+ messages in thread
From: James Ketrenos @ 2007-06-08 18:48 UTC (permalink / raw)
  To: zergavis; +Cc: linux-wireless

zergavis wrote:
> 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?

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* mac80211 "wme.c:398" error
@ 2007-06-08 18:50 zergavis
  2007-06-08 18:48 ` James Ketrenos
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: zergavis @ 2007-06-08 18:50 UTC (permalink / raw)
  To: linux-wireless

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mac80211 "wme.c:398" error
  2007-06-08 18:50 mac80211 "wme.c:398" error zergavis
  2007-06-08 18:48 ` James Ketrenos
@ 2007-06-08 19:11 ` John W. Linville
  2007-06-08 19:18 ` Johannes Berg
  2 siblings, 0 replies; 8+ messages in thread
From: John W. Linville @ 2007-06-08 19:11 UTC (permalink / raw)
  To: zergavis; +Cc: linux-wireless

On Fri, Jun 08, 2007 at 08:50:31PM +0200, zergavis wrote:

> 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?

Sounds like the intellinuxwireless.org guys need to add something to
their kcompat patches...

John
-- 
John W. Linville
linville@tuxdriver.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mac80211 "wme.c:398" error
  2007-06-08 18:50 mac80211 "wme.c:398" error zergavis
  2007-06-08 18:48 ` James Ketrenos
  2007-06-08 19:11 ` John W. Linville
@ 2007-06-08 19:18 ` Johannes Berg
  2007-06-08 17:33   ` James Ketrenos
  2 siblings, 1 reply; 8+ messages in thread
From: Johannes Berg @ 2007-06-08 19:18 UTC (permalink / raw)
  To: zergavis; +Cc: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 525 bytes --]

On Fri, 2007-06-08 at 20:50 +0200, zergavis wrote:

> 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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mac80211 "wme.c:398" error
  2007-06-08 17:33   ` James Ketrenos
@ 2007-06-08 19:36     ` Johannes Berg
  2007-06-08 21:47     ` Re[2]: " zergavis
  1 sibling, 0 replies; 8+ messages in thread
From: Johannes Berg @ 2007-06-08 19:36 UTC (permalink / raw)
  To: James Ketrenos; +Cc: zergavis, linux-wireless

[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]

On Fri, 2007-06-08 at 10:33 -0700, James Ketrenos wrote:
> Johannes Berg wrote:
> > On Fri, 2007-06-08 at 20:50 +0200, zergavis wrote:
> > 
> >> 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
> 
> 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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re[2]: mac80211 "wme.c:398" error
  2007-06-08 17:33   ` James Ketrenos
  2007-06-08 19:36     ` Johannes Berg
@ 2007-06-08 21:47     ` zergavis
  1 sibling, 0 replies; 8+ messages in thread
From: zergavis @ 2007-06-08 21:47 UTC (permalink / raw)
  To: linux-wireless

> 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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re[2]: mac80211 "wme.c:398" error
  2007-06-08 18:48 ` James Ketrenos
@ 2007-06-09 13:06   ` zergavis
  0 siblings, 0 replies; 8+ messages in thread
From: zergavis @ 2007-06-09 13:06 UTC (permalink / raw)
  To: James Ketrenos; +Cc: linux-wireless

Witam!

W li=9Ccie datowanym 8 czerwca 2007 (20:48:23) napisano:

> zergavis wrote:
>> 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
>> 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

> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-06-09 13:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-08 18:50 mac80211 "wme.c:398" error zergavis
2007-06-08 18:48 ` James Ketrenos
2007-06-09 13:06   ` Re[2]: " zergavis
2007-06-08 19:11 ` John W. Linville
2007-06-08 19:18 ` Johannes Berg
2007-06-08 17:33   ` James Ketrenos
2007-06-08 19:36     ` Johannes Berg
2007-06-08 21:47     ` Re[2]: " zergavis

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