|
From: Nicholas N. <n.n...@gm...> - 2009-04-01 14:39:15
|
On Sat, Apr 25, 2009 at 12:44 AM, xunilwithkrow <xun...@gm...> wrote: > hi , > > I just tried to build a new plug-in in valgrind-3.4.1. As following the doc "Writing a New Valgirnd Tool", everything goes well untill Step 8 Run. > > The error "*** No rule to make target `filter_cmdline0', needed by `all-am'. Stop." happened, when I "make" the new plug-in. And I catch "filter_cmdline0" in "Makefile.am" under "/valgrind-3.4.1/mytool/tests/" . The context is like this: > > ... > noinst_SCRIPTS = \ > filter_cmdline0 filter_linenos \ > filter_fdleak filter_prophet_discards filter_stderr > ... > > I just want to know what's the "filter_cmdline0" for and how to fix this problem. With that "noinst_SCRIPTS" line in mytool/tests/Makefile.am, you are claiming that all of those files exist within mytool/tests/Makefile.am. Which isn't true. Step 3 of the instructions suggest making an empty mytool/tests/Makefile.am file, but it looks like you copied none/tests/Makefile.am. If you follow the instructions it should work. Nick |