Make on linux generating warnings from shell [message #50506] |
Mon, 18 November 2002 15:44 |
Eclipse User |
|
|
|
Originally posted by: Dale.King.Thomson.net
Whenever I use a makefile with CDT under linux (Mandrake 9 - GTK) I get
some obnoxious warnings like this for any shell command that uses
redirection:
/bin/sh: mc: line 2: syntax error: unexpected end of file
/bin/sh: error importing function definition for `mc'
Here is a minimal makefile that will show the behavior:
foo: Makefile
cat Makefile > foo
That will show the warning. If I change it to the following I don't get
the warning:
foo: Makefile
cp Makefile foo
The warnings don't seem to cause any problems and everything builds
correctly, but they are annoying.
I do not see any such messages when running make from the command line.
--
Dale King
|
|
|
Powered by
FUDForum. Page generated in 0.02854 seconds