Nope seems to get a re-definition error on doing that, the same re-def error which happened when I enabled the CONFIG_WEXT in Android.mk file,
this one.... In file included from external/wpa_supplicant/driver_wext.c:25: external/wpa_supplicant/wireless_copy.h:89: error: redefinition of typedef '__u32' bionic/libc/kernel/arch-arm/asm/types.h:26: error: previous declaration of '__u32' was here external/wpa_supplicant/wireless_copy.h:90: error: redefinition of typedef '__s32' bionic/libc/kernel/arch-arm/asm/types.h:25: error: previous declaration of '__s32' was here external/wpa_supplicant/wireless_copy.h:91: error: redefinition of typedef '__u16' bionic/libc/kernel/arch-arm/asm/types.h:23: error: previous declaration of '__u16' was here external/wpa_supplicant/wireless_copy.h:92: error: redefinition of typedef '__s16' bionic/libc/kernel/arch-arm/asm/types.h:22: error: previous declaration of '__s16' was here external/wpa_supplicant/wireless_copy.h:93: error: redefinition of typedef '__u8' bionic/libc/kernel/arch-arm/asm/types.h:20: error: previous declaration of '__u8' was here make: *** [out/target/product/ldp1/obj/EXECUTABLES/wpa_supplicant_intermediates/driver_wext.o] Error 1 Something fishy in my repo ? On Mon, Dec 15, 2008 at 5:35 PM, [email protected] < [email protected]> wrote: > > Hi, > > You've probably just want to set / uncomment > CONFIG_DRIVER_WEXT=y > in .config file. > > On Dec 15, 3:24 pm, "pavan savoy" <[email protected]> wrote: > > Hi, > > > > I enabled the HAVE_CUSTOM_WIFI_DRIVER_2 := true in my BoardConfig.mk > > > > and also added the following entry in wpa_supplicant/Android.mk, > > > > ifeq ($(HAVE_CUSTOM_WIFI_DRIVER_2),true) > > WPA_BUILD_SUPPLICANT := true > > CONFIG_DRIVER_CUSTOM=y > > #my addition down here ..... > > CONFIG_DRIVER_WEXT=y > > endif > > Is this the RIGHT WAY to compile WPA supplicant with WEXT support ? > > > > If yes, I did get a re-definition error of certain data-types, when I did > > this ? When I removed them, I believe I built the wpa supplicant with > WEXT > > support ? So did I ? > > > > regards, > > Pavan Savoy. > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
