>From the error message, it looks like the latest versions of Cygwin have
removed support for the -mno-cygwin flag.
I believe we're working on a fix, in the meantime, try to install an older
Cygwin version (if that is possible, I sincerely don't know yet)

On Wed, Mar 3, 2010 at 1:27 AM, Santosh Singh <[email protected]>wrote:

> Hi There,
>           I am getting following error when building Android Windows SDK in
> emulator. Can you help me please?
>
> $ development/build/tools/make_windows_sdk.sh
> out/host/linux-x86/sdk/android-sdk_eng.root_linux-x86.zip  ../mysdk/
> Using SDK 1.5
> Current values:
> - Input  SDK: out/host/linux-x86/sdk/android-sdk_eng.root_linux-x86.zip
> - Output dir: ../mysdk/
> - Temp   dir: /cygdrive/c/DOCUME~1/SANTOS~1.SIN/LOCALS~1/Temp
>
> Building...
> including vendor/aosp/vendorsetup.sh
> ============================================
> PLATFORM_VERSION_CODENAME=REL
> PLATFORM_VERSION=1.6
> TARGET_PRODUCT=generic
> TARGET_BUILD_VARIANT=eng
> TARGET_SIMULATOR=
> TARGET_BUILD_TYPE=release
> TARGET_ARCH=arm
> HOST_ARCH=x86
> HOST_OS=windows
> HOST_BUILD_TYPE=release
> BUILD_ID=Donut
> ============================================
> build/core/main.mk:360: sdk-only: javac available.
> build/core/main.mk:381: sdk-only: javac not available.
> host StaticLib: emulator-hw
> (out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/emulator-hw.a)
> host StaticLib: emulator-arm
> (out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/emulator-arm.a)
> host StaticLib: emulator-tcg
> (out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-tcg_intermediates/emulator-tcg.a)
> host C++: libhost <= build/libs/host/pseudolocalize.cpp
> ar.exe crs
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/emulator-arm.a
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/exec.o
> out/host
> /windows-x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/cpu-exec.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/target-arm/op_helper.o
> out/host/windows
> -x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/target-arm/iwmmxt_helper.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/target-arm/neon_helper.o
> out/ho
> st/windows-x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/target-arm/helper.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/target-arm/translate.o
> out/h
> ost/windows-x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/target-arm/machine.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/translate-all.o
> out/host/w
> indows-x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/hw/armv7m.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/hw/armv7m_nvic.o
> out/host/windows-x86/ob
> j/STATIC_LIBRARIES/emulator-arm_intermediates/arm-semi.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/trace.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emul
> ator-arm_intermediates/varint.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/dcache.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-arm_intermediates/f
> pu/softfloat.o
> ar.exe crs
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-tcg_intermediates/emulator-tcg.a
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-tcg_intermediates/tcg/tcg.o
> out/h
> ost/windows-x86/obj/STATIC_LIBRARIES/emulator-tcg_intermediates/tcg/tcg-dyngen.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-tcg_intermediates/tcg/tcg-runtime.o
> ar.exe crs
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/emulator-hw.a
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/android_arm.o
> o
> ut/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/arm_pic.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/cdrom.o
> out/host/windows-x86/
> obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/dma.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/irq.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emula
> tor-hw_intermediates/hw/goldfish_audio.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/goldfish_battery.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulato
> r-hw_intermediates/hw/goldfish_device.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/goldfish_events_device.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/em
> ulator-hw_intermediates/hw/goldfish_fb.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/goldfish_interrupt.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emula
> tor-hw_intermediates/hw/goldfish_memlog.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/goldfish_mmc.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-h
> w_intermediates/hw/goldfish_nand.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/goldfish_switch.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_in
> termediates/hw/goldfish_timer.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/goldfish_trace.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_interm
> ediates/hw/goldfish_tty.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/pci.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/scsi-d
> isk.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/smc91c111.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/usb-hid.o
> out/host/w
> indows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/usb-hub.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/usb-msd.o
> out/host/windows-x86/obj/STA
> TIC_LIBRARIES/emulator-hw_intermediates/hw/usb-ohci.o
> out/host/windows-x86/obj/STATIC_LIBRARIES/emulator-hw_intermediates/hw/usb.o
> g++: The -mno-cygwin flag has been removed; use a mingw-targeted
> cross-compiler.
>
> make: ***
> [out/host/windows-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o]
> Error 1
> make: *** Waiting for unfinished jobs....
> Error: Build failed
>
> Thanks
> Santosh
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to