Hi, I needed the following patches to make LTP 20081231 build on a 16 thread opensuse 11.0 system.
The first two are because my system doesn't have sys/capability.h, but surprisingly these programs build fine even without it. The last hunk fixes a makefile dependency bug that broke the build here with make -j16. runcc.a always needs to be built before the test programs are linked. BTW I really wish LTP would switch to non recursive make, that would improve the build performance significantly I think. It always spends most of the time to find out that it doesn't need to do anything in all these subdirectories. -Andi --- ltp-full-20081231/testcases/kernel/containers/pidns/pidns14.c~ 2008-12-12 15:36:47.000000000 +0100 +++ ltp-full-20081231/testcases/kernel/containers/pidns/pidns14.c 2009-01-10 05:06:56.000000000 +0100 @@ -32,7 +32,6 @@ * ******************************************************************************/ #define _GNU_SOURCE 1 -#include <sys/capability.h> #include <sys/wait.h> #include <sys/types.h> #include <signal.h> --- ltp-full-20081231/testcases/kernel/containers/pidns/pidns16.c~ 2008-12-12 15:39:20.000000000 +0100 +++ ltp-full-20081231/testcases/kernel/containers/pidns/pidns16.c 2009-01-10 05:06:46.000000000 +0100 @@ -40,7 +40,6 @@ #define _GNU_SOURCE 1 #include <stdio.h> #include <stdlib.h> -#include <sys/capability.h> #include <sys/wait.h> #include <sys/types.h> #include <signal.h> --- ltp-full-20081231/testcases/network/lib6/Makefile~ 2009-01-10 05:25:12.000000000 +0100 +++ ltp-full-20081231/testcases/network/lib6/Makefile 2009-01-10 05:18:51.000000000 +0100 @@ -27,7 +27,9 @@ TARGETS= asapi_01 asapi_02 asapi_03 asapi_04 asapi_05 asapi_06 asapi_07 \ getaddrinfo_01 in6_01 in6_02 -all: runcc.a $(TARGETS) +${TARGETS}: runcc.a + +all: $(TARGETS) install: @set -e; for i in $(TARGETS); do ln -f $$i ../../bin/$$i ; done -- a...@linux.intel.com ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list