Android用のltraceを構築しようとしています。私はこれらのコマンドに従いました:
export SYS_ROOT="/home/pedro/Android/Sdk/ndk-bundle/platforms/android-19/arch-x86"
export CC="/home/pedro/Android/Sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-gcc --sysroot=$SYS_ROOT"
export PATH="/home/pedro/Android/Sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/:$PATH"
その後:
./configure --host=i686-linux
しかし、私はこのエラーを受け取りました:
checking gelf.h usability... no
checking gelf.h presence... no
checking for gelf.h... no
configure: error: *** libelf.h or gelf.h not found on your system
私も試しました:
./configure --host=i686-linux --with-libelf=/usr/local
そして受け取った:
checking gelf.h usability... no
checking gelf.h presence... yes
checking for gelf.h... no
configure: error: *** libelf.h or gelf.h not found on your system
Androidビルドのltraceで同様/同じ問題が見つかりました が、誰も返信しておらず、数か月前だったので、もう一度質問しました。問題ないことを願っています。Android用のltraceを構築できるように、誰かがこの問題または別の方法で私を助けることができますか? ありがとうございました。