----- Original Message -----
> From: "$rik@nth" <srikanth0...@gmail.com>
> To: ltp-list@lists.sourceforge.net
> Sent: Wednesday, 29 July, 2015 3:32:32 PM
> Subject: [LTP] LTP make failed
>
> Hi,
>
> I am trying to cross compile LTP and observing some issue. Any help or
> suggestions to overcome from these errors. TIA
Hi,
please don't send html in emails to list.
>
>
> make[1]: Entering directory
> `/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/mem/hugetlb/hugemmap'
> make -C "/local/mnt2/workspace2/LTP/ltp-full-20150420/lib" -f
> "/local/mnt2/workspace2/LTP/ltp-full-20150420/lib/Makefile" all
> make[2]: Entering directory
> `/local/mnt2/workspace2/LTP/ltp-full-20150420/lib'
> make[3]: Entering directory
> `/local/mnt2/workspace2/LTP/ltp-full-20150420/lib/tests'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/local/mnt2/workspace2/LTP/ltp-full-20150420/lib/tests'
> make[2]: Leaving directory `/local/mnt2/workspace2/LTP/ltp-full-20150420/lib'
> make -C ../../../../../testcases/kernel/mem/lib -f
> "/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/mem/lib/Makefile"
> all
> make[2]: Entering directory
> `/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/mem/lib'
> make -C /local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/lib -f
> "/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/lib/Makefile"
> all
> make[3]: Entering directory
> `/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/lib'
> if [ -z "numa_helper.o" ] ; then \
> echo "Cowardly refusing to create empty archive"; \
> exit 1; \
> fi
> arm-linux-gnueabi-ar -rc "lib/libipc_hugetlb.a" numa_helper.o
So, it goes into 'testcases/kernel/lib' and tries to build libipc_hugetlb.a?
That doesn't look right.
Try building it in smaller steps, if you're using parallel make,
use just single job.
1. cd $LTP/lib
make
2.
cd $LTP/testcases/kernel/mem/hugetlb/lib
make
3.
cd $LTP/testcases/kernel/lib
make
Is the above still failing for you? If so, please share the errors.
Regards,
Jan
> arm-linux-gnueabi-ar: lib/libipc_hugetlb.a: No such file or directory
> make[3]: *** [lib/libipc_hugetlb.a] Error 1
> make[3]: Leaving directory
> `/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/lib'
> make[2]: ***
> [/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/lib/libkerntest.a]
> Error 2
> make[2]: Leaving directory
> `/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/mem/lib'
> make[1]: *** [../../../../../testcases/kernel/mem/lib/libmem.a] Error 2
> make[1]: Leaving directory
> `/local/mnt2/workspace2/LTP/ltp-full-20150420/testcases/kernel/mem/hugetlb/hugemmap'
> make: *** [all] Error 2
>
> Here the file is there "ib/libipc_hugetlb.a: No such file or directory" but
> still it showing the error.
>
> --
> Thanks & Regards,
> M.Srikanth Kumar.
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list