[SOLVED] git "fail"

A git kizarolag gcc-vel fordul, de ezt elfelejtettek beleirni az INSTALL-ba.
De ugy tunik, ez mashol sincs leirva.

gcc site:git-scm.org: 2 results
gcc site:git.wiki.kernel.org: 8 results

Ha valakit ennek ellenere megis erdekelne a tema, cmihai reszletesen leirta, mik kellenek a forditashoz.

---

Update: megoldva, ld lejjebb.

Hozzászólások

GNU stuff, no surprise. Egyebkent nem sok proginak van benne az INSTALL-jaba, hogy he, ez Gcc-vel keszult.
--


Ki oda vagyik, hol szall a galamb, elszalasztja a kincset itt alant.

subscribe
-------------------------------------------------------------------------------
Az életben csak egy dolog a szép, de az épp nem jut eszembe.

Slackware Linux 13.1 | 2.6.34.1-janos

Hasznal gccism-et vagy a korites GNU dependant (autoconf/automake/bash/stb)? Mondjuk remelem autoconf/automaket nem hasznal :)

--
http://bsdbased.com

inkabb az elobbi, GNU make miatt van a PATH a commandline-ban (Makefile-bol a -Wall mar ki lett szedve):


$ PATH=/opt/freeware/bin:$PATH make prefix=/usr/local all
    CC fast-import.o
"compat/bswap.h", line 13.1: 1506-277 (S) Syntax error: possible missing ';' or ','?
"compat/bswap.h", line 12.8: 1506-485 (S) Parameter declaration list is incompatible with declarator for inline.
"git-compat-util.h", line 218.29: 1506-045 (S) Undeclared identifier prefix.
"git-compat-util.h", line 219.24: 1506-045 (S) Undeclared identifier str.
"git-compat-util.h", line 353.1: 1506-277 (S) Syntax error: possible missing ';' or ','?
"git-compat-util.h", line 352.8: 1506-485 (S) Parameter declaration list is incompatible with declarator for inline.
"git-compat-util.h", line 364.31: 1506-045 (S) Undeclared identifier dest.
"git-compat-util.h", line 364.37: 1506-045 (S) Undeclared identifier src.
"git-compat-util.h", line 364.42: 1506-045 (S) Undeclared identifier n.
"git-compat-util.h", line 390.1: 1506-277 (S) Syntax error: possible missing ';' or ','?
"git-compat-util.h", line 389.8: 1506-485 (S) Parameter declaration list is incompatible with declarator for inline.
"git-compat-util.h", line 398.29: 1506-045 (S) Undeclared identifier filename.
"git-compat-util.h", line 399.32: 1506-045 (S) Undeclared identifier ext.
"git-compat-util.h", line 429.1: 1506-277 (S) Syntax error: possible missing ';' or ','?
"git-compat-util.h", line 428.8: 1506-485 (S) Parameter declaration list is incompatible with declarator for inline.
"git-compat-util.h", line 441.22: 1506-045 (S) Undeclared identifier s.
"git-compat-util.h", line 441.29: 1506-045 (S) Undeclared identifier base.
"git-compat-util.h", line 444.10: 1506-045 (S) Undeclared identifier result.
"git-compat-util.h", line 449.1: 1506-277 (S) Syntax error: possible missing ';' or ','?
"git-compat-util.h", line 448.8: 1506-485 (S) Parameter declaration list is incompatible with declarator for inline.
"strbuf.h", line 57.68: 1506-277 (S) Syntax error: possible missing ';' or ','?
"strbuf.h", line 57.8: 1506-485 (S) Parameter declaration list is incompatible with declarator for inline.
"strbuf.h", line 65.16: 1506-045 (S) Undeclared identifier sb.
"strbuf.h", line 70.65: 1506-277 (S) Syntax error: possible missing ';' or ','?
"strbuf.h", line 70.8: 1506-485 (S) Parameter declaration list is incompatible with declarator for inline.
"strbuf.h", line 90.21: 1506-045 (S) Undeclared identifier sb.
"strbuf.h", line 91.30: 1506-045 (S) Undeclared identifier c.
make: *** [fast-import.o] Error 1

http://github.com/git/git/blob/master/git-compat-util.h

a 218/219-es soron ez van:

static inline const char *skip_prefix(const char *str, const char *prefix)
{
size_t len = strlen(prefix);
return strncmp(str, prefix, len) ? NULL : str + len;
}

Ahogy nezegettem a tobbit is, a forditod azon sikitozik, ha inline fuggvenynel van const parameter. Amugy nem lehet c99 modba kapcsolva a forditod, azzal csak menne :)

Szerk: http://www-01.ibm.com/support/docview.wss?uid=swg21142398

--
http://bsdbased.com

whargarbl ;-)

c99-cel valoban elindul, csak nem szantam ra annyi energiat, hogy utanajarjak ennek is.

CC = c99_r

Most inditottam el, majd irok, ha lesz belole valami, lassu a hardver...
szerk. a tobbi cucc nem GNU, tehat meg lehetnek meglepetesek kesobb, de csak szepen lepesrol lepesre.

update:


    CC http-push.o
"http-push.c", line 14.10: 1506-296 (S) #include file <expat.h> not found.

Mert az rpm-eknel az expat-bol nincs fenn a -devel...

update 2:


make[1]: /usr/bin/python: Command not found

Amugy a binarisok mar lefordultak, ez mar csak a git_remote_helpers.