2007-07-10 18:55:13

by Kok, Auke

[permalink] [raw]
Subject: mac80211: build failure if enabled - 2.6.22 vanilla


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


2007-07-10 19:23:01

by Kok, Auke

[permalink] [raw]
Subject: Re: mac80211: build failure if enabled - 2.6.22 vanilla

Larry Finger wrote:
> Kok, Auke wrote:
>> 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.
>
> 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

2007-07-10 20:06:36

by Kok, Auke

[permalink] [raw]
Subject: Re: mac80211: build failure if enabled - 2.6.22 vanilla

Jiri Benc wrote:
> On Tue, 10 Jul 2007 11:55:11 -0700, Kok, Auke wrote:
>> I realize mac80211 isn't really helpfull if you don't build any drivers that use
>> it,
>
> Nevertheless, it should build.
>
>> 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.
>
> 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

2007-07-10 19:13:11

by Jiri Benc

[permalink] [raw]
Subject: Re: mac80211: build failure if enabled - 2.6.22 vanilla

On Tue, 10 Jul 2007 11:55:11 -0700, Kok, Auke wrote:
> I realize mac80211 isn't really helpfull if you don't build any drivers that use
> it,

Nevertheless, it should build.

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

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

--
Jiri Benc
SUSE Labs

2007-07-10 19:19:50

by Larry Finger

[permalink] [raw]
Subject: Re: mac80211: build failure if enabled - 2.6.22 vanilla

Kok, Auke wrote:
>
> 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.

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