Hi,
ich arbeite mich gerade in Python ein.
Ziel ist es ein Internetradio zu basteln IR-Empfänger 38kHz + HD4480-Display.
Soweit ist alles eingerichtet und funktioniert,
jedoch bekomme ich pylirc2 nicht zum laufen.
Ich scheitere beim compilieren:
Code
running install
running build
running build_ext
building 'pylircmodule' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototy pes -fPIC -I/usr/include/python2.7 -c pylircmodule.c -o build/temp.linux-armv6l-2.7/pylircmodule.o
In file included from /usr/include/python2.7/Python.h:8:0,
from pylircmodule.c:39:
/usr/include/python2.7/pyconfig.h:1161:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
/usr/include/features.h:214:0: note: this is the location of the previous definition
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-armv6l-2.7/pylircmodule.o -llirc_client -o build/lib.linux-armv6l-2.7/pylircmodule.so
/usr/bin/ld: cannot find -llirc_client
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Alles anzeigen
Vorab habe ich die lirc_client.h aus dem Internet geladen und den Pfad in der C-Datei (pylircmoduel.c) angepasst.
Leider habe ich das Modul auch nicht (compilliert) für den Raspi gefunden.
Kann mir jemand bei diesem Problem helfen?
Gruß