HI. How can I use Mobibench and MOST on an Android smartphone? Thanks!
Activity
joontaekoh commentedon Jun 12, 2018
Just do cross compile it.
You can do cross compile with arm-gcc and you can get arm-gcc from this link (https://android.googlesource.com/platform/prebuilts).
wuqiulin1995 commentedon Jun 13, 2018
OK.
Thanks a lot!
wuqiulin1995 commentedon Jul 19, 2018
Hi
I did cross compile but it failed and it showed this massage :
../lib/libext2fs.a(test_io.o): In function
safe_getenv': /home/cross/AndroStep/MOST-master/progs/most/build/lib/ext2fs/../../../lib/ext2fs/test_io.c:176: undefined reference to__secure_getenv'../lib/libcom_err.a(error_message.o): In function
safe_getenv': /home/cross/AndroStep/MOST-master/progs/most/build/lib/et/../../../lib/et/error_message.c:191: undefined reference to__secure_getenv'../lib/libblkid.a(cache.o): In function
safe_getenv': /home/cross/AndroStep/MOST-master/progs/most/build/lib/blkid/../../../lib/blkid/cache.c:52: undefined reference to__secure_getenv'collect2: error: ld returned 1 exit status
Makefile:353: recipe for target 'e2fsck' failed
make[2]: *** [e2fsck] Error 1
make[2]: Leaving directory '/home/cross/AndroStep/MOST-master/progs/most/build/e2fsck'
Makefile:323: recipe for target 'all-progs-recursive' failed
make[1]: *** [all-progs-recursive] Error 1
make[1]: Leaving directory '/home/cross/AndroStep/MOST-master/progs/most/build'
Makefile:263: recipe for target 'all' failed
make: *** [all] Error 2
How can I solve it?