Re: Problem compiling git-1.6.4 on OpenServer 6.0
- From
- Brandon Casey <brandon.casey.ctr@nrlssc.navy.mil>
- Date
- Aug 7, 2009, 20:53 UTC
- Message-ID
- <cY-iS6BS6knyjPKeVQI3ZIsIw3A3y5VK1oW-MNzUUztRn8CbeqRdew@cipher.nrlssc.navy.mil>
- In-Reply-To
- <alpine.LNX.2.00.0908071326250.13290@suse104.zenez.com>
Boyd Lynn Gerber wrote:
Show 10 quoted lines
> Hello, > > 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.
-brandon