This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't build coreutils 5.3.0-5 - RESOLVED!!


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]