This is the mail archive of the
mailing list for the Cygwin project.
Re: gcc problem - cygwin-1.5.19-4
- From: "Gerrit P. Haase" <freeweb at nyckelpiga dot de>
- To: COLLETTE Yann <yann dot collette at renault dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 31 Jan 2006 22:07:57 +0100
- Subject: Re: gcc problem - cygwin-1.5.19-4
- References: <43D5D8D4.email@example.com>
- Reply-to: "Gerrit P. Haase" <freeweb at nyckelpiga dot de>
> 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
> 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: *** [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.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html