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]

Can't build coreutils 5.3.0-5


I am trying to build coreutils-5.3.0-5.

To do so, I requested the coreutils source via
cygwin's setup.  Then I run 
coreutils-5.3.0-5.sh prep
coreutils-5.3.0-5.sh configure
coreutils-5.3.0-5.sh build.

During the build, I get the following failure:

make  all-recursive
make[1]: Entering directory `/usr/src/coreutils-5.3.0/.build'
Making all in lib
make[2]: Entering directory `/usr/src/coreutils-5.3.0/.build/lib'
make  all-am
make[3]: Entering directory `/usr/src/coreutils-5.3.0/.build/lib'
if gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib\" -I. -I/usr/src/coreutils-5.3.0/lib
-I..  -I.. -I/usr/src/coreutils-5.3.0/lib   -O2 -MT fsusage.o -MD -MP -MF ".deps
/fsusage.Tpo" -c -o fsusage.o /usr/src/coreutils-5.3.0/lib/fsusage.c; \
then mv -f ".deps/fsusage.Tpo" ".deps/fsusage.Po"; else rm -f ".deps/fsusage.Tpo
"; exit 1; fi
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

Do I have an out-of-date statvfs.h file, and if so, where/how do I 
go about getting a newer version?  Or, do I need to give some 
special argument value to the configure command?



Attachment: cygcheck.out
Description: Binary data

--
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]