Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Thu, 12 May 2005 11:05:59 -0600 From: Mark Paulus Subject: Re: Can't build coreutils 5.3.0-5 - RESOLVED!! In-reply-to: <051220051459.1397.42836F400006A2630000057522007614380A050E040D0C079D0A@comcast.net> To: "cygwin AT cygwin DOT com" Message-id: <0IGD00M06ZHZIP@pmismtp01.mcilink.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit X-IsSubscribed: yes Turns out that sometime ago, I had built and installed a cygwin1.dll into /usr/local. During the process of that build/install, it also installed an older types.h into /usr/local/include/cygwin/types.h. Removing those fixed the problem. Actually had to look at .deps/fsupdate.Po to figure out where it was pulling types.h in. On Thu, 12 May 2005 14:59:12 +0000, Eric Blake wrote: >> In file included from /usr/src/coreutils-5.3.0/lib/fsusage.c:76: >> /usr/include/sys/statvfs.h:22: error: parse error before "fsblkcnt_t" >> /usr/include/sys/statvfs.h:24: error: parse error before "f_bavail" >> /usr/include/sys/statvfs.h:25: error: parse error before "f_files" >> /usr/include/sys/statvfs.h:26: error: parse error before "f_ffree" >> /usr/include/sys/statvfs.h:27: error: parse error before "f_favail" >> /usr/include/sys/statvfs.h:31: error: parse error before '}' token >> make[3]: *** [fsusage.o] Error 1 >> make[3]: Leaving directory `/usr/src/coreutils-5.3.0/.build/lib' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory `/usr/src/coreutils-5.3.0/.build/lib' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/usr/src/coreutils-5.3.0/.build' >> make: *** [all] Error 2 >Weird - I can't reproduce that error. Your cygcheck output shows that you have cygwin-1.5.16-1, which includes the latest version of /usr/include/sys/statvfs.h. If that is corrupt, try reinstalling cygwin. >$ md5sum /usr/include/sys/statvfs.h >db1fe2c8fb67478f6dc67cc1d3b642ad */usr/include/sys/statvfs.h >-- >Eric Blake -- 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/