facebraker
Newbie
- Registriert
- 22. Januar 2013
- Beiträge
- 16
- Reaktionspunkte
- 3
- Punkte
- 23
AW: Rasperry Projekt Hausautomatik - Teil I Steuerung von Funksteckdosen
Hallo,
eine verdammt tolle Anleitung ich musste mir auch gleich das Zubehör holen/bestellen.
Die Hardware ist da und alles schick verlötet, kein Problem.
Aber: die Software-Seite macht mir Probleme, "git-core" ließ sich auf meinen Pi nicht installieren, brauche eine neuere Version von Git :-/ egal, habe mir das mit wget gezogen.
2 Verzeichnisse unter /home/pi/ anglegt:
rcswitch-pi
wiringPi
Bei beiden kommen Fehler:
bei /home/pi/wiringPi
sudo ./build
wiringPi Build script - please wait...
WiringPi library
[UnInstall]
make: Nothing to be done for `all'.
[Install]
GPIO Utility
[Link]
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_write_byte'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_read_byte'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_write_byte_data'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_write_word_data'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_read_word_data'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_read_byte_data'
collect2: ld returned 1 exit status
make: *** [gpio] Error 1
[Install]
cp: cannot stat `gpio': No such file or directory
make: *** [install] Error 1
Examples
wiringPi Examples
=================
There are now too many examples to compile them all in a sensible time,
and you probably don't want to compile or run them all anyway, so they
have been separated out.
To compile an individual example, just type
make exampleName
Where exampleName is one of:
test1 test2 speed lcd wfi isr piface gertboard nes pwm tone servo
delayTest serialRead serialTest okLed
All Done.
und bei /home/pi/rcswitch-pi/
sudo make
g++ RCSwitch.o send.o -o send -lwiringPi
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_write_byte_data'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_read_byte_data'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_read_byte'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_read_word_data'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_write_word_data'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_write_byte'
collect2: ld returned 1 exit status
make: *** [send] Error 1
libi2c-dev-Paket habe ich schon installiert.
HAT SICH ERLEDIGT, ICH MUSSTE NACH DER INSTALLATION VON libi2c-dev bei wiringPi nur ein ./build clean und ./build uninstall machen, dann klappte ein
./build
Und in rcswitch-pi habe ich ein make clean gemacht, danach funzte ein make.
Würde ich unbedarft sagen, mehr oder weniger das gleiche Problem.
Hat jemand eine Idee?
Danke schon einmal!
Gruß Alex
Hallo,
eine verdammt tolle Anleitung ich musste mir auch gleich das Zubehör holen/bestellen.
Die Hardware ist da und alles schick verlötet, kein Problem.
Aber: die Software-Seite macht mir Probleme, "git-core" ließ sich auf meinen Pi nicht installieren, brauche eine neuere Version von Git :-/ egal, habe mir das mit wget gezogen.
2 Verzeichnisse unter /home/pi/ anglegt:
rcswitch-pi
wiringPi
Bei beiden kommen Fehler:
bei /home/pi/wiringPi
sudo ./build
wiringPi Build script - please wait...
WiringPi library
[UnInstall]
make: Nothing to be done for `all'.
[Install]
GPIO Utility
[Link]
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_write_byte'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_read_byte'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_write_byte_data'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_write_word_data'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_read_word_data'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_read_byte_data'
collect2: ld returned 1 exit status
make: *** [gpio] Error 1
[Install]
cp: cannot stat `gpio': No such file or directory
make: *** [install] Error 1
Examples
wiringPi Examples
=================
There are now too many examples to compile them all in a sensible time,
and you probably don't want to compile or run them all anyway, so they
have been separated out.
To compile an individual example, just type
make exampleName
Where exampleName is one of:
test1 test2 speed lcd wfi isr piface gertboard nes pwm tone servo
delayTest serialRead serialTest okLed
All Done.
und bei /home/pi/rcswitch-pi/
sudo make
g++ RCSwitch.o send.o -o send -lwiringPi
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_write_byte_data'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_read_byte_data'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_read_byte'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_read_word_data'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_write_word_data'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../libwiringPi.so: undefined reference to `i2c_smbus_write_byte'
collect2: ld returned 1 exit status
make: *** [send] Error 1
libi2c-dev-Paket habe ich schon installiert.
HAT SICH ERLEDIGT, ICH MUSSTE NACH DER INSTALLATION VON libi2c-dev bei wiringPi nur ein ./build clean und ./build uninstall machen, dann klappte ein
./build
Und in rcswitch-pi habe ich ein make clean gemacht, danach funzte ein make.
Würde ich unbedarft sagen, mehr oder weniger das gleiche Problem.
Hat jemand eine Idee?
Danke schon einmal!
Gruß Alex
Zuletzt bearbeitet: