linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mac80211 problems
@ 2007-08-28 14:25 Jesse Shaver
  2007-08-28 15:02 ` Johannes Berg
  2007-08-29 13:32 ` Dan Williams
  0 siblings, 2 replies; 3+ messages in thread
From: Jesse Shaver @ 2007-08-28 14:25 UTC (permalink / raw)
  To: linux-wireless

Hello All;
I am sorry for bothering this dev list with this question, but I can't =
seem to=20
find an answer anywhere else...

I am trying to get my Intel 4965AGN wireless to work under SuSE 10.2 (6=
4bit)=20
no a Lenovo X61 Core duo 2. I am trying to build mac80211 for it, but a=
m=20
getting errors.=20

my kernel is:
hayden:~/mac80211-9.0.4 # uname -a
Linux hayden 2.6.18.8-0.5-default #1 SMP Fri Jun 22 12:17:53 UTC 2007 x=
86_64=20
x86_64 x86_64 GNU/Linux

The error I get is:

net/mac80211/ieee80211_sta.c: In function =E2=80=98sta_process_csa=E2=80=
=99:
net/mac80211/ieee80211_sta.c:2546: warning: format =E2=80=98%d=E2=80=99=
 expects type =E2=80=98int=E2=80=99,=20
but argument 2 has type =E2=80=98size_t=E2=80=99
  CC [M]  net/mac80211/ieee80211_iface.o
  CC [M]  net/mac80211/ieee80211_rate.o
  CC [M]  net/mac80211/michael.o
  CC [M]  net/mac80211/regdomain.o
  CC [M]  net/mac80211/tkip.o
  CC [M]  net/mac80211/aes_ccm.o
  CC [M]  net/mac80211/wme.o
  CC [M]  net/mac80211/ieee80211_cfg.o
  CC [M]  net/mac80211/ieee80211_led.o
  CC [M]  net/mac80211/debugfs.o
net/mac80211/debugfs.c: In function =E2=80=98mac80211_open_file_generic=
=E2=80=99:
net/mac80211/debugfs.c:28: error: =E2=80=98struct inode=E2=80=99 has no=
 member=20
named =E2=80=98i_private=E2=80=99
make[2]: *** [net/mac80211/debugfs.o] Error 1
make[1]: *** [net/mac80211] Error 2
make: *** [net] Error 2

I do have some programming background, but very little in C/C++ and onl=
y=20
limited kernel compiling experience.

thanks for any help you can give, sorry to bother you all.

-Jesse Shaver
-
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] 3+ messages in thread

* Re: mac80211 problems
  2007-08-28 14:25 mac80211 problems Jesse Shaver
@ 2007-08-28 15:02 ` Johannes Berg
  2007-08-29 13:32 ` Dan Williams
  1 sibling, 0 replies; 3+ messages in thread
From: Johannes Berg @ 2007-08-28 15:02 UTC (permalink / raw)
  To: Jesse Shaver; +Cc: linux-wireless

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

On Tue, 2007-08-28 at 10:25 -0400, Jesse Shaver wrote:

> hayden:~/mac80211-9.0.4 # uname -a
> Linux hayden 2.6.18.8-0.5-default #1 SMP Fri Jun 22 12:17:53 UTC 2007 x86_64 
               ^^^^^^^^^^^^^^^^^^^^

> net/mac80211/debugfs.c: In function ‘mac80211_open_file_generic’:
> net/mac80211/debugfs.c:28: error: ‘struct inode’ has no member 
> named ‘i_private’


Yeah, well, duh. Don't use ancient kernels.

johannes

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

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

* Re: mac80211 problems
  2007-08-28 14:25 mac80211 problems Jesse Shaver
  2007-08-28 15:02 ` Johannes Berg
@ 2007-08-29 13:32 ` Dan Williams
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Williams @ 2007-08-29 13:32 UTC (permalink / raw)
  To: Jesse Shaver; +Cc: linux-wireless

On Tue, 2007-08-28 at 10:25 -0400, Jesse Shaver wrote:
> Hello All;
> I am sorry for bothering this dev list with this question, but I can'=
t seem to=20
> find an answer anywhere else...
>=20
> I am trying to get my Intel 4965AGN wireless to work under SuSE 10.2 =
(64bit)=20
> no a Lenovo X61 Core duo 2. I am trying to build mac80211 for it, but=
 am=20
> getting errors.=20
>=20
> my kernel is:
> hayden:~/mac80211-9.0.4 # uname -a
> Linux hayden 2.6.18.8-0.5-default #1 SMP Fri Jun 22 12:17:53 UTC 2007=
 x86_64=20
> x86_64 x86_64 GNU/Linux
>=20
> The error I get is:
>=20
> net/mac80211/ieee80211_sta.c: In function =E2=80=98sta_process_csa=E2=
=80=99:
> net/mac80211/ieee80211_sta.c:2546: warning: format =E2=80=98%d=E2=80=99=
 expects type =E2=80=98int=E2=80=99,=20
> but argument 2 has type =E2=80=98size_t=E2=80=99

The '%d' here should probably be a '%z' or a '%p' if it's a pointer.

>   CC [M]  net/mac80211/ieee80211_iface.o
>   CC [M]  net/mac80211/ieee80211_rate.o
>   CC [M]  net/mac80211/michael.o
>   CC [M]  net/mac80211/regdomain.o
>   CC [M]  net/mac80211/tkip.o
>   CC [M]  net/mac80211/aes_ccm.o
>   CC [M]  net/mac80211/wme.o
>   CC [M]  net/mac80211/ieee80211_cfg.o
>   CC [M]  net/mac80211/ieee80211_led.o
>   CC [M]  net/mac80211/debugfs.o
> net/mac80211/debugfs.c: In function =E2=80=98mac80211_open_file_gener=
ic=E2=80=99:
> net/mac80211/debugfs.c:28: error: =E2=80=98struct inode=E2=80=99 has =
no member=20
> named =E2=80=98i_private=E2=80=99

Seems like a kernel/mac80211 mismatch?  What kernel are you using, and
where are you getting your mac80211 from?  This probably means you're
using a quite-recent mac80211 with an older kernel and stuff has
changed.

Dan

> make[2]: *** [net/mac80211/debugfs.o] Error 1
> make[1]: *** [net/mac80211] Error 2
> make: *** [net] Error 2
>=20
> I do have some programming background, but very little in C/C++ and o=
nly=20
> limited kernel compiling experience.
>=20
> thanks for any help you can give, sorry to bother you all.
>=20
> -Jesse Shaver
> -
> To unsubscribe from this list: send the line "unsubscribe linux-wirel=
ess" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
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] 3+ messages in thread

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-28 14:25 mac80211 problems Jesse Shaver
2007-08-28 15:02 ` Johannes Berg
2007-08-29 13:32 ` Dan Williams

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