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

Re: Compilation pb of git-1.7.0.5

From
YCYves Caniou <yves.caniou@ens-lyon.fr>
Date
Apr 19, 2010, 07:32 UTC
Message-ID
<201004190932.26445.yves.caniou@ens-lyon.fr>
In-Reply-To
<i2kfabb9a1e1004182326w32b1ce9ak2ada640ce30cc945@mail.gmail.com>
Le Monday 19 April 2010 08:26:59 Sverre Rabbelier, vous avez écrit :
Show 6 quoted lines
> Heya,
>
> On Mon, Apr 19, 2010 at 07:59, Yves Caniou <yves.caniou@ens-lyon.fr> wrote:
> > After the ./configure --prefix=$HOME/git, the make all gives me
>
> Which revision are you trying to compile?
I should have recall this in the mail, instead of just let it in the subject: 1.7.0.5
> Also, it's probably more 
> helpful to just post the result of 'make all' verbatim, rather than
> snippets.

Ok. Thanks to wereHamster on IRC, it appears that the compiler that was used for compilation is the Hitachi Cc version 6.2 and not gcc, because ./configure detects cc and uses cc instead of gcc.

Here is the output of the make all, made after the ./configure [...]
--------
$>make all
    * new build flags or prefix
    CC fast-import.o
cc: Warning: 100, Unknown option, "-g" option is ignored.
fast-import.c: 2622: Warning: 2570, Value assigned to enumeration object "type" is different type.
fast-import.c: 1776: Warning: 2570, Value assigned to enumeration object "type" is different type.
fast-import.c: 2213: Warning: 2570, Value assigned to enumeration object "type" is different type.
fast-import.c: 2346: Warning: 2570, Value assigned to enumeration object "type" is different type.
    CC abspath.o
cc: Warning: 100, Unknown option, "-g" option is ignored.
    CC advice.o
cc: Warning: 100, Unknown option, "-g" option is ignored.
    CC alias.o
cc: Warning: 100, Unknown option, "-g" option is ignored.
    CC alloc.o
cc: Warning: 100, Unknown option, "-g" option is ignored.
    CC archive.o
cc: Warning: 100, Unknown option, "-g" option is ignored.
archive.c: 223: Serious: 4470, Initialization value must be address constant expression.
archive.c: 309: Serious: 4470, Initialization value must be address constant expression.
archive.c: 311: Serious: 4470, Initialization value must be address constant expression.
archive.c: 313: Serious: 4470, Initialization value must be address constant expression.
archive.c: 315: Serious: 4470, Initialization value must be address constant expression.
archive.c: 316: Serious: 4470, Initialization value must be address constant expression.
archive.c: 317: Serious: 4470, Initialization value must be address constant expression.
archive.c: 318: Serious: 4470, Initialization value must be address constant expression.
archive.c: 319: Serious: 4470, Initialization value must be address constant expression.
archive.c: 320: Serious: 4470, Initialization value must be address constant expression.
archive.c: 321: Serious: 4470, Initialization value must be address constant expression.
archive.c: 322: Serious: 4470, Initialization value must be address constant expression.
archive.c: 323: Serious: 4470, Initialization value must be address constant expression.
archive.c: 324: Serious: 4470, Initialization value must be address constant expression.
archive.c: 325: Serious: 4470, Initialization value must be address constant expression.
archive.c: 326: Serious: 4470, Initialization value must be address constant expression.
archive.c: 329: Serious: 4470, Initialization value must be address constant expression.
archive.c: 332: Serious: 4470, Initialization value must be address constant expression.
archive.c: 334: Serious: 4470, Initialization value must be address constant expression.
make: *** [archive.o] Error 1
------------

Note that the direct compilation with the following command calls gcc, worked and the installation was successful. $>make prefix=$HOME/git install

Thank you.
.Yves.
Previous: Sverre RabbelierNext: Michael J Gruber
Message 3 of 5 in “Compilation pb of git-1.7.0.5”
  1. Yves CaniouApr 19, 2010
  2. Sverre RabbelierApr 19, 2010
  3. Yves CaniouApr 19, 2010
  4. Michael J GruberApr 19, 2010
  5. Yves CaniouApr 19, 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.