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

Re: Problem compiling git-1.6.4 on OpenServer 6.0

From
BCBrandon Casey <brandon.casey.ctr@nrlssc.navy.mil>
Date
Aug 7, 2009, 21:36 UTC
Message-ID
<DHem56NUSFhg2VqQu1N0qVr3U86qJOp4OZZAEwV2Edz0-YuWJpDtgA@cipher.nrlssc.navy.mil>
In-Reply-To
<alpine.LNX.2.00.0908071523550.13290@suse104.zenez.com>
Boyd Lynn Gerber wrote:
Show 22 quoted lines
> On Fri, 7 Aug 2009, Brandon Casey wrote:
>> Boyd Lynn Gerber wrote:
>>> I just tried to compile the latest git and I get this error.
>>>
>>> CC builtin-pack-objects.o
>>> UX:acomp: ERROR: "builtin-pack-objects.c", line 1602: integral constant
>>> expression expected
>>> gmake: *** [builtin-pack-objects.o] Error 1
>>>
>>> I will look into it when I have a bit more time, but this is a heads up.
>>
>> Did you set THREADED_DELTA_SEARCH=1 when you compiled?  That could be the
>> problem.
>>
>> Line 1602 of builtin-pack-objects.c is wrapped in #ifdef
>> THREADED_DELTA_SEARCH,
>> so it is only compiled if THREADED_DELTA_SEARCH has been set.  Also,
>> it's not
>> a new line, it has been around since 2007.
> 
> Removing it and the -pthread allows it to build.  I am now running the
> tests.  The I need to find out why it is being set.

Did you run configure? which generates a config.mak.autogen file? There were some changes related to pthreads in configure.ac in March, and another back in Nov 2008. Specifically commits 1973b0d7, and d937c374.

-brandon
Previous: Boyd Lynn GerberNext: Boyd Lynn Gerber
Message 6 of 7 in “Problem compiling git-1.6.4 on OpenServer 6.0”
  1. Boyd Lynn GerberAug 7, 2009
  2. Junio C HamanoAug 7, 2009
  3. Brandon CaseyAug 7, 2009
  4. Boyd Lynn GerberAug 7, 2009
  5. Boyd Lynn GerberAug 7, 2009
  6. Brandon CaseyAug 7, 2009
  7. Boyd Lynn GerberAug 8, 2009

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.