Re: git 1.6.6.1 on glibc 2.2
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jan 24, 2010, 12:27 UTC
- Message-ID
- <20100124122751.GA3265@progeny.tock>
- In-Reply-To
- <x6y6jn4txy@gzp>
Hi!
Gabor Z. Papp wrote:
Show 6 quoted lines
> Hello all, > > 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:
$ grep -C3 st_ctim Makefile # randomly break unless your underlying filesystem supports those sub-second # times (my ext3 doesn't). # # Define USE_ST_TIMESPEC if your "struct stat" uses "st_ctimespec" instead of # "st_ctim" # # Define NO_NSEC if your "struct stat" does not have "st_ctim.tv_nsec" # available. This automatically turns USE_NSEC off. # # Define USE_STDEV below if you want git to care about the underlying device
Hope that helps, Jonathan