[t:/]$ 지식_

wirless.h 에서 빌드 에러 날때..

2009/11/02

중국 포럼에서 건진 정보 ㅋㅋㅋ
중국어는 모르지만 미디어법은 유효하다.

http://forum.ubuntu.org.cn/viewtopic.php?f=97&t=88790&p=689369

에러 상황

...

/usr/include/linux/wireless.h:852: error: ‘__u32’ does not name a type
/usr/include/linux/wireless.h:863: error: ‘__u16’ does not name a type
/usr/include/linux/wireless.h:886: error: ‘IFNAMSIZ’ was not declared in this scope
/usr/include/linux/wireless.h:901: error: ‘__u32’ does not name a type
/usr/include/linux/wireless.h:925: error: ‘IFNAMSIZ’ was not declared in this scope

...

대책

wirless.h 에 다음을 추가

#include <linux/if.h> 
#include <linux/types.h> 

땡.









[t:/] is not "technology - root". dawnsea, rss