Skip to contentSkip to conversation

"nm" testcase failed

LTP Mitani 2 participants 2 messages Dec 22, 2009 Kbuild

lore
Share & tools
lore

Mitani

author
#0 lore raw

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.new renamed from Makefile +1 -1
@@ -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

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 29 lines · Mitani

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.new        2009-12-22 10:22:31.000000000 +0900 renamed from Makefile    2009-10-10 02:55:44.000000000 +0900 +0 -0
@@ -24,7 +24,7 @@
 

 include $(top_srcdir)/include/mk/env_pre.mk

Makefile.new        2009-12-22 10:22:31.000000000 +0900 renamed from Makefile    2009-10-10 02:55:44.000000000 +0900 +1 -1
-INSTALL_TARGETS                := nm01 nmfile.c
+INSTALL_TARGETS                := nm01 nmfile.c nmfile1.c nmfile2.c

nmfile3.c

Quoted 2 lines

 MAKE_TARGETS           := $(patsubst $(abs_srcdir)/%.c,%.obj,$(wildcard $(abs_srcdir)/*.c))

Good catch! Committed.
-Garrett

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list