Hi!
> > The previous patch had missing changes in Makefile and ftest04.c.
> > Fixed patch (that was tested on ltp cvs checkout) is attched.
> > 
> > Signed-off-by: Cyril Hrubis chru...@suse.cz
> 
> This Fixes the earlier issues, but introduced a new one.
> 
> # make
> will work fine, but
> # make -j4
> will not,
> 
> because,
> 
> ltp/testcases/kernel/fs/ftest/libftest.o
> 
> may not have been created when:
> 
> # gcc ... libftest.o ftest01.c
> or,
> # gcc ... libftest.o ftest02.c
> 

Attached patch should fix this.

Signed-off-by: Cyril Hrubis chru...@suse.cz

-- 
Cyril Hrubis
chru...@suse.cz
Index: ltp/testcases/kernel/fs/ftest/Makefile
===================================================================
--- ltp.orig/testcases/kernel/fs/ftest/Makefile
+++ ltp/testcases/kernel/fs/ftest/Makefile
@@ -22,12 +22,14 @@
 # description	: make(1) description file for the send(2) tests.	  #
 ###########################################################################
 CFLAGS+=	-I../../../../include -W -Wall -g
-LOADLIBES+=	-L../../../../lib libftest.o -lltp
+LOADLIBES+=	-L../../../../lib -lltp
 
 SRCS=$(wildcard ftest*.c)
 TARGETS=$(patsubst %.c,%,$(SRCS))
 
-all: libftest.o $(TARGETS)
+all: $(TARGETS)
+
+$(TARGETS): libftest.o
 
 install:
 	@set -e; for i in $(TARGETS) ; do ln -f $$i ../../../bin/$$i ; done ;
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to