Re: [LTP] LTP for Android

chrubis
2013-04-03T10:14:53Z

Hi!
> I am trying to test android kernel with LTP without any success.
> What I have tried:
> environment setup:
> ARCH=arm-eabi
> CROSS_COMPILER=/home/sagar/mytoolchain/bin/arm-linux-androideabi
> NDK_ROOT=/home/sagar/android-ndk-r8d
> CC=$CROSS_COMPILER-gcc
> LD=$CROSS_COMPILER-ld
> AR=$CROSS_COMPILER-ar
> STRIP=$CROSS_COMPILER-strip
> RANLIB=$CROSS_COMPILER-ranlib
> CFLAGS="-I/home/sagar/android-ndk-r8d/platforms/android-14/arch-arm/usr/include
> -D_ANDROID -nostdlib -DDEV_BSIZE=512"
> LDFLAGS="-Wl,-rpath-link=/home/sagar/android-ndk-r8d/platforms/android-14/arch-arm/usr/lib
> -L/home/sagar/android-ndk-r8d/platforms/android-14/arch-arm/usr/lib"
> LIBS="-lc"
>
> when I do "./configure --host=arm-eabi" & "make", I get
> parse_opts.c:76:24: fatal error: sys/signal.h: No such file or directory

There were several attempts to port LTP on android, some of the patches
went in but it is not complete.

To my knowledge devs from mips were working on this, they have forked
repo on github:

https://github.com/piet-delaney/android-ltp-ndk

But they weren't sending any patches lately so I'm not aware of the
progress. You should ask them.

--
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal