2008-07-22 04:43:20

by Ming Lei

[permalink] [raw]
Subject: BUG: iwlwifi build failed

commit 93ded9b8fd42abe2c3607097963d8de6ad9117eb
Merge: 6d52dcb... f756cbd...
Author: Linus Torvalds <[email protected]>
Date: Mon Jul 21 15:42:20 2008 -0700
=====================================

drivers/net/wireless/iwlwifi/iwl-led.c: In function 'iwl_led_brightness_set':
drivers/net/wireless/iwlwifi/iwl-led.c:198: error: 'led_type_str'
undeclared (first use in this function)
drivers/net/wireless/iwlwifi/iwl-led.c:198: error: (Each undeclared
identifier is reported only once
drivers/net/wireless/iwlwifi/iwl-led.c:198: error: for each function
it appears in.)
make[4]: *** [drivers/net/wireless/iwlwifi/iwl-led.o] Error 1
make[3]: *** [drivers/net/wireless/iwlwifi] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2


--
Lei Ming


2008-07-22 07:43:12

by Rami Rosen

[permalink] [raw]
Subject: Re: BUG: iwlwifi build failed

Hi,
- This problem was reported and a patch was sent recently; probably
it is not yet in your tree yet.

- I assume that your .config file does not have CONFIG_IWLWIFI_DEBUG set.
On the net-2.6 current tree, when you **do** set the
CONFIG_IWLWIFI_DEBUG, this problem does not occur
(and, as can be understood, when CONFIG_IWLWIFI_DEBUG
is not set, it does occur).

So, if it is possible for you for the time being, till this patch
finds its way into the tree, I suggest that you
might set the CONFIG_IWLWIFI_DEBUG and run make.

More details on this patch you can find here:
http://linux.derkeiler.com/Mailing-Lists/Kernel/2008-07/msg09132.html

Regards,
Rami Rosen


On Tue, Jul 22, 2008 at 7:43 AM, Ming Lei <[email protected]> wrote:
> commit 93ded9b8fd42abe2c3607097963d8de6ad9117eb
> Merge: 6d52dcb... f756cbd...
> Author: Linus Torvalds <[email protected]>
> Date: Mon Jul 21 15:42:20 2008 -0700
> =====================================
>
> drivers/net/wireless/iwlwifi/iwl-led.c: In function 'iwl_led_brightness_set':
> drivers/net/wireless/iwlwifi/iwl-led.c:198: error: 'led_type_str'
> undeclared (first use in this function)
> drivers/net/wireless/iwlwifi/iwl-led.c:198: error: (Each undeclared
> identifier is reported only once
> drivers/net/wireless/iwlwifi/iwl-led.c:198: error: for each function
> it appears in.)
> make[4]: *** [drivers/net/wireless/iwlwifi/iwl-led.o] Error 1
> make[3]: *** [drivers/net/wireless/iwlwifi] Error 2
> make[2]: *** [drivers/net/wireless] Error 2
> make[1]: *** [drivers/net] Error 2
> make: *** [drivers] Error 2
>
>
> --
> Lei Ming
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

2008-07-22 08:01:53

by Ming Lei

[permalink] [raw]
Subject: Re: BUG: iwlwifi build failed

2008/7/22 Rami Rosen <[email protected]>:
> Hi,
> - This problem was reported and a patch was sent recently; probably
> it is not yet in your tree yet.

yes, I am using linus tree.

>
> - I assume that your .config file does not have CONFIG_IWLWIFI_DEBUG set.
> On the net-2.6 current tree, when you **do** set the
> CONFIG_IWLWIFI_DEBUG, this problem does not occur
> (and, as can be understood, when CONFIG_IWLWIFI_DEBUG
> is not set, it does occur).

yes.

>
> So, if it is possible for you for the time being, till this patch
> finds its way into the tree, I suggest that you
> might set the CONFIG_IWLWIFI_DEBUG and run make.
>
> More details on this patch you can find here:
> http://linux.derkeiler.com/Mailing-Lists/Kernel/2008-07/msg09132.html
>
> Regards,
> Rami Rosen
>
>
> On Tue, Jul 22, 2008 at 7:43 AM, Ming Lei <[email protected]> wrote:
>> commit 93ded9b8fd42abe2c3607097963d8de6ad9117eb
>> Merge: 6d52dcb... f756cbd...
>> Author: Linus Torvalds <[email protected]>
>> Date: Mon Jul 21 15:42:20 2008 -0700
>> =====================================
>>
>> drivers/net/wireless/iwlwifi/iwl-led.c: In function 'iwl_led_brightness_set':
>> drivers/net/wireless/iwlwifi/iwl-led.c:198: error: 'led_type_str'
>> undeclared (first use in this function)
>> drivers/net/wireless/iwlwifi/iwl-led.c:198: error: (Each undeclared
>> identifier is reported only once
>> drivers/net/wireless/iwlwifi/iwl-led.c:198: error: for each function
>> it appears in.)
>> make[4]: *** [drivers/net/wireless/iwlwifi/iwl-led.o] Error 1
>> make[3]: *** [drivers/net/wireless/iwlwifi] Error 2
>> make[2]: *** [drivers/net/wireless] Error 2
>> make[1]: *** [drivers/net] Error 2
>> make: *** [drivers] Error 2
>>
>>
>> --
>> Lei Ming
>> --
>> To unsubscribe from this list: send the line "unsubscribe netdev" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>



--
Lei Ming