X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=SjSqMSEjS9o1i82HuVVI30WCVyRFhC53DCF5W8JSMWO InSMCU7JRE9i46BxDfGybBW09Nr1ebfS36F0ezSc776ggRf/9CkTvJRrULiNhn32 ZmYjSHiOSEe3NPMWfPMVr6XNLhy+w91nm7/q7dK1rOS0HrW7PnQB0yRkRd1C6bOA = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=BWs1KNNcVkmmbyNbQ6VdF2UcspM=; b=nOtBEBt/92RykzhxO Sf0SJDsLSGVIaZE0zeginSkEjCjb+MXrJjc6IbS9oIN05lxm6YCdEMt03MO/6CSi Pf6C9kza6MftfBHpateAwkL8xDfEogOIUcsZ2nM9WHMGE9RwciRbvdGBjT/e9fTb hYeNGccq3wpv/qkkKiPoOp8UDs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 X-Received: by 10.180.82.68 with SMTP id g4mr7619159wiy.26.1365658726031; Wed, 10 Apr 2013 22:38:46 -0700 (PDT) Message-ID: <51664D11.5000204@gmail.com> Date: Thu, 11 Apr 2013 06:41:37 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: GCC can't find its header directoriescy References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 11/04/2013 06:12, Duncan Roe wrote: > Thanks guys for the pointers to cygmpfr-4.dll. Got it. > > This problem with headers started happening on an old installation so I > reinstalled but it still happens: > ignoring nonexistent directory "/usr/include" > strerror.c:2:19: error: no include path in which to search for stdio.h > 12:33:27$ ls /usr/include > locale.h netdb.h reent.h stdio.h termios.h wait.h > /usr/include definitely exists but gcc / cpp claims it does not. > Since this "just started happening" I wonder whether it is caused by > some update to Windows. (Win XP SP3). > > Anyone else seen anything like it? I'm stuck, Bizarre. I've never seen anything like it, nor your problem with "altdir invalid". However I've got one guess about what might be interfering, from your cygcheck.out: > 45k 2010/08/15 C:\WINDOWS\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0 > "cyggcc_s-1.dll" v0.0 ts=2010/8/15 8:57 > 982k 2009/12/23 C:\WINDOWS\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0 > "cygiconv-2.dll" v0.0 ts=2009/12/24 0:25 > 31k 2011/11/28 C:\WINDOWS\cygintl-1.dll - os=4.0 img=1.0 sys=4.0 > "cygintl-8.dll" v0.0 ts=2009/4/3 12:15 > 31k 2009/04/03 C:\WINDOWS\cygintl-2.dll - os=4.0 img=1.0 sys=4.0 > "cygintl-8.dll" v0.0 ts=2009/4/3 12:15 > 31k 2009/04/03 C:\WINDOWS\cygintl-8.dll - os=4.0 img=1.0 sys=4.0 > "cygintl-8.dll" v0.0 ts=2009/4/3 12:15 > 224k 2010/06/15 C:\WINDOWS\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0 > "cygpcre-0.dll" v0.0 ts=2010/6/15 14:10 > 10k 2009/12/14 C:\WINDOWS\cygsigsegv-2.dll - os=4.0 img=1.0 sys=4.0 > "cygsigsegv-2.dll" v0.0 ts=2009/12/14 23:56 > 2586k 2010/08/31 C:\WINDOWS\cygwin1.dll - os=4.0 img=1.0 sys=4.0 > "cygwin1.dll" v0.0 ts=2010/8/31 17:58 > Cygwin DLL version info: > DLL version: 1.7.7 Those could well have been interfering. Get rid of all Cygwin-related DLLs from your C:\WINDOWS folder (maybe stash them away somewhere safe in case they turn out to be needed by some Cygwin-dependent application you've got on your system), then reinstall everything using setup.exe (click on "Default" next to the "All" category in the Category view until it switches to "Reinstall", ignore the couple of warning boxes that pop up on the way there) and see if it all works better once that's completed. cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple