Re: git 1.6.6.1 on glibc 2.2
- From
- Gabor Z. Papp <gzp@papp.hu>
- Date
- Jan 24, 2010, 15:09 UTC
- Message-ID
- <x6d40zmte6@gzp>
- In-Reply-To
- <20100124122751.GA3265@progeny.tock>
* Jonathan Nieder <jrnieder@gmail.com>:
| > 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.