我一直在編譯android內核在模擬器上安裝模塊的階段。但我陷入了可怕的錯誤。這裏是我正在編譯代碼:編譯android內核
>> PATH=$PATH:/home/user/mydroid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
>> make CROSS_COMPILE=arm-eabi- ARCH=arm
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=AOSP
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv5te
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
============================================
- - - - -
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc -mthumb-interwork -Ibionic/libc/private -Ibionic/libc/private -o out/target/product/generic/obj/lib/crtbegin_dynamic.o -c bionic/libc/arch-arm/bionic/crtbegin_dynamic.S
Assembler messages:
Fatal error: Invalid -march= option: `armv5te'
make: *** [out/target/product/generic/obj/lib/crtbegin_dynamic.o] Error 1
----end-----
任何人都可以提出我的解決方案嗎?這將非常感激。
你應該通過點擊鏤空檢查來接受德蘭的回答。 – SLaks 2011-03-07 15:19:08
嗨,山姆,我有同樣的問題,你能告訴你如何解決它?謝謝! 我在Ubuntu 10.04上編譯Eclair。 – Jacky 2011-03-14 07:45:23
Jacky,下載並安裝armv5te工具鏈。這將解決這個錯誤。 – Sam 2011-03-22 10:12:42