Guest User

error when compile

a guest
Mar 14th, 2013
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.36 KB | None | 0 0
  1. /usr/share/arduino/Arduino.mk:535: build-cli/depends.mk: Aucun fichier ou dossier de ce type
  2. echo '#include <Arduino.h>' > build-cli/ethernet_raw_test.cpp
  3. cat ethernet_raw_test.ino >> build-cli/ethernet_raw_test.cpp
  4. /usr/bin/avr-g++ -MM -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -fno-exceptions build-cli/ethernet_raw_test.cpp -MF build-cli/ethernet_raw_test.d -MT build-cli/ethernet_raw_test.o
  5. cat build-cli/ethernet_raw_test.d > build-cli/depends.mk
  6. rm build-cli/ethernet_raw_test.cpp
  7. echo '#include <Arduino.h>' > build-cli/ethernet_raw_test.cpp
  8. cat ethernet_raw_test.ino >> build-cli/ethernet_raw_test.cpp
  9. /usr/bin/avr-g++ -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -fno-exceptions build-cli/ethernet_raw_test.cpp -o build-cli/ethernet_raw_test.o
  10. /usr/bin/avr-gcc -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -std=gnu99 /usr/share/arduino//hardware/arduino/cores/arduino/WInterrupts.c -o build-cli/WInterrupts.o
  11. /usr/bin/avr-gcc -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -std=gnu99 /usr/share/arduino//hardware/arduino/cores/arduino/wiring_analog.c -o build-cli/wiring_analog.o
  12. /usr/bin/avr-gcc -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -std=gnu99 /usr/share/arduino//hardware/arduino/cores/arduino/wiring.c -o build-cli/wiring.o
  13. /usr/bin/avr-gcc -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -std=gnu99 /usr/share/arduino//hardware/arduino/cores/arduino/wiring_digital.c -o build-cli/wiring_digital.o
  14. /usr/bin/avr-gcc -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -std=gnu99 /usr/share/arduino//hardware/arduino/cores/arduino/wiring_pulse.c -o build-cli/wiring_pulse.o
  15. /usr/bin/avr-gcc -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -std=gnu99 /usr/share/arduino//hardware/arduino/cores/arduino/wiring_shift.c -o build-cli/wiring_shift.o
  16. /usr/bin/avr-g++ -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -fno-exceptions /usr/share/arduino//hardware/arduino/cores/arduino/CDC.cpp -o build-cli/CDC.o
  17. /usr/bin/avr-g++ -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -fno-exceptions /usr/share/arduino//hardware/arduino/cores/arduino/HardwareSerial.cpp -o build-cli/HardwareSerial.o
  18. /usr/bin/avr-g++ -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -fno-exceptions /usr/share/arduino//hardware/arduino/cores/arduino/HID.cpp -o build-cli/HID.o
  19. /usr/bin/avr-g++ -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -fno-exceptions /usr/share/arduino//hardware/arduino/cores/arduino/IPAddress.cpp -o build-cli/IPAddress.o
  20. /usr/bin/avr-g++ -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -fno-exceptions /usr/share/arduino//hardware/arduino/cores/arduino/main.cpp -o build-cli/main.o
  21. /usr/bin/avr-g++ -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -fno-exceptions /usr/share/arduino//hardware/arduino/cores/arduino/new.cpp -o build-cli/new.o
  22. /usr/bin/avr-g++ -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -fno-exceptions /usr/share/arduino//hardware/arduino/cores/arduino/Print.cpp -o build-cli/Print.o
  23. /usr/bin/avr-g++ -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -fno-exceptions /usr/share/arduino//hardware/arduino/cores/arduino/Stream.cpp -o build-cli/Stream.o
  24. /usr/bin/avr-g++ -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -fno-exceptions /usr/share/arduino//hardware/arduino/cores/arduino/Tone.cpp -o build-cli/Tone.o
  25. /usr/bin/avr-g++ -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -fno-exceptions /usr/share/arduino//hardware/arduino/cores/arduino/USBCore.cpp -o build-cli/USBCore.o
  26. /usr/bin/avr-g++ -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -fno-exceptions /usr/share/arduino//hardware/arduino/cores/arduino/WMath.cpp -o build-cli/WMath.o
  27. /usr/bin/avr-g++ -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -fno-exceptions /usr/share/arduino//hardware/arduino/cores/arduino/WString.cpp -o build-cli/WString.o
  28. mkdir -p build-cli/libs/SPI/
  29. /usr/bin/avr-gcc -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I. -I/usr/share/arduino//hardware/arduino/cores/arduino -I/usr/share/arduino//hardware/arduino/variants/standard -I/usr/share/arduino//libraries/EthernetRaw -I/usr/share/arduino//libraries/EthernetRaw/utility -I/usr/share/arduino//libraries/SPI -I/home/karchnu/sketchbook/libraries/EthernetRaw -I/home/karchnu/sketchbook/libraries/EthernetRaw/utility -I/home/karchnu/sketchbook/libraries/SPI -g -Os -w -Wall -ffunction-sections -fdata-sections -fno-exceptions /usr/share/arduino//libraries/SPI/SPI.cpp -o build-cli/libs/SPI/SPI.o
  30. /usr/bin/avr-ar rcs build-cli/libcore.a build-cli/WInterrupts.o build-cli/wiring_analog.o build-cli/wiring.o build-cli/wiring_digital.o build-cli/wiring_pulse.o build-cli/wiring_shift.o build-cli/CDC.o build-cli/HardwareSerial.o build-cli/HID.o build-cli/IPAddress.o build-cli/main.o build-cli/new.o build-cli/Print.o build-cli/Stream.o build-cli/Tone.o build-cli/USBCore.o build-cli/WMath.o build-cli/WString.o build-cli/libs/SPI/SPI.o
  31. /usr/bin/avr-gcc -mmcu=atmega328p -Wl,--gc-sections -Os -o build-cli/ethernet_raw_test.elf build-cli/ethernet_raw_test.o build-cli/libcore.a -lc -lm
  32. build-cli/ethernet_raw_test.o: In function `_GLOBAL__sub_I_mac':
  33. /home/karchnu/sketchbook/ethernet_raw_test/build-cli/ethernet_raw_test.cpp:9: undefined reference to `EthernetRawClass::begin(unsigned char*)'
  34. /home/karchnu/sketchbook/ethernet_raw_test/build-cli/ethernet_raw_test.cpp:9: undefined reference to `EthernetRawClass::available()'
  35. /home/karchnu/sketchbook/ethernet_raw_test/build-cli/ethernet_raw_test.cpp:9: undefined reference to `EthernetRawClass::read()'
  36. /home/karchnu/sketchbook/ethernet_raw_test/build-cli/ethernet_raw_test.cpp:9: undefined reference to `EthernetRawClass::EthernetRawClass()'
  37. collect2: error: ld returned 1 exit status
  38. make: *** [build-cli/ethernet_raw_test.elf] Erreur 1
Advertisement
Add Comment
Please, Sign In to add comment