[LTP] ltp-full-20160510 compile failed

Han Pingtian hanpt@linux.vnet.ibm.com
Wed May 18 10:27:26 CEST 2016


Hi,

When I try to compile the latest LTP, it failed:

    % ./configure --with-open-posix-testsuite --prefix=`pwd`
    % make -j 64 all
... ...
functional/mqueues/send_rev_1 compile PASSED
make[4]: Leaving directory '/home/hpt/ltp-full-20160510/testcases/open_posix_testsuite/functional/mqueues'
make[4]: Entering directory '/home/hpt/ltp-full-20160510/testcases/open_posix_testsuite/functional/semaphores'
make[4]: *** No rule to make target 'all'.  Stop.
make[4]: Leaving directory '/home/hpt/ltp-full-20160510/testcases/open_posix_testsuite/functional/semaphores'
make[4]: Entering directory '/home/hpt/ltp-full-20160510/testcases/open_posix_testsuite/functional/threads'
make[5]: Entering directory '/home/hpt/ltp-full-20160510/testcases/open_posix_testsuite/functional/threads/condva
r'
make[5]: *** No rule to make target 'all'.  Stop.
make[5]: Leaving directory '/home/hpt/ltp-full-20160510/testcases/open_posix_testsuite/functional/threads/condvar
' 
make[5]: Entering directory '/home/hpt/ltp-full-20160510/testcases/open_posix_testsuite/functional/threads/pi_tes
t'
make[5]: *** No rule to make target 'all'.  Stop.
make[5]: Leaving directory '/home/hpt/ltp-full-20160510/testcases/open_posix_testsuite/functional/threads/pi_test
' 
make[5]: Entering directory '/home/hpt/ltp-full-20160510/testcases/open_posix_testsuite/functional/threads/schedule'
make[5]: *** No rule to make target 'all'.  Stop.
make[5]: Leaving directory '/home/hpt/ltp-full-20160510/testcases/open_posix_testsuite/functional/threads/schedule'
Makefile:8: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/hpt/ltp-full-20160510/testcases/open_posix_testsuite/functional/threads'
Makefile:8: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/hpt/ltp-full-20160510/testcases/open_posix_testsuite/functional'
/home/hpt/ltp-full-20160510/testcases/open_posix_testsuite/Makefile:82: recipe for target 'functional-all' failed
make[2]: *** [functional-all] Error 2
make[2]: Leaving directory '/home/hpt/ltp-full-20160510/testcases/open_posix_testsuite'
../include/mk/generic_trunk_target.inc:93: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/hpt/ltp-full-20160510/testcases'
Makefile:114: recipe for target 'testcases-all' failed
make: *** [testcases-all] Error 2

The Makefile in

    /home/hpt/ltp-full-20160510/testcases/open_posix_testsuite/functional/semaphores

is empty.  And if I compile the package like this:

    % ./configure --with-open-posix-testsuite --prefix=`pwd`
    % cd testcases/open_posix_testsuite
    % make -j 64
    % cd -
    % make -j 64 all

Then it will succeed. Not sure if it is usable when compiling like this?
Please advise. Thanks in advance!



More information about the ltp mailing list