Having trouble building hostap (Kernel 2.6.27, Ubuntu 8.10)

Rakesh Kumar gopchandani
Wed Jun 24 16:35:37 PDT 2009


Hi,

Following are steps of things I have done on my Kernel 2.6.27 machine to get
Hostap up and running:

1. Install compat-wireless stable version corresponding to 2.6.30.
2. Tested wireless link using ad-hoc mode.
3. Installed libnl-1.1
4. Downloaded hostapd 0.6.9 tarball from
http://w1.fi/releases/hostapd-0.6.9.tar.gz
5. Copy defconfig into .config and make following changes on it:
5.1 Uncomment
CONFIG_DRIVER_NL80211 = Y
5.2 Uncomment
LIBNL=/usr/src/libnl-1.1
CFLAGS += -I$(LIBNL)/include
LIBS += -L$(LIBNL)/lib
6. Execute make and following errors occur:

../src/common/wireless_copy.h:89: error: redefinition of typedef ?__u32?
/usr/src/linux-headers-2.6.27-14-generic/include/asm-generic/int-ll64.h:24:
error: previous declaration of ?__u32? was here
../src/common/wireless_copy.h:90: error: redefinition of typedef ?__s32?
/usr/src/linux-headers-2.6.27-14-generic/include/asm-generic/int-ll64.h:23:
error: previous declaration of ?__s32? was here
../src/common/wireless_copy.h:91: error: redefinition of typedef ?__u16?
/usr/src/linux-headers-2.6.27-14-generic/include/asm-generic/int-ll64.h:21:
error: previous declaration of ?__u16? was here
../src/common/wireless_copy.h:92: error: redefinition of typedef ?__s16?
/usr/src/linux-headers-2.6.27-14-generic/include/asm-generic/int-ll64.h:20:
error: previous declaration of ?__s16? was here
../src/common/wireless_copy.h:93: error: redefinition of typedef ?__u8?
/usr/src/linux-headers-2.6.27-14-generic/include/asm-generic/int-ll64.h:18:
error: previous declaration of ?__u8? was here
make: *** [driver_nl80211.o] Error 1


Please help out as to what might be causing trouble or if I am skipping any
crucial step.


--
Rakesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20090624/95dccd47/attachment.htm 



More information about the Hostap mailing list