Hallo in die Raspberry-Gemeinde,
was Raspberry betrifft, bin ich noch Neuling...
Bisher verlief der Start aber ganz gut, allerding stehe ich gerade vor einem kleinen Problem.
Ich habe einen Pi 2 mit Quadcore im Einsatz.
Für ein erstes kleines Projekt benötige ich wiringPi. Leider lässt es sich nicht installieren/compelieren.
Ich erhalte folgende Ausgabe
Code
pi@raspberrypi:~ $ git clone git://git.drogon.net/wiringPi
Klone nach 'wiringPi'...
fatal: read error: Die Verbindung wurde vom Kommunikationspartner zurückgesetzt
pi@raspberrypi:~ $ git clone https://github.com/WiringPi/WiringPi
Klone nach 'WiringPi'...
remote: Counting objects: 206, done.
remote: Total 206 (delta 0), reused 0 (delta 0), pack-reused 206
Empfange Objekte: 100% (206/206), 188.60 KiB | 0 bytes/s, Fertig.
Löse Unterschiede auf: 100% (92/92), Fertig.
Prüfe Konnektivität... Fertig.
pi@raspberrypi:~ $ cd WiringPi/
pi@raspberrypi:~/WiringPi $ ./build
wiringPi Build script
=====================
Building wiringPi with the I2C helper libraries.
WiringPi library
[UnInstall]
[Compile] wiringPi.c
[Compile] wiringPiFace.c
[Compile] wiringSerial.c
[Compile] wiringShift.c
[Compile] gertboard.c
[Compile] piNes.c
[Compile] lcd.c
[Compile] piHiPri.c
[Compile] piThread.c
[Compile] wiringPiSPI.c
[Compile] softPwm.c
[Compile] softServo.c
[Compile] softTone.c
[Compile] wiringPiI2C.c
[Link (Dynamic + I2C)]
[Install]
GPIO Utility
[Compile] gpio.c
[Link]
gpio.o: In function `main':
gpio.c:(.text.startup+0x154): undefined reference to `wiringPiSetupPiFaceForGpioProg'
gpio.c:(.text.startup+0x580): undefined reference to `gertboardSPISetup'
gpio.c:(.text.startup+0x594): undefined reference to `gertboardAnalogWrite'
gpio.c:(.text.startup+0x760): undefined reference to `gertboardSPISetup'
gpio.c:(.text.startup+0x770): undefined reference to `gertboardAnalogRead'
collect2: error: ld returned 1 exit status
Makefile:45: recipe for target 'gpio' failed
make: *** [gpio] Error 1
Make Failed...
Please check the messages and fix any problems. If you're still stuck,
then please email all the output and as many details as you can to
projects@drogon.net
pi@raspberrypi:~/WiringPi $
Alles anzeigen
Warum der erste Clone Befehl nicht durchgeht weiß ich leider nicht. Firewall ist nichts gesperrt und Internet liegt natürlich auch an.
Was muss ich wo ändern, damit ich das ganze installieren kann? Habe schon etwas gegoogelt und mehrere Möglichkeiten gesichtet (man soll einen Befehl irgendwo hinschreiben, aber wo?)
Danke schon mal für eure Hilfe!
Lg. Floh927