Hi Folks, I'm starting a new project, based on android and supported by an Arndale. I’ve been trying to compile android and I’ve haven’t got very far, unfortunately. I was hoping someone could give me a clue as to what I’m doing wrong over here. I'm running ubuntu 13.04 and have successfully compiled stock android (not Linaro) with this environment. Here's what I'm doing:
###Exports used export MANIFEST_REPO=git://android.git.linaro.org/platform/manifest.git export MANIFEST_BRANCH=linaro_android_4.4.2 export TARGET_PRODUCT=full_arndale export MANIFEST_FILENAME=default.xml export REPO_GROUPS="common,arndale" export TARGET_SIMULATOR=false export TOOLCHAIN_TRIPLET=arm-linux-androideabi export TARGET_TOOLS_PREFIX=/home/jotacosta/tactual/linaro_android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/arm-linux-androideabi-
###repo is already installed.
./repo init -u ${MANIFEST_REPO} -b ${MANIFEST_BRANCH} -m
${MANIFEST_FILENAME} -g ${REPO_GROUPS}
./repo sync make TARGET_PRODUCT=${TARGET_PRODUCT}
TARGET_TOOLS_PREFIX=${TARGET_TOOLS_PREFIX} boottarball systemtarball userdatatarball
It compiles until it gives the following error:
""" make[1]: Leaving directory `/home/jotacosta/tactual/linaro_android/out/target/product/arndale/obj/ffmpeg' Export includes file: frameworks/native/opengl/libs/Android.mk -- out/target/product/arndale/obj/SHARED_LIBRARIES/libGLESv2_intermediates/export_includes Export includes file: external/piglit/tests/util/Android.mk -- out/target/product/arndale/obj/SHARED_LIBRARIES/libpiglitutil_gles2_intermediates/export_includes Export includes file: external/waffle/Android.mk -- out/target/product/arndale/obj/SHARED_LIBRARIES/libwaffle-1_intermediates/export_includes Import includes file: out/target/product/arndale/obj/EXECUTABLES/glslparsertest_gles2_intermediates/import_includes target thumb C: glslparsertest_gles2 <= external/piglit/tests/glslparsertest/glslparsertest.c In file included from external/piglit/tests/util/piglit-util-gl-common.h:32:0, from external/piglit/tests/glslparsertest/glslparsertest.c:36: external/piglit/tests/util/piglit-util.h:32:20: fatal error: config.h: No such file or directory #include "config.h" """
This feels like a rookie mistake, yes, but I can't pinpoint exactly where that mistake is. Any hints would be deeply appreciated.
Thank you, Ricardo Jota
On 23 May 2014 00:06, Ricardo jota jotacosta@dgp.toronto.edu wrote:
Hi Folks, I'm starting a new project, based on android and supported by an Arndale. I’ve been trying to compile android and I’ve haven’t got very far, unfortunately. I was hoping someone could give me a clue as to what I’m doing wrong over here. I'm running ubuntu 13.04 and have successfully compiled stock android (not Linaro) with this environment. Here's what I'm doing:
###Exports used export MANIFEST_REPO=git://android.git.linaro.org/platform/manifest.git export MANIFEST_BRANCH=linaro_android_4.4.2 export TARGET_PRODUCT=full_arndale export MANIFEST_FILENAME=default.xml export REPO_GROUPS="common,arndale" export TARGET_SIMULATOR=false export TOOLCHAIN_TRIPLET=arm-linux-androideabi export TARGET_TOOLS_PREFIX=/home/jotacosta/tactual/linaro_android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/arm-linux-androideabi-
###repo is already installed.
./repo init -u ${MANIFEST_REPO} -b ${MANIFEST_BRANCH} -m ${MANIFEST_FILENAME} -g ${REPO_GROUPS} ./repo sync make TARGET_PRODUCT=${TARGET_PRODUCT} TARGET_TOOLS_PREFIX=${TARGET_TOOLS_PREFIX} boottarball systemtarball userdatatarball
It compiles until it gives the following error:
""" make[1]: Leaving directory `/home/jotacosta/tactual/linaro_android/out/target/product/arndale/obj/ffmpeg' Export includes file: frameworks/native/opengl/libs/Android.mk -- out/target/product/arndale/obj/SHARED_LIBRARIES/libGLESv2_intermediates/export_includes Export includes file: external/piglit/tests/util/Android.mk -- out/target/product/arndale/obj/SHARED_LIBRARIES/libpiglitutil_gles2_intermediates/export_includes Export includes file: external/waffle/Android.mk -- out/target/product/arndale/obj/SHARED_LIBRARIES/libwaffle-1_intermediates/export_includes Import includes file: out/target/product/arndale/obj/EXECUTABLES/glslparsertest_gles2_intermediates/import_includes target thumb C: glslparsertest_gles2 <= external/piglit/tests/glslparsertest/glslparsertest.c In file included from external/piglit/tests/util/piglit-util-gl-common.h:32:0, from external/piglit/tests/glslparsertest/glslparsertest.c:36: external/piglit/tests/util/piglit-util.h:32:20: fatal error: config.h: No such file or directory #include "config.h" """
I think piglit & waffle shouldn't be there for arndale (only for panda). Removing the external/piglit and external/waffle should fix your problem. In the meantime I'll check the problem with manifest.
milosz
This feels like a rookie mistake, yes, but I can't pinpoint exactly where that mistake is. Any hints would be deeply appreciated.
Thank you, Ricardo Jota
linaro-android mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android
linaro-android@lists.linaro.org