bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recompilation error


From: Alexandre Duret-Lutz
Subject: Re: Recompilation error
Date: Fri, 12 Sep 2003 14:12:52 +0200

On Fri, Sep 12, 2003 at 11:24:56AM +0200, Olaf Stelzner wrote:
> address@hidden src]$ make
> if mpiCC -DHAVE_CONFIG_H -I. -I. -I..  -I/opt/mpich/ethernet/include -I../lib
> -I../lib/swe/libswe -I../lib/classes/src  -I/home/stelzner/local/include
> -I/home/local/include  -O3 -Wall -fomit-frame-pointer -fno-leading-underscore
> -MT c3d.o -MD -MP -MF ".deps/c3d.Tpo" \
>   -c -o c3d.o `test -f 'c3d.cpp' || echo './'`c3d.cpp; \
> then mv -f ".deps/c3d.Tpo" ".deps/c3d.Po"; \
> else rm -f ".deps/c3d.Tpo"; exit 1; \
> fi
> cc1plus: error: to generate dependencies you must specify either -M or -MM
> make: *** [c3d.o] Error 1
>
> This does not happen when the source has not been compiled at all,
> or when it had some syntax error and had therefor bnot been
> compiled, but only for files with some object file already
> existing. To get the source recompiled I have to delete the object
> file.

So that sounds like an issue in the mpiCC wrapper.  Can you reproduce
this behavior by running the above mpiCC invocation by hand twice?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]