2008-07-18 10:35:43

by Brian Crowley

[permalink] [raw]
Subject: Build bug with 2.6.26-4

Have been usng compat for months now with no problems.

1. upgraded ubuntu hardy to intrepid alpha with new kernel (previous
2.6.24-19 generic)

2. wireless 3945 worked out of the box, even 3945 led blinking (but
slowly instead of fast like used to with network traffic)

compat-wireless-2008-07-18

Following err's:

make:
/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:
In function 'iwl_led_brightness_set':
/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:198:
error: 'led_type_str' undeclared (first use in this function)
/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:198:
error: (Each undeclared identifier is reported only once
/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:198:
error: for each function it appears in.)
make[4]: *** [/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.o]
Error 1
make[3]: *** [/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi]
Error 2
make[2]: *** [/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless]
Error 2
make[1]: *** [_module_/home/brian/Desktop/Downloads/compat-wireless-2008-07-18]
Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-4-generic'
make: *** [modules] Error 2

sudo make install:

make -C /lib/modules/2.6.26-4-generic/build
M=/home/brian/Desktop/Downloads/compat-wireless-2008-07-18 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-4-generic'
CC [M] /home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.o
/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:
In function 'iwl_led_brightness_set':
/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:198:
error: 'led_type_str' undeclared (first use in this function)
/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:198:
error: (Each undeclared identifier is reported only once
/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:198:
error: for each function it appears in.)
make[4]: *** [/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.o]
Error 1
make[3]: *** [/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi]
Error 2
make[2]: *** [/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless]
Error 2
make[1]: *** [_module_/home/brian/Desktop/Downloads/compat-wireless-2008-07-18]
Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-4-generic'
make: *** [modules] Error 2
brian@brian-laptop:~/Desktop/Downloads/compat-wireless-2008-07-18$

did not see the normal message telling me to use unload / load so
think the process just stopped so I did not proceed with these steps.

Thanks,
Brian (linux user 1 year-yeah noob)


2008-07-18 22:40:29

by Tomas Winkler

[permalink] [raw]
Subject: Re: Build bug with 2.6.26-4

On Fri, Jul 18, 2008 at 1:35 PM, Brian Crowley <[email protected]> wrote:
> Have been usng compat for months now with no problems.
>
> 1. upgraded ubuntu hardy to intrepid alpha with new kernel (previous
> 2.6.24-19 generic)
>
> 2. wireless 3945 worked out of the box, even 3945 led blinking (but
> slowly instead of fast like used to with network traffic)
>
> compat-wireless-2008-07-18
>
> Following err's:
>
> make:
> /home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:
> In function 'iwl_led_brightness_set':
> /home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:198:
> error: 'led_type_str' undeclared (first use in this function)
> /home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:198:
> error: (Each undeclared identifier is reported only once
> /home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:198:
> error: for each function it appears in.)
> make[4]: *** [/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.o]
> Error 1
> make[3]: *** [/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi]
> Error 2
> make[2]: *** [/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless]
> Error 2
> make[1]: *** [_module_/home/brian/Desktop/Downloads/compat-wireless-2008-07-18]
> Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-4-generic'
> make: *** [modules] Error 2
>
> sudo make install:
>
> make -C /lib/modules/2.6.26-4-generic/build
> M=/home/brian/Desktop/Downloads/compat-wireless-2008-07-18 modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.26-4-generic'
> CC [M] /home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.o
> /home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:
> In function 'iwl_led_brightness_set':
> /home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:198:
> error: 'led_type_str' undeclared (first use in this function)
> /home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:198:
> error: (Each undeclared identifier is reported only once
> /home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.c:198:
> error: for each function it appears in.)
> make[4]: *** [/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi/iwl-led.o]
> Error 1
> make[3]: *** [/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless/iwlwifi]
> Error 2
> make[2]: *** [/home/brian/Desktop/Downloads/compat-wireless-2008-07-18/drivers/net/wireless]
> Error 2
> make[1]: *** [_module_/home/brian/Desktop/Downloads/compat-wireless-2008-07-18]
> Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-4-generic'
> make: *** [modules] Error 2
> brian@brian-laptop:~/Desktop/Downloads/compat-wireless-2008-07-18$
>
> did not see the normal message telling me to use unload / load so
> think the process just stopped so I did not proceed with these steps.
>
> Thanks,
> Brian (linux user 1 year-yeah noob)

Defining IWLWIIF_DEBUG in config.mk should fix this. A patch that fix
this without it is on the way.
Thanks
Tomas