Skip to contentSkip to conversation

mac80211: build failure if enabled - 2.6.22 vanilla

DISCUSSION Kok, Auke 3 participants 5 messages Jul 10, 2007

lore
Share & tools
lore

Kok, Auke

author
#0 lore raw

I realize mac80211 isn't really helpfull if you don't build any drivers that use it, but I currently get:

...

  CC [M]  drivers/scsi/ch.o
  LD [M]  net/llc/llc.o
  LD      net/mac80211/built-in.o

make[2]: *** No rule to make target net/mac80211/ieee80211.o', needed by net/mac80211/mac80211.o'. Stop. make[2]: *** Waiting for unfinished jobs....
make[1]: *** [net/mac80211] Error 2
make: *** [net] Error 2
make: *** Waiting for unfinished jobs....

if I enable CONFIG_MAC80211=m without selecting any drivers that use this subsystem.

Cheers,

Auke

#1 lore raw
Quoted 2 lines · Auke

I realize mac80211 isn't really helpfull if you don't build any drivers that use it,

Nevertheless, it should build.

Quoted 6 lines

but I currently get:

...

   CC [M]  drivers/scsi/ch.o
   LD [M]  net/llc/llc.o
   LD      net/mac80211/built-in.o
Quoted 8 lines

make[2]: *** No rule to make target net/mac80211/ieee80211.o', needed by net/mac80211/mac80211.o'. Stop.
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [net/mac80211] Error 2
make: *** [net] Error 2
make: *** Waiting for unfinished jobs....

if I enable CONFIG_MAC80211=m without selecting any drivers that use this subsystem.

That's strange. I downloaded 2.6.22 and built it with no problems (mac80211 as a module, without any drivers). Are you sure you haven't accidentally deleted net/mac80211/ieee80211.c? Can you send me your .config?

Thanks,

Jiri

Signature · 2 lines
Jiri Benc
SUSE Labs
author
#2 lore raw
Quoted 17 lines · Jiri Benc
Quoted 1 line · Auke

I realize mac80211 isn't really helpfull if you don't build any drivers that use it,

Nevertheless, it should build.

Quoted 12 lines

but I currently get:

...

   CC [M]  drivers/scsi/ch.o
   LD [M]  net/llc/llc.o
   LD      net/mac80211/built-in.o

make[2]: *** No rule to make target net/mac80211/ieee80211.o', needed by net/mac80211/mac80211.o'. Stop. make[2]: *** Waiting for unfinished jobs....
make[1]: *** [net/mac80211] Error 2
make: *** [net] Error 2
make: *** Waiting for unfinished jobs....

Quoted 6 lines
Quoted 1 line

if I enable CONFIG_MAC80211=m without selecting any drivers that use this subsystem.

That's strange. I downloaded 2.6.22 and built it with no problems (mac80211 as a module, without any drivers). Are you sure you haven't accidentally deleted net/mac80211/ieee80211.c? Can you send me your .config?

-EUNABLETOREPRODUCE :(

Auke

#3 lore raw
In reply to Kok, Auke
Quoted 7 lines · Auke

I realize mac80211 isn't really helpfull if you don't build any drivers that use it, but I currently get:

...

  CC [M]  drivers/scsi/ch.o
  LD [M]  net/llc/llc.o
  LD      net/mac80211/built-in.o
Quoted 7 lines

make[2]: *** No rule to make target net/mac80211/ieee80211.o', needed by net/mac80211/mac80211.o'. Stop. make[2]: *** Waiting for unfinished jobs....
make[1]: *** [net/mac80211] Error 2
make: *** [net] Error 2
make: *** Waiting for unfinished jobs....

if I enable CONFIG_MAC80211=m without selecting any drivers that use this subsystem.

There is something funny here. I just built a 2.6.22 system with mac80211 without any drivers that use it, and everything worked OK. This was on an X86_64 system. What is your architecture?

Larry

author
#4 lore raw
Quoted 13 lines · Larry Finger
Quoted 12 lines · Auke

I realize mac80211 isn't really helpfull if you don't build any drivers that use it, but I currently get:

...

  CC [M]  drivers/scsi/ch.o
  LD [M]  net/llc/llc.o
  LD      net/mac80211/built-in.o

make[2]: *** No rule to make target net/mac80211/ieee80211.o', needed by net/mac80211/mac80211.o'. Stop. make[2]: *** Waiting for unfinished jobs....
make[1]: *** [net/mac80211] Error 2
make: *** [net] Error 2
make: *** Waiting for unfinished jobs....

Quoted 3 lines
Quoted 1 line

if I enable CONFIG_MAC80211=m without selecting any drivers that use this subsystem.

There is something funny here. I just built a 2.6.22 system with mac80211 without any drivers that use it, and everything worked OK. This was on an X86_64 system. What is your architecture?

32-bit... I'm trying now with a clean kernel and all and will post the .config in a bit (that's if I can reproduce... I was mucking with my tree to get iwl to compile and blew some changes).

Auke