Humn, Ok I understand, I do feel that my proxy should allow gerrit to be setup, or there should be an easier way to submit patches... Anyway, I did put an #if 0 and it seems alright.
Thanks for the help. diff --git a/wireless_copy.h b/wireless_copy.h index e01a487..bebf4d3 100644 --- a/wireless_copy.h +++ b/wireless_copy.h @@ -86,11 +86,13 @@ #else #include <sys/types.h> #include <net/if.h> +#if 0 typedef __uint32_t __u32; typedef __int32_t __s32; typedef __uint16_t __u16; typedef __int16_t __s16; typedef __uint8_t __u8; +#endif #ifndef __user #define __user #endif /* __user */ On Tue, Dec 16, 2008 at 12:06 PM, [email protected] < [email protected]> wrote: > > Hi Pavan, > We can not be heavily involved in all kinds of custom development, but > we will be happy > to get patch from other developers and push it into the code base. > > Thanks, > > Dmitry > > On Dec 16, 7:45 am, "pavan savoy" <[email protected]> wrote: > > Humn, ok thank you. > > So can I expect an update on that patch any time soon ? > > > > Thanks > > Pavan > > > > On Mon, Dec 15, 2008 at 6:06 PM, [email protected] < > > > > [email protected]> wrote: > > > > > No, nothing is "fishy". > > > You probably want to add > > > #ifndef ANDROID > > > to wireless_copy.h file for these types. > > > > > On Dec 15, 3:54 pm, "pavan savoy" <[email protected]> wrote: > > > > 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 -~----------~----~----~----~------~----~------~--~---
