Hi,<br><br>Following are steps of things I have done on my Kernel 2.6.27 machine to get Hostap up and running:<br><br>1. Install compat-wireless stable version corresponding to 2.6.30.<br>2. Tested wireless link using ad-hoc mode.<br>
3. Installed libnl-1.1<br>4. Downloaded hostapd 0.6.9 tarball from <a href="http://w1.fi/releases/hostapd-0.6.9.tar.gz">http://w1.fi/releases/hostapd-0.6.9.tar.gz</a><br>5. Copy defconfig into .config and make following changes on it:<br>
<div style="margin-left: 40px;">5.1 Uncomment <br>CONFIG_DRIVER_NL80211 = Y<br>5.2 Uncomment <br>LIBNL=/usr/src/libnl-1.1<br>CFLAGS += -I$(LIBNL)/include<br>LIBS += -L$(LIBNL)/lib<br></div>6. Execute make and following errors occur:<br>
<br>../src/common/wireless_copy.h:89: error: redefinition of typedef ‘__u32’<br>/usr/src/linux-headers-2.6.27-14-generic/include/asm-generic/int-ll64.h:24: error: previous declaration of ‘__u32’ was here<br>../src/common/wireless_copy.h:90: error: redefinition of typedef ‘__s32’<br>
/usr/src/linux-headers-2.6.27-14-generic/include/asm-generic/int-ll64.h:23: error: previous declaration of ‘__s32’ was here<br>../src/common/wireless_copy.h:91: error: redefinition of typedef ‘__u16’<br>/usr/src/linux-headers-2.6.27-14-generic/include/asm-generic/int-ll64.h:21: error: previous declaration of ‘__u16’ was here<br>
../src/common/wireless_copy.h:92: error: redefinition of typedef ‘__s16’<br>/usr/src/linux-headers-2.6.27-14-generic/include/asm-generic/int-ll64.h:20: error: previous declaration of ‘__s16’ was here<br>../src/common/wireless_copy.h:93: error: redefinition of typedef ‘__u8’<br>
/usr/src/linux-headers-2.6.27-14-generic/include/asm-generic/int-ll64.h:18: error: previous declaration of ‘__u8’ was here<br>make: *** [driver_nl80211.o] Error 1<br><br><br>Please help out as to what might be causing trouble or if I am skipping any crucial step.<br>
<br><br>--<br>Rakesh<br><br>