Newbie compile problem.

iMac 2007 osx 10.10.5;  Arduino 1.8.1;  ftdichip driver 2.3 
Just assembled Geeetech G2s

Compose time errors:-
Arduino: 1.8.1 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch/Marlin_main.cpp:47:0:
sketch/language.h:53:0: warning: "MACHINE_NAME" redefined
sketch/language.h:29:0: note: this is the location of the previous definition
  #define MACHINE_NAME "Ultimaker"
sketch/Marlin_main.cpp:2206:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
In file included from sketch/SdFile.h:27:0,
                 from sketch/cardreader.h:8,
                 from sketch/Marlin_main.cpp:44:
sketch/SdBaseFile.h:38:8: error: using typedef-name 'fpos_t' after 'struct'
 struct fpos_t {
In file included from sketch/Marlin.h:10:0,
                 from sketch/Marlin_main.cpp:30:
/Applications/ note: 'fpos_t' has a previous declaration here
 __extension__ typedef long long fpos_t;
sketch/Marlin_main.cpp: In function 'void set_bed_level_equation_lsq(double*)':
sketch/Marlin_main.cpp:829:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Any help for this ancient newbie gratefully accepted.


  • This is the repetier-firmware forum. You are apperently trying to compile marlin firmware, which is a different product and not from us!
  • Woah! Thank you for that. I shall pursue this with renewed vigour. Thanks again.
Sign In or Register to comment.