Thread (4 messages) 4 messages, 2 authors, 2016-06-15

Re: git 1.6.6.1 on glibc 2.2

flat view

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:48:05

Hi!

Gabor Z. Papp wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help