delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 31 Jan 2006 22:07:57 +0100 |
From: | "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> |
Reply-To: | "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> |
Message-ID: | <134604508.20060131220757@familiehaase.de> |
To: | COLLETTE Yann <yann DOT collette AT renault DOT com> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: gcc problem - cygwin-1.5.19-4 |
In-Reply-To: | <43D5D8D4.2020309@renault.com> |
References: | <43D5D8D4 DOT 2020309 AT renault DOT com> |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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 -- =^..^= http://nyckelpiga.de/donate.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |