Address the issue reported in the following email by installing all .c files.
Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Hi,
I found that "nm" testcase failed as follows:
------------
gcc: /opt/ltp/testcases/bin/nmfile1.c: No such file or directory
gcc: no input files
gcc: /opt/ltp/testcases/bin/nmfile2.c: No such file or directory
gcc: no input files
gcc: /opt/ltp/testcases/bin/nmfile3.c: No such file or directory
gcc: no input files
------------
This problem occurs because "nmfile1.c", "nmfile2.c" and "nmfile3.c"
are not installed to execute directory (/opt/ltp/testcases/bin).
To solve this problem, I suggest to apply this patch to Makefile
("${LTPROOT}/testcases/commands/ade/nm/Makefile).
============
--- Makefile 2009-10-10 02:55:44.000000000 +0900
+++ Makefile.new 2009-12-22 10:22:31.000000000 +0900
@@ -24,7 +24,7 @@
include $(top_srcdir)/include/mk/env_pre.mk
-INSTALL_TARGETS := nm01 nmfile.c
+INSTALL_TARGETS := nm01 nmfile.c nmfile1.c nmfile2.c
nmfile3.c
MAKE_TARGETS := $(patsubst $(abs_srcdir)/%.c,%.obj,$(wildcard
$(abs_srcdir)/*.c))
============
Thank you--
-Tomonori Mitani
1 file changed