2
respostas

Erro ao fazer o make - Raspbian

Ola, estou usando raspbian (em um raspberry pi) para fazer o curso, ao tentar instalar o pacote via codigo fonte, usei o mesmo sugerido pelo professor, fazendo o make retorna inumemas msgs como essas abaixo...

Essa é a versao que estou usando: Raspbian GNU/Linux 10 (buster) Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux

T_VERSION = 1.8.3.1
    * new build flags
    CC credential-store.o
In file included from /usr/include/unistd.h:25,
                 from git-compat-util.h:97,
                 from cache.h:4,
                 from credential-store.c:1:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
    * new link flags
    CC abspath.o
In file included from /usr/include/unistd.h:25,
                 from git-compat-util.h:97,
                 from cache.h:4,
                 from abspath.c:1:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
    CC advice.o
In file included from /usr/include/unistd.h:25,
                 from git-compat-util.h:97,
                 from cache.h:4,
                 from advice.c:1:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
    CC alias.o
In file included from /usr/include/unistd.h:25,
                 from git-compat-util.h:97,
                 from cache.h:4,
                 from alias.c:1:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
    CC alloc.o
In file included from /usr/include/unistd.h:25,
2 respostas

Ja achei o problema... o Raspbian ja vem com o git pre-instalado... Para descobrir eu usei o comando which

pi@raspberrypi:~ $ which git
/usr/bin/git

Para sabe a version

pi@raspberrypi:~ $ git --version
git version 2.20.1

O curso é bom mesmo... haha :)

Boa, Lucas!!!

Bons estudos e conte conosco!

Um abraço.