git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Gabor Z. PappNext: Gabor Z. Papp
Message 2 of 4 in “git 1.6.6.1 on glibc 2.2”
  1. Gabor Z. PappJan 24, 2010
  2. Jonathan NiederJan 24, 2010
  3. Gabor Z. PappJan 24, 2010
  4. Jonathan NiederJan 24, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.