Issues compiling firmware

Hi guys,

I recently bought a 3d printer and it hasn't been working correctly. So the seller instructed me to update the firmware. They didn't really give any instructions and i've been struggling with some errors while compiling the firmware. 

Here they are:


Here they are:

Arduino: 1.6.5 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:1150:0: warning: "BEEPER_LONG_SEQUENCE" redefined [enabled by default]
#define BEEPER_LONG_SEQUENCE 24,8
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:179:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Drivers.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Configuration.h:423:0: note: this is the location of the previous definition
#define BEEPER_LONG_SEQUENCE 8,8
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Drivers.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:1796:8: warning: extra tokens at end of #endif directive [enabled by default]
#endif CONTROLLER_LCD_MP_PHARAOH_DUE
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Drivers.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:290:16: warning: 'UIMenu_struct' has a field 'UIMenu_struct::entries' whose type uses the anonymous namespace [enabled by default]
typedef struct UIMenu_struct {
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Drivers.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:1887:13: warning: unused parameter 'action' [-Wunused-parameter]
static void ui_check_Ukeys(int &action) {
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:775:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Drivers.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\motion.h:449:17: warning: unused parameter 'v' [-Wunused-parameter]
inline void updateAdvanceSteps(speed_t v, uint8_t max_loops, bool accelerate)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\motion.h:449:17: warning: unused parameter 'max_loops' [-Wunused-parameter]
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\motion.h:449:17: warning: unused parameter 'accelerate' [-Wunused-parameter]
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Drivers.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:1887:13: warning: 'void ui_check_Ukeys(int&)' defined but not used [-Wunused-function]
static void ui_check_Ukeys(int &action) {
^
C:\Users\asus\Downloads\arduino-1.6.5-r2-windows\arduino-1.6.5-r2\hardware\tools\avr/bin/avr-g++ -c -g -Os -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IC:\Users\asus\Downloads\arduino-1.6.5-r2-windows\arduino-1.6.5-r2\hardware\arduino\avr\cores\arduino -IC:\Users\asus\Downloads\arduino-1.6.5-r2-windows\arduino-1.6.5-r2\hardware\arduino\avr\variants\mega -IC:\Users\asus\Downloads\arduino-1.6.5-r2-windows\arduino-1.6.5-r2\hardware\arduino\avr\libraries\SPI C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Eeprom.cpp -o C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Eeprom.cpp.o

In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Configuration.h:41:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:179,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Eeprom.cpp:24:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\pins.h:2404:58: warning: "/*" within comment [-Wcomment]
#define TEMP_0_PIN 14 // ANALOG NUMBERING ////***Extuder1
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\pins.h:2405:58: warning: "/*" within comment [-Wcomment]
#define TEMP_1_PIN 15 // ANALOG NUMBERING ////***Bed
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\pins.h:2406:58: warning: "/*" within comment [-Wcomment]
#define TEMP_2_PIN 13 // ANALOG NUMBERING ////***Extuder2
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\pins.h:2408:58: warning: "/*" within comment [-Wcomment]
#define TEMP_3_PIN 12 // ANALOG NUMBERING ////***Extuder3
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:179:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Eeprom.cpp:24:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Configuration.h:46:0: warning: "FAN_BOARD_PIN" redefined [enabled by default]
#define FAN_BOARD_PIN ORIG_FAN2_PIN
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Configuration.h:41:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:179,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Eeprom.cpp:24:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\pins.h:2513:0: note: this is the location of the previous definition
#define FAN_BOARD_PIN -1
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Eeprom.cpp:24:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:192:0: warning: "UI_ACTION_EXTRUDER2_TEMP" redefined [enabled by default]
#define UI_ACTION_EXTRUDER2_TEMP 1124
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:172:0: note: this is the location of the previous definition
#define UI_ACTION_EXTRUDER2_TEMP 1103
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Eeprom.cpp:24:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:1149:0: warning: "BEEPER_SHORT_SEQUENCE" redefined [enabled by default]
#define BEEPER_SHORT_SEQUENCE 6,2 // Needs longer beep sequence
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:179:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Eeprom.cpp:24:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Configuration.h:422:0: note: this is the location of the previous definition
#define BEEPER_SHORT_SEQUENCE 2,2
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Eeprom.cpp:24:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:1150:0: warning: "BEEPER_LONG_SEQUENCE" redefined [enabled by default]
#define BEEPER_LONG_SEQUENCE 24,8
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:179:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Eeprom.cpp:24:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Configuration.h:423:0: note: this is the location of the previous definition
#define BEEPER_LONG_SEQUENCE 8,8
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Eeprom.cpp:24:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:1796:8: warning: extra tokens at end of #endif directive [enabled by default]
#endif CONTROLLER_LCD_MP_PHARAOH_DUE
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Eeprom.cpp:24:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:290:16: warning: 'UIMenu_struct' has a field 'UIMenu_struct::entries' whose type uses the anonymous namespace [enabled by default]
typedef struct UIMenu_struct {
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Eeprom.cpp:24:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:1887:13: warning: unused parameter 'action' [-Wunused-parameter]
static void ui_check_Ukeys(int &action) {
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:775:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Eeprom.cpp:24:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\motion.h:449:17: warning: unused parameter 'v' [-Wunused-parameter]
inline void updateAdvanceSteps(speed_t v, uint8_t max_loops, bool accelerate)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\motion.h:449:17: warning: unused parameter 'max_loops' [-Wunused-parameter]
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\motion.h:449:17: warning: unused parameter 'accelerate' [-Wunused-parameter]
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Eeprom.cpp:24:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:1887:13: warning: 'void ui_check_Ukeys(int&)' defined but not used [-Wunused-function]
static void ui_check_Ukeys(int &action) {
^
C:\Users\asus\Downloads\arduino-1.6.5-r2-windows\arduino-1.6.5-r2\hardware\tools\avr/bin/avr-g++ -c -g -Os -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IC:\Users\asus\Downloads\arduino-1.6.5-r2-windows\arduino-1.6.5-r2\hardware\arduino\avr\cores\arduino -IC:\Users\asus\Downloads\arduino-1.6.5-r2-windows\arduino-1.6.5-r2\hardware\arduino\avr\variants\mega -IC:\Users\asus\Downloads\arduino-1.6.5-r2-windows\arduino-1.6.5-r2\hardware\arduino\avr\libraries\SPI C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Extruder.cpp -o C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Extruder.cpp.o

In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Configuration.h:41:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:179,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Extruder.cpp:22:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\pins.h:2404:58: warning: "/*" within comment [-Wcomment]
#define TEMP_0_PIN 14 // ANALOG NUMBERING ////***Extuder1
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\pins.h:2405:58: warning: "/*" within comment [-Wcomment]
#define TEMP_1_PIN 15 // ANALOG NUMBERING ////***Bed
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\pins.h:2406:58: warning: "/*" within comment [-Wcomment]
#define TEMP_2_PIN 13 // ANALOG NUMBERING ////***Extuder2
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\pins.h:2408:58: warning: "/*" within comment [-Wcomment]
#define TEMP_3_PIN 12 // ANALOG NUMBERING ////***Extuder3
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:179:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Extruder.cpp:22:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Configuration.h:46:0: warning: "FAN_BOARD_PIN" redefined [enabled by default]
#define FAN_BOARD_PIN ORIG_FAN2_PIN
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Configuration.h:46:0: warning: "FAN_BOARD_PIN" redefined [enabled by default]
#define FAN_BOARD_PIN ORIG_FAN2_PIN
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Configuration.h:41:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:179,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\pins.h:2513:0: note: this is the location of the previous definition
#define FAN_BOARD_PIN -1
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:192:0: warning: "UI_ACTION_EXTRUDER2_TEMP" redefined [enabled by default]
#define UI_ACTION_EXTRUDER2_TEMP 1124
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:172:0: note: this is the location of the previous definition
#define UI_ACTION_EXTRUDER2_TEMP 1103
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:1149:0: warning: "BEEPER_SHORT_SEQUENCE" redefined [enabled by default]
#define BEEPER_SHORT_SEQUENCE 6,2 // Needs longer beep sequence
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:179:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Configuration.h:422:0: note: this is the location of the previous definition
#define BEEPER_SHORT_SEQUENCE 2,2
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:1150:0: warning: "BEEPER_LONG_SEQUENCE" redefined [enabled by default]
#define BEEPER_LONG_SEQUENCE 24,8
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:179:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Configuration.h:423:0: note: this is the location of the previous definition
#define BEEPER_LONG_SEQUENCE 8,8
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:1796:8: warning: extra tokens at end of #endif directive [enabled by default]
#endif CONTROLLER_LCD_MP_PHARAOH_DUE
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:290:16: warning: 'UIMenu_struct' has a field 'UIMenu_struct::entries' whose type uses the anonymous namespace [enabled by default]
typedef struct UIMenu_struct {
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:1887:13: warning: unused parameter 'action' [-Wunused-parameter]
static void ui_check_Ukeys(int &action) {
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:775:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\motion.h:449:17: warning: unused parameter 'v' [-Wunused-parameter]
inline void updateAdvanceSteps(speed_t v, uint8_t max_loops, bool accelerate)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\motion.h:449:17: warning: unused parameter 'max_loops' [-Wunused-parameter]
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\motion.h:449:17: warning: unused parameter 'accelerate' [-Wunused-parameter]
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp: In static member function 'static void HAL::analogStart()':
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:323:10: warning: variable 'dummyADCResult' set but not used [-Wunused-but-set-variable]
uint dummyADCResult;
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.h:83:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:434,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp: In function 'void __vector_22()':
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:29:39: error: 'DIOORIG_FAN2_PIN_WPORT' was not declared in this scope
#define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:48:25: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:847:97: note: in expansion of macro 'WRITE'
if((pwm_pos_set[NUM_EXTRUDER + 1] = (pwm_pos[NUM_EXTRUDER + 1] & COOLER_PWM_MASK)) > 0) WRITE(FAN_BOARD_PIN,1);
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:29:68: error: 'DIOORIG_FAN2_PIN_PIN' was not declared in this scope
#define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:17:30: note: in definition of macro 'MASK'
#define MASK(PIN) (1 << PIN)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:48:25: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:847:97: note: in expansion of macro 'WRITE'
if((pwm_pos_set[NUM_EXTRUDER + 1] = (pwm_pos[NUM_EXTRUDER + 1] & COOLER_PWM_MASK)) > 0) WRITE(FAN_BOARD_PIN,1);
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:29:96: error: 'DIOORIG_FAN2_PIN_WPORT' was not declared in this scope
#define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:48:25: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:847:97: note: in expansion of macro 'WRITE'
if((pwm_pos_set[NUM_EXTRUDER + 1] = (pwm_pos[NUM_EXTRUDER + 1] & COOLER_PWM_MASK)) > 0) WRITE(FAN_BOARD_PIN,1);
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:29:126: error: 'DIOORIG_FAN2_PIN_PIN' was not declared in this scope
#define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:17:30: note: in definition of macro 'MASK'
#define MASK(PIN) (1 << PIN)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:48:25: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:847:97: note: in expansion of macro 'WRITE'
if((pwm_pos_set[NUM_EXTRUDER + 1] = (pwm_pos[NUM_EXTRUDER + 1] & COOLER_PWM_MASK)) > 0) WRITE(FAN_BOARD_PIN,1);
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:29:39: error: 'DIOORIG_FAN2_PIN_WPORT' was not declared in this scope
#define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:48:25: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:941:111: note: in expansion of macro 'WRITE'
if(pwm_pos_set[NUM_EXTRUDER + 1] == pwm_count_cooler && pwm_pos_set[NUM_EXTRUDER + 1] != COOLER_PWM_MASK) WRITE(FAN_BOARD_PIN,0);
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:29:68: error: 'DIOORIG_FAN2_PIN_PIN' was not declared in this scope
#define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:17:30: note: in definition of macro 'MASK'
#define MASK(PIN) (1 << PIN)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:48:25: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:941:111: note: in expansion of macro 'WRITE'
if(pwm_pos_set[NUM_EXTRUDER + 1] == pwm_count_cooler && pwm_pos_set[NUM_EXTRUDER + 1] != COOLER_PWM_MASK) WRITE(FAN_BOARD_PIN,0);
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:29:96: error: 'DIOORIG_FAN2_PIN_WPORT' was not declared in this scope
#define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:48:25: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:941:111: note: in expansion of macro 'WRITE'
if(pwm_pos_set[NUM_EXTRUDER + 1] == pwm_count_cooler && pwm_pos_set[NUM_EXTRUDER + 1] != COOLER_PWM_MASK) WRITE(FAN_BOARD_PIN,0);
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:29:126: error: 'DIOORIG_FAN2_PIN_PIN' was not declared in this scope
#define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:17:30: note: in definition of macro 'MASK'
#define MASK(PIN) (1 << PIN)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\fastio.h:48:25: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:941:111: note: in expansion of macro 'WRITE'
if(pwm_pos_set[NUM_EXTRUDER + 1] == pwm_count_cooler && pwm_pos_set[NUM_EXTRUDER + 1] != COOLER_PWM_MASK) WRITE(FAN_BOARD_PIN,0);
^
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:789:20: warning: unused variable 'pwm_cooler_pos_set' [-Wunused-variable]
static uint8_t pwm_cooler_pos_set[NUM_EXTRUDER];
^
In file included from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\Repetier.h:441:0,
from C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\HAL.cpp:1:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h: At global scope:
C:\Users\asus\AppData\Local\Temp\build3182262124253766657.tmp\ui.h:1887:13: warning: 'void ui_check_Ukeys(int&)' defined but not used [-Wunused-function]
static void ui_check_Ukeys(int &action) {
^
Error compiling.

Any idea what it could be?

Comments

  • Please use our firmware configuration tool for 0.92 and download complete souces as zip to compile. You didn't say anything about version and changes you made but I think your configuration.h does not match the current version you compiled causing the errors. The config tool is the easiest way to create a working version.
  • Thanks for the reply. Would it be possible to send you the firmware i'm trying to compile? It was a full zip i was sent by the company i bought my 3D printer from.

    The full details of what i was doing are:
    • I used firmware configuration tool 0.92.
    • I used Arduino 1.6.5 R2 
  • No, we have no time for lengthy support problems. Try downloading the zip provided by config tool if you use that config anyway. If it does not depend on manually modified files it should work and compile. If this does not compile I would check it since these files are supposed to compile.
  • Thanks anyway, i've tried that multiple times already.
Sign In or Register to comment.