hi,
I'm experiencing a strange problem with make, which I can't
narrow down. What happens is that I have an 'echo' executable
in the local directory, which gets executed whenever I call
'make echo'. The make debugging output looks so:
...
Finished prerequisites of target file `echo.o'.
Prerequisite
`/data1/seefelds/projects/berlin/Berlin/src/Prague/Examples/Network/echo.cc' is newer
than target `echo.o'.
Must remake target `echo.o'.
hello world
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x08077590 PID 25653
make: *** [echo.o] Error 255
Removing child 0x08077590 PID 25653 from chain.
...
where the 'hello world' line is the actual output from my 'echo' script (which I
created for
the purpose of this test. Note that I don't have any 'echo' target in my Makefile.
However, I
have this:
...
all: $(TARGETS)
%.o: $(srcdir)/%.cc
@echo compiling $(@F)
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
...
What is going on here ?
Thanks a lot, Stefan
PS: in fact, the problem I'm struggling with is that in my real case, I do have an
'echo'
target (echo.cc -> echo.o -> echo), and the make process simply hangs (sleeps)
once the target
is done. (i.e. no other targets are built).
_______________________________________________________
Stefan Seefeld
Departement de Physique
Universite de Montreal
email: [EMAIL PROTECTED]
_______________________________________________________
...ich hab' noch einen Koffer in Berlin...
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make