Hi, Marcus
Have you fixed this problem? If you have fixed that, could you please share your solution?
Thanks, Yongqin Liu
On 5 April 2013 15:51, Marcus Williford mwilliford@gmail.com wrote:
I need help figuring out what is wrong with my environment, I have followed all instructions that I can find. The build moves a long for a while, so most things work.
As I understood from the instructions, I can use the Toolchain included in the prebuilts for gcc-4.7.
Environment: Ubuntu 12.04 LTS Linaro Panda 13.03 pinned-manifest.xml
export TARGET_PRODUCT=pandaboard export TARGET_SIMULATOR=false export BUILD_TINY_ANDROID= export CPUS=`grep -c processor /proc/cpuinfo` TARGET_TOOLS_PREFIX=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7-linaro/bin/arm-linux-androideabi-
I can see that I have this header in a few places marcus@dwarf1:~/linaro-13.03-src/android$ find . | grep libc-version.h ./prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/gnu/libc-version.h ./prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/gnu/libc-version.h ./prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/gnu/libc-version.h
I'm guessing one of the above sysroot's is my root during crosscompile, but I'm not really familiar enough with this part oft he build system. If so, seems like it should see this header.
Let me know if anyone has some advice. Marcus
Details below: ------------------------------------------- snip
Load Address: 80008000 Entry Point: 80008000 Image arch/arm/boot/uImage is ready make[1]: Leaving directory `/home/marcus/linaro-13.03-src/android/kernel/linaro/pandaboard' export PATH=../out/host/linux-x86/bin:/opt/java/bin:/home/marcus/linaro-13.03-src/android/out/host/linux-x86/bin:/home/marcus/linaro-13.03-src/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin:/home/marcus/linaro-13.03-src/android/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.6/bin:/home/marcus/linaro-13.03-src/android/development/emulator/qtools:/home/marcus/linaro-13.03-src/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin:/home/marcus/linaro-13.03-src/android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin:/home/marcus/linaro-13.03-src/android/development/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/java/bin:/opt/hadoop/bin:/opt/hadoop/sbin:/home/marcus/android/bin &&\ cd kernel/linaro/pandaboard/tools/perf &&\ mkdir -p /home/marcus/linaro-13.03-src/android/out/target/product/pandaboard/obj/kernel/tools/perf &&\ if [ -e prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7-linaro/bin/arm-linux-androideabi-ld.bfd ]; then LD=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7-linaro/bin/arm-linux-androideabi-ld.bfd; else LD=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7-linaro/bin/arm-linux-androideabi-ld; fi && \ make ANDROID_CFLAGS="-mtune=cortex-a9 -mcpu=cortex-a9 -mno-unaligned-access -isystem /home/marcus/linaro-13.03-src/android/bionic/libc/include -isystem /home/marcus/linaro-13.03-src/android/bionic/libc/kernel/common -isystem /home/marcus/linaro-13.03-src/android/bionic/libc/kernel/arch-arm -isystem /home/marcus/linaro-13.03-src/android/bionic/libc/arch-arm/include -I/home/marcus/linaro-13.03-src/android/external/elfutils/libelf -isystem /home/marcus/linaro-13.03-src/android/bionic/libm/include -isystem prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7-linaro/bin/../include -I/home/marcus/linaro-13.03-src/android/out/target/product/pandaboard/obj/kernel/tools/perf" BASIC_LDFLAGS="-nostdlib -Wl,-dynamic-linker,/system/bin/linker,-z,muldefs,-z,nocopyreloc,--no-undefined -L/home/marcus/linaro-13.03-src/android/ -L/home/marcus/linaro-13.03-src/android/out/target/product/pandaboard/system/lib -L/home/marcus/linaro-13.03-src/android/external/elfutils -L/home/marcus/linaro-13.03-src/android/out/target/product/pandaboard/obj/STATIC_LIBRARIES/libelf_intermediates -lpthread -lelf -lm -lc /home/marcus/linaro-13.03-src/android/out/target/product/pandaboard/obj/lib/crtbegin_dynamic.o /home/marcus/linaro-13.03-src/android/out/target/product/pandaboard/obj/lib/crtend_android.o" O=/home/marcus/linaro-13.03-src/android/out/target/product/pandaboard/obj/kernel/tools/perf/ OUTPUT=/home/marcus/linaro-13.03-src/android/out/target/product/pandaboard/obj/kernel/tools/perf/ ARCH=arm CROSS_COMPILE=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7-linaro/bin/arm-linux-androideabi- LD=$LD prefix=/system NO_DWARF=1 NO_NEWT=1 NO_LIBPERL=1 NO_LIBPYTHON=1 NO_GTK2=1 NO_STRLCPY=1 WERROR=0 && \ cp -f /home/marcus/linaro-13.03-src/android/out/target/product/pandaboard/obj/kernel/tools/perf/perf /home/marcus/linaro-13.03-src/android/out/target/product/pandaboard/system/bin/ make[1]: Entering directory `/home/marcus/linaro-13.03-src/android/kernel/linaro/pandaboard/tools/perf' Makefile:438: *** No gnu/libc-version.h found, please install glibc-dev[el]/glibc-static. Stop. make[1]: Leaving directory `/home/marcus/linaro-13.03-src/android/kernel/linaro/pandaboard/tools/perf'
No gnu/libc-version.h found, please install glibc-dev[el]/glibc-static. Stop.
linaro-android mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android