Hi All,
We are trying to compile LTP for android using NDK tool chain.
Flags set while configuration-
./configure --host=arm-eabi
CC=/home/vikas/Desktop/LTP/arm-eabi-4.4.3/bin/arm-eabi-gcc
CPPFLAGS="-I/home/vikas/Desktop/android-ndk-r8b/platforms/android-14/arch-arm/usr/include/"
CFLAGS="-nostdlib"
LDFLAGS="-Wl,-rpath-link=/home/vikas/Desktop/android-ndk-r8b/platforms/android-14/arch-arm/usr/lib/
-L/home/vikas/Desktop/android-ndk-r8b/platforms/android-14/arch-arm/usr/lib/"
LIBS="-lc"
After Config we are doing
Make ARCH=arm
it is giving following error.
/Desktop/LTP/ltp-full-20120903$ make ARCH=arm
make -C "lib" \
-f "/home/vikas/Desktop/LTP/ltp-full-20120903/lib/Makefile" all
make[1]: Entering directory `/home/vikas/Desktop/LTP/ltp-full-20120903/lib'
/home/vikas/Desktop/LTP/arm-eabi-4.4.3/bin/arm-eabi-gcc -nostdlib -g -O2
-fno-strict-aliasing -pipe -Wall
-I/home/vikas/Desktop/android-ndk-r8b/platforms/android-14/arch-arm/usr/include/
-I../include -I../include -I../include -I../include -c -o
bytes_by_prefix.o bytes_by_prefix.c
bytes_by_prefix.c: In function 'bytes_by_prefix':
bytes_by_prefix.c:94: error: 'B_MULT' undeclared (first use in this
function)
bytes_by_prefix.c:94: error: (Each undeclared identifier is reported only
once
bytes_by_prefix.c:94: error: for each function it appears in.)
bytes_by_prefix.c: In function 'lbytes_by_prefix':
bytes_by_prefix.c:142: error: 'B_MULT' undeclared (first use in this
function)
bytes_by_prefix.c: In function 'llbytes_by_prefix':
bytes_by_prefix.c:193: error: 'B_MULT' undeclared (first use in this
function)
make[1]: *** [bytes_by_prefix.o] Error 1
make[1]: Leaving directory `/home/vikas/Desktop/LTP/ltp-full-20120903/lib'
make: *** [lib-all] Error 2
Can anybody please suggest some pointer so that we can go forward.
Regards
vikas bisla
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list