Skip to contentSkip to conversation

mac80211 problems

DISCUSSION Jesse Shaver 3 participants 3 messages Aug 28, 2007 – Aug 29, 2007

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 2 lines · Jesse Shaver

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

               ^^^^^^^^^^^^^^^^^^^^
Quoted 3 lines

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

#2 lore raw
In reply to Jesse Shaver
Quoted 2 lines · Jesse Shaver

Hello All;
I am sorry for bothering this dev list with this question, but I can'=

t seem to=20

Quoted 3 lines

find an answer anywhere else...
=20
I am trying to get my Intel 4965AGN wireless to work under SuSE 10.2 =

(64bit)=20

Quoted 1 line

no a Lenovo X61 Core duo 2. I am trying to build mac80211 for it, but=

am=20

Quoted 5 lines

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

Quoted 5 lines

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:

Quoted 1 line

net/mac80211/ieee80211_sta.c:2546: warning: format =E2=80=98%d=E2=80=99=

expects type =E2=80=98int=E2=80=99,=20

Quoted 1 line

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.

Quoted 11 lines
  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:

Quoted 1 line

net/mac80211/debugfs.c:28: error: =E2=80=98struct inode=E2=80=99 has =

no member=20

Quoted 1 line

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

Quoted 5 lines

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

Quoted 7 lines

limited kernel compiling experience.
=20
thanks for any help you can give, sorry to bother you all. =20

(quoted diff) +0 -2
-Jesse Shaver
-

To unsubscribe from this list: send the line "unsubscribe linux-wirel=

ess" in

Quoted 2 lines

the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html