On 12/24/2010 12:12 AM, Andreas Mohr wrote:
> Hi,
>
> On Thu, Dec 23, 2010 at 07:07:39PM -0800, Arjan van de Ven wrote:
>> I'd like to ask everyone who's interested to give it a spin and give
>> feedback on how you like the new design,
> I don't like it since I cannot even see it ;)
>
> cc -Wall -O2 -g -fno-omit-frame-pointer -fstack-protector -Wshadow -Wformat 
> -DCONFIG_LIBNL20   -Wall -O2 -g -fno-omit-frame-pointer  -c -o tuning/iw.o 
> tuning/iw.c
> tuning/iw.c: In function âset_power_saveâ:
> tuning/iw.c:131: error: storage size of âps_stateâ isnât known
> tuning/iw.c:133: error: âNL80211_PS_DISABLEDâ undeclared (first use in this 
> function)
> tuning/iw.c:133: error: (Each undeclared identifier is reported only once
> tuning/iw.c:133: error: for each function it appears in.)
> tuning/iw.c:135: error: âNL80211_PS_ENABLEDâ undeclared (first use in this 
> function)
> tuning/iw.c:137: error: âNL80211_ATTR_PS_STATEâ undeclared (first use in 
> this function)
> tuning/iw.c:131: warning: unused variable âps_stateâ
> tuning/iw.c: In function âprint_power_save_handlerâ:
> tuning/iw.c:153: error: âNL80211_ATTR_PS_STATEâ undeclared (first use in 
> this function)
> tuning/iw.c:157: error: âNL80211_PS_ENABLEDâ undeclared (first use in this 
> function)
> tuning/iw.c:160: error: âNL80211_PS_DISABLEDâ undeclared (first use in this 
> function)
> tuning/iw.c: In function â__handle_cmdâ:
> tuning/iw.c:228: error: âNL80211_CMD_GET_POWER_SAVEâ undeclared (first use 
> in this function)
> tuning/iw.c:231: error: âNL80211_CMD_SET_POWER_SAVEâ undeclared (first use 
> in this function)
> make: *** [tuning/iw.o] Error 1
>
>
> # dpkg -S /usr/include/linux/nl80211.h
> linux-libc-dev: /usr/include/linux/nl80211.h
> # dpkg -s linux-libc-dev
> Package: linux-libc-dev
> Status: install ok installed
> Priority: optional
> Section: devel
> Installed-Size: 4072
> Maintainer: Debian Kernel Team<[email protected]>
> Architecture: i386
> Source: linux-2.6
> Version: 2.6.32-29~bpo50+1
> Replaces: linux-kernel-headers
> Provides: linux-kernel-headers
> Conflicts: linux-kernel-headers
> Description: Linux support headers for userspace development
>   This package provides userspaces headers from the Linux kernel.  These
>   headers are used by the installed headers for GNU glibc and other
> system
>   libraries.
>
>
> That probably needs an NL80211 version check for these definitions.

you're probably right.. I did check with this header coming from a 
2.6.34 kernel...
2.6.32... oof. That's very old.


_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to