All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Stancek <jstancek@redhat.com>
To: srikanth007m@gmail.com
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] LTP make failed
Date: Wed, 29 Jul 2015 10:30:21 -0400 (EDT)	[thread overview]
Message-ID: <987570123.467332.1438180221782.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <CANKSX+HAqaZARVLcDWU3Uhv2CYDjSBrrq2H4OrkOSaY647saaA@mail.gmail.com>





----- Original Message -----
> From: "$rik@nth" <srikanth007m@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

  reply	other threads:[~2015-07-29 14:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-29 13:32 [LTP] LTP make failed $rik@nth 
2015-07-29 14:30 ` Jan Stancek [this message]
2015-07-29 14:45 ` Cyril Hrubis
     [not found]   ` <CANKSX+ETp0jdXp+zSUtUPn8SWUQaCh1bETYzcpF_C8kZpPtGdQ@mail.gmail.com>
2015-07-29 15:29     ` Cyril Hrubis
     [not found]       ` <1186607709.563342.1438184803657.JavaMail.zimbra@redhat.com>
2015-07-29 15:50         ` Cyril Hrubis
     [not found]           ` <CANKSX+EukvUBmjMf7TMxTzcsMXmzfGb+FYqrdo7vKnEiLb6wyg@mail.gmail.com>
2015-07-29 19:45             ` Cyril Hrubis
     [not found]               ` <CANKSX+FRJcg3xmc2BbWiDzmSqT2NC+hQib-UsWA4yoWTq8fB3g@mail.gmail.com>
2015-07-30  7:45                 ` Cyril Hrubis
2015-07-30  7:51                 ` Li Wang
2015-07-30 16:25                   ` $rik@nth 
2015-07-30 16:33                     ` Cyril Hrubis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=987570123.467332.1438180221782.JavaMail.zimbra@redhat.com \
    --to=jstancek@redhat.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=srikanth007m@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.