daily pastebin goal
48%
SHARE
TWEET

uLisp - makefile

a guest Nov 18th, 2018 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -------------------------
  2. Arduino.mk Configuration:
  3. - [AUTODETECTED]       CURRENT_OS = LINUX
  4. - [USER]               ARDUINO_DIR = /usr/share/arduino
  5. - [USER]               ARDMK_DIR = /usr/share/arduino
  6. - [AUTODETECTED]       ARDUINO_VERSION = 105
  7. - [DEFAULT]            ARCHITECTURE =  
  8. - [DEFAULT]            ARDMK_VENDOR = arduino
  9. - [AUTODETECTED]       ARDUINO_PREFERENCES_PATH = /home/hrom/.arduino/preferences.txt
  10. - [AUTODETECTED]       ARDUINO_SKETCHBOOK = /home/hrom/sketchbook (from arduino preferences file)
  11. - [USER]               AVR_TOOLS_DIR = /usr
  12. - [COMPUTED]           ARDUINO_LIB_PATH = /usr/share/arduino/libraries (from ARDUINO_DIR)
  13. - [COMPUTED]           ARDUINO_VAR_PATH = /usr/share/arduino/hardware/arduino//variants (from ARDUINO_DIR)
  14. - [COMPUTED]           BOARDS_TXT = /usr/share/arduino/hardware/arduino//boards.txt (from ARDUINO_DIR)
  15. - [USER]               USER_LIB_PATH = /home/hrom/git/RobotArm/ArmII/lib
  16. - [DEFAULT]            PRE_BUILD_HOOK = pre-build-hook.sh
  17. - [USER]               BOARD_TAG = mega2560
  18. - [COMPUTED]           CORE = arduino (from build.core)
  19. - [COMPUTED]           VARIANT = mega (from build.variant)
  20. - [USER]               OBJDIR = /home/hrom/git/RobotArm/ArmII/bin/mega2560/ArmII
  21. - [COMPUTED]           ARDUINO_CORE_PATH = /usr/share/arduino/hardware/arduino//cores/arduino (from ARDUINO_DIR, BOARD_TAG and boards.txt)
  22. - [USER]               MONITOR_BAUDRATE = 9600
  23. - [DEFAULT]            OPTIMIZATION_LEVEL = s
  24. - [DEFAULT]            MCU_FLAG_NAME = mmcu
  25. - [USER]               CFLAGS_STD = -std=c99
  26. - [USER]               CXXFLAGS_STD = -std=c++14
  27. - [COMPUTED]           DEVICE_PATH = /dev/ttyACM0 (from MONITOR_PORT)
  28. - [DEFAULT]            FORCE_MONITOR_PORT =  
  29. - [AUTODETECTED]       Size utility: AVR-aware for enhanced output
  30. -
  31. -                      ARDUINO_LIBS =
  32. - [SYSTEM]               SD
  33. - [SYSTEM]               SPI
  34. - [COMPUTED]           BOOTLOADER_PARENT = /usr/share/arduino/hardware/arduino//bootloaders (from ARDUINO_DIR)
  35. - [COMPUTED]           ARDMK_VERSION = 1.5
  36. - [COMPUTED]           CC_VERSION = 5.4.0 (avr-gcc)
  37. -------------------------
  38. mkdir -p /home/hrom/git/RobotArm/ArmII/bin/mega2560/ArmII
  39. /usr/bin/avr-g++ -x c++ -include Arduino.h -MMD -c -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=105  -D__PROG_TYPES_COMPAT__ -I/usr/share/arduino/hardware/arduino//cores/arduino -I/usr/share/arduino/hardware/arduino//variants/mega    -I/usr/share/arduino/libraries/SD -I/usr/share/arduino/libraries/SD/utility    -I/usr/share/arduino/libraries/SPI   -Wall -ffunction-sections -fdata-sections -Os -pedantic -Wall -Wextra -fpermissive -fno-exceptions -std=c++14 ArmII.ino -o /home/hrom/git/RobotArm/ArmII/bin/mega2560/ArmII/ArmII.ino.o
  40. ArmII.ino:91:5: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
  41.      };
  42.      ^
  43. ArmII.ino:98:5: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
  44.      };
  45.      ^
  46. ArmII.ino:172:25: warning: ‘prog_char’ is deprecated [-Wdeprecated-declarations]
  47.  void error (PGM_P string);
  48.                          ^
  49. ArmII.ino:173:36: warning: ‘prog_char’ is deprecated [-Wdeprecated-declarations]
  50.  void pfstring (PGM_P s, pfun_t pfun);
  51.                                     ^
  52. ArmII.ino: In function ‘char* MakeFilename(object*)’:
  53. ArmII.ino:354:28: error: ‘nthchar’ was not declared in this scope
  54.      char c = nthchar(arg, i);
  55.                             ^
  56. ArmII.ino: At global scope:
  57. ArmII.ino:373:15: warning: ISO C++ forbids zero-size array ‘data’ [-Wpedantic]
  58.    object data[];
  59.                ^
  60. ArmII.ino:376:20: error: expected initializer before ‘image’
  61.  struct_image EEMEM image;
  62.                     ^
  63. ArmII.ino: In function ‘int saveimage(object*)’:
  64. ArmII.ino:382:53: error: ‘pserial’ was not declared in this scope
  65.      pfstring(PSTR("Error: Image size too large: "), pserial);
  66.                                                      ^
  67. ArmII.ino:383:28: error: ‘pint’ was not declared in this scope
  68.      pint(imagesize, pserial); pln(pserial);
  69.                             ^
  70. ArmII.ino:383:42: error: ‘pln’ was not declared in this scope
  71.      pint(imagesize, pserial); pln(pserial);
  72.                                           ^
  73. ArmII.ino:387:23: error: ‘image’ was not declared in this scope
  74.    eeprom_update_word(&image.datasize, imagesize);
  75.                        ^
  76. ArmII.ino:387:48: error: ‘eeprom_update_word’ was not declared in this scope
  77.    eeprom_update_word(&image.datasize, imagesize);
  78.                                                 ^
  79. ArmII.ino:393:64: error: ‘eeprom_update_block’ was not declared in this scope
  80.    eeprom_update_block(SymbolTable, image.table, SYMBOLTABLESIZE);
  81.                                                                 ^
  82. ArmII.ino: In function ‘int loadimage(object*)’:
  83. ArmII.ino:401:46: error: ‘image’ was not declared in this scope
  84.    unsigned int imagesize = eeprom_read_word(&image.datasize);
  85.                                               ^
  86. ArmII.ino:401:60: error: ‘eeprom_read_word’ was not declared in this scope
  87.    unsigned int imagesize = eeprom_read_word(&image.datasize);
  88.                                                             ^
  89. ArmII.ino:407:62: error: ‘eeprom_read_block’ was not declared in this scope
  90.    eeprom_read_block(SymbolTable, image.table, SYMBOLTABLESIZE);
  91.                                                               ^
  92. ArmII.ino: In function ‘void autorunimage()’:
  93. ArmII.ino:416:49: error: ‘image’ was not declared in this scope
  94.    object *autorun = (object *)eeprom_read_word(&image.eval);
  95.                                                  ^
  96. ArmII.ino:416:59: error: ‘eeprom_read_word’ was not declared in this scope
  97.    object *autorun = (object *)eeprom_read_word(&image.eval);
  98.                                                            ^
  99. ArmII.ino:419:34: error: ‘apply’ was not declared in this scope
  100.      apply(autorun, NULL, &nullenv);
  101.                                   ^
  102. ArmII.ino: At global scope:
  103. ArmII.ino:425:25: warning: ‘prog_char’ is deprecated [-Wdeprecated-declarations]
  104.  void error (PGM_P string) {
  105.                          ^
  106. ArmII.ino: In function ‘void error(const prog_char*)’:
  107. ArmII.ino:426:7: error: ‘pserial’ was not declared in this scope
  108.    pfl(pserial); pfstring(PSTR("Error: "), pserial);
  109.        ^
  110. ArmII.ino:426:14: error: ‘pfl’ was not declared in this scope
  111.    pfl(pserial); pfstring(PSTR("Error: "), pserial);
  112.               ^
  113. ArmII.ino:427:41: error: ‘pln’ was not declared in this scope
  114.    pfstring(string, pserial); pln(pserial);
  115.                                          ^
  116. ArmII.ino: At global scope:
  117. ArmII.ino:432:42: warning: ‘prog_char’ is deprecated [-Wdeprecated-declarations]
  118.  void error2 (object *symbol, PGM_P string) {
  119.                                           ^
  120. ArmII.ino: In function ‘void error2(object*, const prog_char*)’:
  121. ArmII.ino:433:7: error: ‘pserial’ was not declared in this scope
  122.    pfl(pserial); pfstring(PSTR("Error: "), pserial);
  123.        ^
  124. ArmII.ino:433:14: error: ‘pfl’ was not declared in this scope
  125.    pfl(pserial); pfstring(PSTR("Error: "), pserial);
  126.               ^
  127. ArmII.ino:436:41: error: ‘pln’ was not declared in this scope
  128.    pfstring(string, pserial); pln(pserial);
  129.                                          ^
  130. ArmII.ino: In function ‘char* name(object*)’:
  131. ArmII.ino:524:45: error: ‘lookupsymbol’ was not declared in this scope
  132.    else if (x >= 64000) return lookupsymbol(x);
  133.                                              ^
  134. ArmII.ino: In function ‘object* closure(int, object*, object*, object*, object*, object**)’:
  135. ArmII.ino:700:36: error: ‘pserial’ was not declared in this scope
  136.      indent(TraceDepth[trace-1]<<1, pserial);
  137.                                     ^
  138. ArmII.ino:701:40: error: ‘pint’ was not declared in this scope
  139.      pint(TraceDepth[trace-1]++, pserial);
  140.                                         ^
  141. ArmII.ino:729:29: error: ‘pserial’ was not declared in this scope
  142.      if (trace) { pserial(' '); printobject(value, pserial); }
  143.                              ^
  144. ArmII.ino:733:27: error: ‘pserial’ was not declared in this scope
  145.    if (trace) { pserial(')'); pln(pserial); }
  146.                            ^
  147. ArmII.ino:733:41: error: ‘pln’ was not declared in this scope
  148.    if (trace) { pserial(')'); pln(pserial); }
  149.                                          ^
  150. ArmII.ino: In function ‘object* apply(object*, object*, object**)’:
  151. ArmII.ino:743:29: error: ‘lookupmin’ was not declared in this scope
  152.      if (nargs<lookupmin(name)) error2(function, PSTR("has too few arguments"));
  153.                              ^
  154. ArmII.ino:744:29: error: ‘lookupmax’ was not declared in this scope
  155.      if (nargs>lookupmax(name)) error2(function, PSTR("has too many arguments"));
  156.                              ^
  157. ArmII.ino: In function ‘int serial1read()’:
  158. ArmII.ino:881:69: error: ‘testescape’ was not declared in this scope
  159.  inline int serial1read () { while (!Serial1.available()) testescape(); return Serial1.read(); }
  160.                                                                      ^
  161. ArmII.ino: In function ‘int serial2read()’:
  162. ArmII.ino:882:69: error: ‘testescape’ was not declared in this scope
  163.  inline int serial2read () { while (!Serial2.available()) testescape(); return Serial2.read(); }
  164.                                                                      ^
  165. ArmII.ino: In function ‘int serial3read()’:
  166. ArmII.ino:883:69: error: ‘testescape’ was not declared in this scope
  167.  inline int serial3read () { while (!Serial3.available()) testescape(); return Serial3.read(); }
  168.                                                                      ^
  169. ArmII.ino: In function ‘int (* gstreamfun(object*))()’:
  170. ArmII.ino:926:17: error: ‘gserial’ was not declared in this scope
  171.    gfun_t gfun = gserial;
  172.                  ^
  173. ArmII.ino: In function ‘void (* pstreamfun(object*))(char)’:
  174. ArmII.ino:965:17: error: ‘pserial’ was not declared in this scope
  175.    pfun_t pfun = pserial;
  176.                  ^
  177. ArmII.ino: In function ‘object* sp_formillis(object*, object*)’:
  178. ArmII.ino:1297:16: error: ‘testescape’ was not declared in this scope
  179.      testescape();
  180.                 ^
  181. ArmII.ino: In function ‘object* fn_readfromstring(object*, object*)’:
  182. ArmII.ino:2205:19: error: too many arguments to function ‘object* read()’
  183.    return read(gstr);
  184.                    ^
  185. ArmII.ino:166:9: note: declared here
  186.  object *read ();
  187.          ^
  188. ArmII.ino: In function ‘object* fn_makunbound(object*, object*)’:
  189. ArmII.ino:2314:25: error: ‘deletesymbol’ was not declared in this scope
  190.    deletesymbol(key->name);
  191.                          ^
  192. ArmII.ino: In function ‘object* fn_break(object*, object*)’:
  193. ArmII.ino:2320:32: error: ‘pserial’ was not declared in this scope
  194.    pfstring(PSTR("\rBreak!\r"), pserial);
  195.                                 ^
  196. ArmII.ino: In function ‘object* fn_read(object*, object*)’:
  197. ArmII.ino:2330:19: error: too many arguments to function ‘object* read()’
  198.    return read(gfun);
  199.                    ^
  200. ArmII.ino:166:9: note: declared here
  201.  object *read ();
  202.          ^
  203. ArmII.ino: In function ‘object* fn_print(object*, object*)’:
  204. ArmII.ino:2345:11: error: ‘pln’ was not declared in this scope
  205.    pln(pfun);
  206.            ^
  207. ArmII.ino: In function ‘object* fn_terpri(object*, object*)’:
  208. ArmII.ino:2365:11: error: ‘pln’ was not declared in this scope
  209.    pln(pfun);
  210.            ^
  211. ArmII.ino: In function ‘object* fn_writestring(object*, object*)’:
  212. ArmII.ino:2396:24: error: ‘printstring’ was not declared in this scope
  213.    printstring(obj, pfun);
  214.                         ^
  215. ArmII.ino: In function ‘object* fn_writeline(object*, object*)’:
  216. ArmII.ino:2407:24: error: ‘printstring’ was not declared in this scope
  217.    printstring(obj, pfun);
  218.                         ^
  219. ArmII.ino:2408:11: error: ‘pln’ was not declared in this scope
  220.    pln(pfun);
  221.            ^
  222. ArmII.ino: In function ‘object* fn_gc(object*, object*)’:
  223. ArmII.ino:2434:29: error: ‘pserial’ was not declared in this scope
  224.    pfstring(PSTR("Space: "), pserial);
  225.                              ^
  226. ArmII.ino:2435:36: error: ‘pint’ was not declared in this scope
  227.    pint(Freespace - initial, pserial);
  228.                                     ^
  229. ArmII.ino: In function ‘object* fn_cls(object*, object*)’:
  230. ArmII.ino:2460:13: error: ‘pserial’ was not declared in this scope
  231.    pserial(12);
  232.              ^
  233. ArmII.ino: In function ‘object* fn_edit(object*, object*)’:
  234. ArmII.ino:2549:36: error: ‘edit’ was not declared in this scope
  235.    object *arg = edit(eval(fun, env));
  236.                                     ^
  237. ArmII.ino: In function ‘object* edit(object*)’:
  238. ArmII.ino:2557:22: error: ‘gserial’ was not declared in this scope
  239.      char c = gserial();
  240.                       ^
  241. ArmII.ino:2561:31: error: ‘pserial’ was not declared in this scope
  242.      else if (c == '\n') { pfl(pserial); superprint(fun, 0, pserial); pln(pserial); }
  243.                                ^
  244. ArmII.ino:2561:38: error: ‘pfl’ was not declared in this scope
  245.      else if (c == '\n') { pfl(pserial); superprint(fun, 0, pserial); pln(pserial); }
  246.                                       ^
  247. ArmII.ino:2561:67: error: ‘superprint’ was not declared in this scope
  248.      else if (c == '\n') { pfl(pserial); superprint(fun, 0, pserial); pln(pserial); }
  249.                                                                    ^
  250. ArmII.ino:2561:81: error: ‘pln’ was not declared in this scope
  251.      else if (c == '\n') { pfl(pserial); superprint(fun, 0, pserial); pln(pserial); }
  252.                                                                                  ^
  253. ArmII.ino:2563:36: error: ‘pserial’ was not declared in this scope
  254.      else if (atom(fun)) pserial('!');
  255.                                     ^
  256. ArmII.ino:2567:21: error: ‘pserial’ was not declared in this scope
  257.      else pserial('?');
  258.                      ^
  259. ArmII.ino: In function ‘int subwidth(object*, int)’:
  260. ArmII.ino:2594:60: error: ‘subwidthlist’ was not declared in this scope
  261.    if (quoted(obj)) return subwidthlist(car(cdr(obj)), w - 1);
  262.                                                             ^
  263. ArmII.ino:2595:33: error: ‘subwidthlist’ was not declared in this scope
  264.    return subwidthlist(obj, w - 1);
  265.                                  ^
  266. ArmII.ino: In function ‘void superprint(object*, int, pfun_t)’:
  267. ArmII.ino:2609:73: error: ‘pstring’ was not declared in this scope
  268.      if (symbolp(form) && form->name == NOTHING) pstring(name(form), pfun);
  269.                                                                          ^
  270. ArmII.ino:2613:84: error: ‘supersub’ was not declared in this scope
  271.    else if (subwidth(form, PPWIDTH - lm) >= 0) supersub(form, lm + PPINDENT, 0, pfun);
  272.                                                                                     ^
  273. ArmII.ino:2614:45: error: ‘supersub’ was not declared in this scope
  274.    else supersub(form, lm + PPINDENT, 1, pfun);
  275.                                              ^
  276. ArmII.ino: In function ‘void supersub(object*, int, int, pfun_t)’:
  277. ArmII.ino:2636:20: error: ‘pln’ was not declared in this scope
  278.      else { pln(pfun); indent(lm, pfun); }
  279.                     ^
  280. ArmII.ino: In function ‘object* fn_pprint(object*, object*)’:
  281. ArmII.ino:2647:11: error: ‘pln’ was not declared in this scope
  282.    pln(pfun);
  283.            ^
  284. ArmII.ino: In function ‘object* fn_pprintall(object*, object*)’:
  285. ArmII.ino:2660:11: error: ‘pserial’ was not declared in this scope
  286.        pln(pserial);
  287.            ^
  288. ArmII.ino:2660:18: error: ‘pln’ was not declared in this scope
  289.        pln(pserial);
  290.                   ^
  291. ArmII.ino: In function ‘object* eval(object*, object*)’:
  292. ArmII.ino:3177:44: error: ‘pserial’ was not declared in this scope
  293.        indent((--(TraceDepth[trace-1]))<<1, pserial);
  294.                                             ^
  295. ArmII.ino:3178:40: error: ‘pint’ was not declared in this scope
  296.        pint(TraceDepth[trace-1], pserial);
  297.                                         ^
  298. ArmII.ino:3181:48: error: ‘pln’ was not declared in this scope
  299.        printobject(result, pserial); pln(pserial);
  300.                                                 ^
  301. ArmII.ino: In function ‘void pcharacter(char, pfun_t)’:
  302. ArmII.ino:3221:13: warning: ‘prog_char’ is deprecated: prog_char type is deprecated. [-Wdeprecated-declarations]
  303.        PGM_P p = ControlCodes;
  304.              ^
  305. In file included from /usr/share/arduino/hardware/arduino//cores/arduino/Arduino.h:8:0,
  306.                  from <command-line>:0:
  307. /usr/lib/avr/include/avr/pgmspace.h:354:14: note: declared here
  308.  typedef char prog_char __attribute__((__progmem__,deprecated("prog_char type is deprecated.")));
  309.               ^
  310. ArmII.ino: At global scope:
  311. ArmII.ino:3247:36: warning: ‘prog_char’ is deprecated [-Wdeprecated-declarations]
  312.  void pfstring (PGM_P s, pfun_t pfun) {
  313.                                     ^
  314. ArmII.ino: In function ‘object* nextitem(gfun_t)’:
  315. ArmII.ino:3412:11: warning: ‘prog_char’ is deprecated: prog_char type is deprecated. [-Wdeprecated-declarations]
  316.      PGM_P p = ControlCodes; char c = 0;
  317.            ^
  318. In file included from /usr/share/arduino/hardware/arduino//cores/arduino/Arduino.h:8:0,
  319.                  from <command-line>:0:
  320. /usr/lib/avr/include/avr/pgmspace.h:354:14: note: declared here
  321.  typedef char prog_char __attribute__((__progmem__,deprecated("prog_char type is deprecated.")));
  322.               ^
  323. ArmII.ino: In function ‘object* readrest(gfun_t)’:
  324. ArmII.ino:3436:48: error: too many arguments to function ‘object* read()’
  325.        item = cons(symbol(QUOTE), cons(read(gfun), NULL));
  326.                                                 ^
  327. ArmII.ino:166:9: note: declared here
  328.  object *read ();
  329.          ^
  330. ArmII.ino:3438:28: error: too many arguments to function ‘object* read()’
  331.        tail->cdr = read(gfun);
  332.                             ^
  333. ArmII.ino:166:9: note: declared here
  334.  object *read ();
  335.          ^
  336. make: *** [/usr/share/arduino/Arduino.mk:1252: /home/hrom/git/RobotArm/ArmII/bin/mega2560/ArmII/ArmII.ino.o] Error 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top