puuu / ESPiLight

ESPiLight - pilight 433.92 MHz protocols library for Arduino
GNU General Public License v3.0
110 stars 41 forks source link

Missing functions #10

Closed kryptoss closed 6 years ago

kryptoss commented 7 years ago

Hello, I get this error on using the example "Receive" of the library installed from arduino library manager:

/tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/quigg_gt1000.c.o: In function createCode': /home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/quigg_gt1000.c:325: undefined reference toputchar' /home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/quigg_gt1000.c:341: undefined reference to putchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/quigg_gt9000.c.o: In functioncreateEncryptedData': /home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/quigg_gt9000.c:247: undefined reference to putchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/quigg_gt7000.c.o: In functioncreateCode': /home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/quigg_gt7000.c:215: undefined reference to putchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/quigg_gt7000.c.o: In functioncreateParity': /home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/quigg_gt7000.c:197: undefined reference to putchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/quigg_screen.c.o:/home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/quigg_screen.c:232: more undefined references toputchar' follow /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/core/json.c.o: In function sb_finish': /home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/core/json.c:396: undefined reference tocalloc' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/core/json.c.o: In function mknode': /home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/core/json.c:396: undefined reference tocalloc' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/alecto_ws1700.c.o: In function checkValues': /home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/alecto_ws1700.c:141: undefined reference toputchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/alecto_ws1700.c.o:(.text.parseCode+0x80): undefined reference to putchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/alecto_wsd17.c.o:(.text.parseCode+0x5c): undefined reference toputchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/alecto_wx500.c.o:(.text.parseCode+0x70): undefined reference to putchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/arctech_contact.c.o: In functionparseCode': /home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/arctech_contact.c:69: undefined reference to putchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/arctech_dimmer.c.o:/home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/arctech_dimmer.c:91: more undefined references toputchar' follow collect2: error: ld returned 1 exit status

It seems several functions are missing. Thank you Regards

puuu commented 7 years ago

What version of Arduino and ESP8266 Board module you are using and what doard did you have selected?

I can compile it without errors with: Arduino: 1.8.3 ESP8266: 2.3.0 Boards: Generic ESP8266 Modul/Adafruit HUZZAH 8266/Wemos D1 R1 & mini

puuu commented 6 years ago

No answer for long time. Close it. Please reopen if not solved.