From: Gabor Z. Papp Date: Sun, 24 Jan 2010 15:09:37 GMT Subject: Re: git 1.6.6.1 on glibc 2.2 Message-ID: In-Reply-To: <20100124122751.GA3265@progeny.tock> * Jonathan Nieder : | > trying to compile git 1.6.6.1 on Linux 2.4.37.7, glibc 2.2.5: | > | > read-cache.c: In function 'fill_stat_cache_info': | > read-cache.c:72: error: 'struct stat' has no member named 'st_ctim' | Thanks for the report. Perhaps: | # Define NO_NSEC if your "struct stat" does not have "st_ctim.tv_nsec" | # available. This automatically turns USE_NSEC off. Thanks Jonathan, compiles fine defining NO_NSEC, but my glibc is 2.2.5 and the comment abot USE_NSEC says it requires at least glibc 2.2.4. Maybe the comment is wrong? glibc 2.3.6 compiles fine.