From: "Mitani" <mitani@ryobi.co.jp>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] build failure with 2009-11-24 cvs
Date: Wed, 25 Nov 2009 09:19:59 +0900 [thread overview]
Message-ID: <000001ca6d65$076cb650$164622f0$@co.jp> (raw)
Hi,
I ran "make" in RHEL5.4 (Kernel release : 2.6.18-164.el5) with
ltp-2009-11-24.tar.gz.
But it failed with following error message.
./configure has been done before make.
I use "make 3.81", "autoconf 2.61", "automake 1.10.2", and "m4 1.4.7".
------------
make[3]: Entering directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls'
make[3]: *** No rule to make target
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls/li
bevent/test/Makefile', needed by `libevent-all'. Stop.
make[3]: Leaving directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/LTP/ltp-2009-11-24/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/LTP/ltp-2009-11-24/testcases'
make: *** [testcases-all] Error 2
------------
Similar failure occurred in RHEL5.4 and ltp-2009-11-20.tar.gz too.
I confirmed in "${LTPROOT}/testcases/kernel/syscalls/libevent/test"
directory.
As a result, there wasn't "Makefile" in this directory.
I think that the following command in
"${LTPROOT}/testcases/kernel/syscalls/Makefile"
failed by this reason.
------------
libevent-all: $(abs_srcdir)/libevent/test/Makefile libevent/test
$(MAKE) -C libevent/test -f "$(firstword $^)" $(LIBEVENT_APPS)
------------
I judged that "${LTPROOT}/testcases/kernel/syscalls/libevent/configure"
made "${LTPROOT}/testcases/kernel/syscalls/libevent/test/Makefile".
After execute this configure,
"${LTPROOT}/testcases/kernel/syscalls/libevent/test/Makefile"
was made.
I executed "make" command in "${LTPROOT}" directory again.
Then, this time, it failed in the following error message.
------------
make[3]: Entering directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls'
make -C libevent/test -f
"/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls/libevent/test/Makefile"
regress test-eof test-init test-time test-weof
make[4]: Entering directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls/libevent/test'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../compat -Wall -g -O2 -c regress.c
make[4]: *** No rule to make target `../libevent.a', needed by `regress'.
Stop.
make[4]: Leaving directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls/libevent/test'
make[3]: *** [libevent-all] Error 2
make[3]: Leaving directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/LTP/ltp-2009-11-24/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/LTP/ltp-2009-11-24/testcases'
make: *** [testcases-all] Error 2
------------
This time's failure seems to be caused by the fact that there is not
"${LTPROOT}/testcases/kernel/syscalls/libevent/libevent.a", I think.
"libevent.a" file was made after I executed "make" command in
"${LTPROOT}/testcases/kernel/syscalls/libevent" directory.
But, following failure occurred when I executed this "make" command.
------------
Making all in test
make[2]: Entering directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls/libevent/test'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../compat -Wall -g -O2 -c test-init.c
gcc -I../compat -Wall -g -O2 -o test-init test-init.o -L.. -levent
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../compat -Wall -g -O2 -c test-eof.c
gcc -I../compat -Wall -g -O2 -o test-eof test-eof.o -L.. -levent
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../compat -Wall -g -O2 -c test-weof.c
gcc -I../compat -Wall -g -O2 -o test-weof test-weof.o -L.. -levent
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../compat -Wall -g -O2 -c test-time.c
gcc -I../compat -Wall -g -O2 -o test-time test-time.o -L.. -levent
gcc -I../compat -Wall -g -O2 -o regress regress.o -L.. -levent
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../compat -Wall -g -O2 -c bench.c
gcc -I../compat -Wall -g -O2 -o bench bench.o -L.. -levent
make[2]: ./test.sh: Command not found
make[2]: *** [test] Error 127
make[2]: Leaving directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls/libevent/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/LTP/ltp-2009-11-24/testcases/kernel/syscalls/libevent'
make: *** [all-recursive-am] Error 2
------------
This failure depends on there not being "$ LTPROOT
/testcases/kernel/syscalls/libevent/test.sh".
I cannot make "test.sh", because I don't know what this "test.sh" do.
But, "${LTPROOT}/testcases/kernel/syscalls/libevent/libevent.a", was made,
then, first of all, I executed "make" command in "${LTPROOT}" directory
once again.
Then "make" succeeded.
After that, "make install" succeeded too.
From the above, I think that there may be three following problems.
(1) "${LTPROOT}/testcases/kernel/syscalls/libevent/test/Makefile" does not
exist.
For this measure, this "Makefile" should be made when
"${LTPROOT}/configure"
executed or this is offered as standard equipment, I think.
(2) "${LTPROOT}/testcases/kernel/syscalls/libevent/libevent.a" does not
exist.
For this measure, this "libevent.a" may be necessary to be made when
"make" executed in "${LTPROOT}" directory.
(3) "${LTPROOT}/testcases/kernel/syscalls/libevent/test/test.sh" does not
exist.
For this measure, this "test.sh" may be necessary to be offered as
standard
equipment.
Can I get some advice whether my thought above is right?
Regards--
-Tomonori Mitani
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next reply other threads:[~2009-11-25 0:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-25 0:19 Mitani [this message]
2009-11-25 1:47 ` [LTP] build failure with 2009-11-24 cvs liubo
2009-11-25 6:42 ` Garrett Cooper
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='000001ca6d65$076cb650$164622f0$@co.jp' \
--to=mitani@ryobi.co.jp \
--cc=ltp-list@lists.sourceforge.net \
/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.