bug-automake
[Top][All Lists]
Advanced

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

Recompilation error


From: Olaf Stelzner
Subject: Recompilation error
Date: Fri, 12 Sep 2003 11:24:56 +0200
User-agent: KMail/1.5.1

Hi!

Hopefully you can help me with this, since I do not know exactly if you are 
the right institution to talk to:

System:
- Redhat Linux 7.3
- gcc 3.3.1 from gnu.org, self compiled
- automake 1.7.6 from gnu.org, self compiled
- autoconf 2.57 from gnu.org, self compiled
- libtool 1.4.3 from gnu.org, self compiled
- MPI-library mpich 1.2.5 (parallel computing library, mpicc, mpiCC are 
wrapper around gcc and g++)

Problem:
When I change some already compiled source (C or C++) and want to recompile it 
by calling GNU-make, I get this error:

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.

This behaviour can be circumvented by writing 
AM_INIT_AUTOMAKE(no-dependencies) into configure.ac, but since I need 
dependency checking, this cannot be used for long.

If your are not the correct instance for this bug, please let me know where I 
can get some help.

Thanks in advance!

Greetings from sunny Germany,

Olaf





reply via email to

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