Hi,
I have panda-board with android 4.4 installed in it, I want to install Valring on this board for detecting memory leaks, Can any one help me which sorce code to be taken for cross compiling of Valgrind to android and what are steps to be followed for cross compiling I already followed the steps mentioned in
but I am getting some error, I am sharing the log which I got after building.
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for armv7-unknown-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether ln -s works... yes
checking for armv7-unknown-linux-gcc... /home/narendra/toolchains/arm-linux-androideabi/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
checking whether the C compiler works... no
configure: error: in `/home/narendra/lava-android-test/valgrind-3.10.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
I am using panda of model
Immediate response is very much helpful.
Thanks & Regards,
Narendra Kumar.
In above question 2 links I have missed to paste
1. Link I followed for building "http://valgrind.org/docs/manual/dist.readme-android.html"
2, Link related to panda-board model "http://www.omappedia.com/wiki/File:PandaBoard_top_view.png"
I know the "config.log" is convoluted and difficult to parse but it likely hold the key information about which flag or path in the cross compiler is being rejected. You'll have to paste it in if we're to help further. Thanks!
Hi Matthew,
I have changed the cross compiling tools for android and now I am able to build, Thanks for your response.