Hi,
LTP is failing to compile with GCC 3.3.3 due to Makefile's
inconsistency. SLES9.X distros are affected by this problem.
This patch fixes how /lib/ipcmsg.h header file is referenced. It works
fine with GCC 3.4.X, however, compiling headers doesn't make any sense
to me.
That's All Folco's
Signed-off-by: Rafael Folco <[EMAIL PROTECTED]>
--
Rafael Camarda Silva Folco
Linux on Power FVT
IBM Linux Technology Center
Phone: +55 19 2132-2346 T/L: 839-2346
E-Mail: [EMAIL PROTECTED]
diff -rupN ltp-full-20080229/testcases/kernel/syscalls/ipc/msgctl/Makefile ltp-patch/testcases/kernel/syscalls/ipc/msgctl/Makefile
--- ltp-full-20080229/testcases/kernel/syscalls/ipc/msgctl/Makefile 2008-02-28 23:55:45.000000000 -0800
+++ ltp-patch/testcases/kernel/syscalls/ipc/msgctl/Makefile 2008-03-12 08:20:22.367215296 -0700
@@ -18,15 +18,12 @@
CFLAGS += -I../lib -I../../../../../include -Wall
LDLIBS += -L../../../../../lib -lltp -L.. -lipc
-LIBIPC_HEADERS = ../lib/ipcmsg.h
SRCS = $(wildcard *.c)
TARGETS = $(patsubst %.c,%,$(SRCS))
all: $(TARGETS)
-$(TARGETS): $(LIBIPC_HEADERS)
-
install:
@set -e; for i in $(TARGETS); do ln -f $$i ../../../../bin/$$i ; done
diff -rupN ltp-full-20080229/testcases/kernel/syscalls/ipc/msgget/Makefile ltp-patch/testcases/kernel/syscalls/ipc/msgget/Makefile
--- ltp-full-20080229/testcases/kernel/syscalls/ipc/msgget/Makefile 2008-02-28 23:55:45.000000000 -0800
+++ ltp-patch/testcases/kernel/syscalls/ipc/msgget/Makefile 2008-03-12 08:21:12.603297984 -0700
@@ -21,12 +21,9 @@ LDLIBS += -L../../../../../lib -lltp -L.
SRCS = $(wildcard *.c)
TARGETS = $(patsubst %.c,%,$(SRCS))
-LIBIPC_HEADERS = ../lib/ipcmsg.h
all: $(TARGETS)
-$(TARGETS): $(LIBIPC_HEADERS)
-
install:
@set -e; for i in $(TARGETS); do ln -f $$i ../../../../bin/$$i ; done
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list