Hello,
It's not a flag problem: sometimes when I invoke "make" this problem
happens and the, 1 or 2 seconds after, if I invoke again "make", it
works fine without any modifications. I have never meet this problem
with the preceding version of cygwin. It happened since 1.5.19.
Could it be a transient network problem ?
Your sincerely,
Yann COLLETTE
Gerrit P. Haase a écrit :
Hi,
COLLETTE wrote:
Hello,
I've a problem with gcc: sometimes gcc can't find some include files.
TestSpeedMetric.cpp:46:26: ParetoSoft.hpp: No such file or directory
TestSpeedMetric.cpp: In function `int main()':
TestSpeedMetric.cpp:155: error: `ParetoSoft' undeclared (first use this
function)
TestSpeedMetric.cpp:155: error: (Each undeclared identifier is reported
only once for each function it appears in.)
TestSpeedMetric.cpp:155: error: expected primary-expression before "int"
TestSpeedMetric.cpp:155: error: expected `;' before "int"
make[1]: *** [TestSpeedMetric] Error 1
If I do a new "make", everything works fine. This is not a Makefile
problem, but more a gcc problem. Gcc version is 3.4.4 (cygwin special).
I don't think so. Maybe the header is a generated file or it is copied
and you use make -j3, so it may be that make tries to invoke gcc to
compile the file before another make process has finished its work and
the file is actually not there where it is expected?
What flags do you use to invoke make? What is the according rule in the
Makefile? How is the actual command line? More details needed to
narrow this down.
Gerrit
-- Disclaimer ------------------------------------
Ce message ainsi que les eventuelles pieces jointes constituent une
correspondance privee et confidentielle a l'attention exclusive du destinataire
designe ci-dessus. Si vous n'etes pas le destinataire du present message ou une
personne susceptible de pouvoir le lui delivrer, il vous est signifie que toute
divulgation, distribution ou copie de cette transmission est strictement
interdite. Si vous avez recu ce message par erreur, nous vous remercions d'en
informer l'expediteur par telephone ou de lui retourner le present message,
puis d'effacer immediatement ce message de votre systeme.
***
This e-mail and any attachments is a confidential correspondence intended only
for use of the individual or entity named above. If you are not the intended
recipient or the agent responsible for delivering the message to the intended
recipient, you are hereby notified that any disclosure, distribution or copying
of this communication is strictly prohibited. If you have received this
communication in error, please notify the sender by phone or by replying this
message, and then delete this message from your system.