在Android 5.1.1中编译Nexus grouper内核时出错

时间:2015-11-13 10:25:54

标签: android linux rom android-5.1.1-lollipop

我正在尝试从ROM专门构建一个AOSP 5.1.1Nexus 7 Wifi 2012 - 石斑鱼)。但是,不久前,我在构建内核时遇到了这个部分

以下命令正常工作:

make tegra3_android_defconfig

问题在我写的时候开始:

 make -j4

崩溃并说

Fahads-MBP:tegra Fahad$ make -j4
/volumes/untitled/tegra/../WORKING_DIRECTORY/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: /volumes/untitled/tegra/../WORKING_DIRECTORY/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: cannot execute binary file
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  HOSTCC  scripts/basic/fixdep
  Generating include/generated/mach-types.h
  CC      kernel/bounds.s
/bin/sh: /volumes/untitled/tegra/../WORKING_DIRECTORY/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: cannot execute binary file
make[1]: *** [kernel/bounds.s] Error 126
make: *** [prepare0] Error 2

#### make failed to build some targets (2 seconds) ####

我确实有一台2015 MAC,这是一台使用Darwin的64位机器。你能说一下我做错了什么,这个错误的原因是什么,或者我可以在哪里得到这个问题的帮助?

0 个答案:

没有答案