Hej!
Jag är ny i Forumet och har nästan byggt klart mitt Mendel90-kit som UPS levererade för en vecka sedan från nophead.
Det jag har kvar innan första android-printen är att uppdatera firmware med mina kalibreringar men här får jag inte rätt på bygget.
Helst skulle jag vilja bygga på min RasPI (som även kör Octopi) utan att behöva en javadriven IDE för att kompilera och ladda firmware.
Både min Linux Mint (Ubuntu)-arbetsstation och RasPi har uppdaterats med arduino-paketet, Sanguino-katalogen är kopierad till /usr/share/arduino/hardware/, math.h-problemet beskrivet i
http://forum.arduino.cc/index.php?topic=79371.0 är hanterat, INSTALL_DIR, och PORT uppdaterade i Makefile
I Arduino IDE 1.0.1 väljer jag ATMega644p från Tools/Board och bygget kraschar sedan med:
Kod: Markera allt
/usr/share/arduino/hardware/Sanguino/cores/arduino/HardwareSerial.cpp:145:15: error: attempt to use poisoned "SIG_USART1_RECV"
och kör jag make på RasPi eller på min Linux Mint så bombar det i
Kod: Markera allt
pi@octopi ~/Software/Marlin/Marlin $ make
WR applet/Marlin.cpp
CC applet/pins_arduino.o
CC applet/wiring.o
CC applet/wiring_analog.o
CC applet/wiring_digital.o
CC applet/wiring_pulse.o
CC applet/wiring_shift.o
CC applet/WInterrupts.o
CXX applet/WMath.o
CXX applet/WString.o
CXX applet/Print.o
avr-g++ -DF_CPU=16000000 -I . -I applet -I Sanguino/cores/arduino -I /usr/share/arduino/hardware/arduino/cores/arduino -I /usr/share/arduino/libraries/LiquidCrystal -Os -Wall -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -w -ffunction-sections -fdata-sections -DARDUINO=22 -DMOTHERBOARD=91 -c -o applet/Marlin.o applet/Marlin.cpp
In file included from ./Marlin.h:24:0,
from ./Marlin.ino:28,
from applet/Marlin.cpp:2:
./fastio.h:2579:2: error: #error pins for this chip not defined in arduino.h! If you write an appropriate pin definition and have this firmware work on your chip, please submit a pull request
In file included from ./Marlin.h:26:0,
from ./Marlin.ino:28,
from applet/Marlin.cpp:2:
./pins.h:1059:2: error: #error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu. (Final OMCA board)
In file included from ./Sd2Card.h:31:0,
from ./SdVolume.h:29,
from ./SdBaseFile.h:31,
from ./SdFile.h:27,
from ./cardreader.h:6,
from ./Marlin.ino:35,
from applet/Marlin.cpp:2:
./Sd2PinMap.h:317:2: error: #error unknown chip
In file included from ./Marlin.h:38:0,
from ./Marlin.ino:28,
from applet/Marlin.cpp:2:
./MarlinSerial.h: In member function ‘int MarlinSerial::available()’:
./MarlinSerial.h:66:46: error: ‘rx_buffer’ was not declared in this scope
./MarlinSerial.h: In member function ‘void MarlinSerial::write(uint8_t)’:
./MarlinSerial.h:71:17: error: ‘UCSR0A’ was not declared in this scope
./MarlinSerial.h:71:33: error: ‘UDRE0’ was not declared in this scope
./MarlinSerial.h:74:7: error: ‘UDR0’ was not declared in this scope
./MarlinSerial.h: In member function ‘void MarlinSerial::checkRx()’:
./MarlinSerial.h:80:11: error: ‘UCSR0A’ was not declared in this scope
./MarlinSerial.h:80:24: error: ‘RXC0’ was not declared in this scope
./MarlinSerial.h:81:29: error: ‘UDR0’ was not declared in this scope
./MarlinSerial.h:82:32: error: ‘rx_buffer’ was not declared in this scope
In file included from ./Sd2Card.h:31:0,
from ./SdVolume.h:29,
from ./SdBaseFile.h:31,
from ./SdFile.h:27,
from ./cardreader.h:6,
from ./Marlin.ino:35,
from applet/Marlin.cpp:2:
./Sd2PinMap.h: At global scope:
./Sd2PinMap.h:320:47: error: ‘digitalPinMap’ was not declared in this scope
./Sd2PinMap.h: In function ‘bool getPinMode(uint8_t)’:
./Sd2PinMap.h:328:14: error: ‘digitalPinMap’ was not declared in this scope
./Sd2PinMap.h: In function ‘void setPinMode(uint8_t, uint8_t)’:
./Sd2PinMap.h:337:8: error: ‘digitalPinMap’ was not declared in this scope
./Sd2PinMap.h:339:8: error: ‘digitalPinMap’ was not declared in this scope
./Sd2PinMap.h: In function ‘bool fastDigitalRead(uint8_t)’:
./Sd2PinMap.h:348:14: error: ‘digitalPinMap’ was not declared in this scope
./Sd2PinMap.h: In function ‘void fastDigitalWrite(uint8_t, uint8_t)’:
./Sd2PinMap.h:357:8: error: ‘digitalPinMap’ was not declared in this scope
./Sd2PinMap.h:359:8: error: ‘digitalPinMap’ was not declared in this scope
In file included from ./SdVolume.h:29:0,
from ./SdBaseFile.h:31,
from ./SdFile.h:27,
from ./cardreader.h:6,
from ./Marlin.ino:35,
from applet/Marlin.cpp:2:
./Sd2Card.h: At global scope:
./Sd2Card.h:129:37: error: ‘SS_PIN’ was not declared in this scope
./Sd2Card.h:132:31: error: ‘MOSI_PIN’ was not declared in this scope
./Sd2Card.h:134:31: error: ‘MISO_PIN’ was not declared in this scope
./Sd2Card.h:136:30: error: ‘SCK_PIN’ was not declared in this scope
In file included from ./cardreader.h:6:0,
from ./Marlin.ino:35,
from applet/Marlin.cpp:2:
./SdFile.h:43:9: error: conflicting return type specified for ‘virtual void SdFile::write(uint8_t)’
In file included from Sanguino/cores/arduino/Stream.h:24:0,
from Sanguino/cores/arduino/HardwareSerial.h:27,
from Sanguino/cores/arduino/WProgram.h:15,
from applet/Marlin.cpp:1:
Sanguino/cores/arduino/Print.h:49:20: error: overriding ‘virtual size_t Print::write(uint8_t)’
In file included from ./Marlin.ino:37:0,
from applet/Marlin.cpp:2:
./EEPROMwrite.h: In function ‘int EEPROM_writeAnything(int&, const T&)’:
./EEPROMwrite.h:16:50: error: there are no arguments to ‘eeprom_write_byte’ that depend on a template parameter, so a declaration of ‘eeprom_write_byte’ must be available [-fpermissive]
./EEPROMwrite.h:16:50: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
./EEPROMwrite.h: In function ‘int EEPROM_readAnything(int&, T&)’:
./EEPROMwrite.h:25:50: error: there are no arguments to ‘eeprom_read_byte’ that depend on a template parameter, so a declaration of ‘eeprom_read_byte’ must be available [-fpermissive]
In file included from applet/Marlin.cpp:2:0:
./Marlin.ino: In function ‘void setup()’:
./Marlin.ino:261:14: error: ‘MCUSR’ was not declared in this scope
./Marlin.ino: In function ‘void process_commands()’:
./Marlin.ino:722:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:722:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:722:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:722:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:722:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:722:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:722:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:722:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:722:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:723:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:723:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:723:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:723:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:723:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:723:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:723:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:723:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:723:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:724:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:724:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:724:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:724:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:724:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:724:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:724:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:724:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:724:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:725:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:725:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:725:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:725:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:725:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:725:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:725:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:725:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:725:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1047:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:1047:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1047:11: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1047:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1047:11: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1047:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1047:11: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1047:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1047:11: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1055:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:1055:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1055:30: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1055:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1055:30: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1055:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1055:30: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1055:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1055:30: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1056:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:1056:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1056:30: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1056:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1056:30: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1056:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1056:30: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1056:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1056:30: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1057:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:1057:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1057:30: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1057:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1057:30: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1057:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1057:30: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1057:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1057:30: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1127:9: error: ‘DIO0_RPORT’ was not declared in this scope
./Marlin.ino:1127:9: error: ‘DIO0_PIN’ was not declared in this scope
./Marlin.ino:1135:9: error: ‘DIO1_RPORT’ was not declared in this scope
./Marlin.ino:1135:9: error: ‘DIO1_PIN’ was not declared in this scope
./Marlin.ino:1143:9: error: ‘DIO2_RPORT’ was not declared in this scope
./Marlin.ino:1143:9: error: ‘DIO2_PIN’ was not declared in this scope
./Marlin.ino: In function ‘void manage_inactivity(byte)’:
./Marlin.ino:1462:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:1462:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1462:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1462:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1462:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1462:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1462:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1462:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1462:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1463:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:1463:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1463:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1463:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1463:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1463:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1463:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1463:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1463:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1464:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:1464:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1464:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1464:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1464:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1464:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1464:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1464:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1464:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1465:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:1465:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1465:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1465:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1465:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1465:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1465:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1465:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1465:9: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino: In function ‘void kill()’:
./Marlin.ino:1501:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:1501:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1501:3: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1501:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1501:3: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1501:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1501:3: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1501:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1501:3: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1502:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:1502:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1502:3: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1502:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1502:3: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1502:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1502:3: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1502:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1502:3: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1503:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:1503:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1503:3: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1503:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1503:3: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1503:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1503:3: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1503:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1503:3: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1504:1: error: ‘DIO10_RPORT’ was not declared in this scope
./Marlin.ino:1504:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1504:3: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1504:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1504:3: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1504:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1504:3: error: ‘DIO10_PIN’ was not declared in this scope
./Marlin.ino:1504:1: error: ‘DIO10_WPORT’ was not declared in this scope
./Marlin.ino:1504:3: error: ‘DIO10_PIN’ was not declared in this scope
In file included from applet/Marlin.cpp:3:0:
/usr/share/arduino/hardware/arduino/cores/arduino/main.cpp: In function ‘int main()’:
/usr/share/arduino/hardware/arduino/cores/arduino/main.cpp:15:7: error: ‘serialEventRun’ was not declared in this scope
make: *** [applet/Marlin.o] Error 1