Advertisement
Guest User

Untitled

a guest
Jan 2nd, 2020
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.06 KB | None | 0 0
  1. xdavidliu@cudarig:~/Downloads/mit-scheme/src$ make -j4 cross-target
  2. (cd microcode && make all)
  3. make[1]: Entering directory '/home/xdavidliu/Downloads/mit-scheme/src/microcode'
  4. rm -f cmpauxmd.s.tmp
  5. gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/home/xdavidliu/scheme-from-git/lib/mit-scheme-x86-64\" -I. -I. -O3 -frounding-math -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o termcap.o -c termcap.c
  6. gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/home/xdavidliu/scheme-from-git/lib/mit-scheme-x86-64\" -I. -I. -O3 -frounding-math -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o tparam.o -c tparam.c
  7. gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/home/xdavidliu/scheme-from-git/lib/mit-scheme-x86-64\" -I. -I. -O3 -frounding-math -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o cmpintmd.o -c cmpintmd.c
  8. ./makegen/m4.sh m4 -P __linux__,1 -P SUPPRESS_LEADING_UNDERSCORE,1 -P __ELF__,1 cmpauxmd.m4 > cmpauxmd.s.tmp && mv -f cmpauxmd.s.tmp cmpauxmd.s
  9. gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/home/xdavidliu/scheme-from-git/lib/mit-scheme-x86-64\" -I. -I. -O3 -frounding-math -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o comutl.o -c comutl.c
  10. tparam.c: In function ‘tparam1’:
  11. tparam.c:228:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
  12. if (tem < 100)
  13. ^
  14. tparam.c:230:6: note: here
  15. case '3': /* %3 means output in decimal, 3 digits. */
  16. ^~~~
  17. tparam.c:236:14: error: this statement may fall through [-Werror=implicit-fallthrough=]
  18. *op++ = tem / 100 + '0';
  19. ~~~~~~^~~~~~~~~~~~~~~~~
  20. tparam.c:237:6: note: here
  21. case '2': /* %2 means output in decimal, 2 digits. */
  22. ^~~~
  23. tparam.c:249:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
  24. if (tem >= 96)
  25. ^
  26. tparam.c:254:6: note: here
  27. case '+': /* %+x means add character code of char x */
  28. ^~~~
  29. tparam.c:255:12: error: this statement may fall through [-Werror=implicit-fallthrough=]
  30. tem += *p++;
  31. ^~
  32. tparam.c:256:6: note: here
  33. case '.': /* %. means output as character */
  34. ^~~~
  35. tparam.c:270:14: error: this statement may fall through [-Werror=implicit-fallthrough=]
  36. *op++ = tem | 0200;
  37. ~~~~~~^~~~~~~~~~~~
  38. tparam.c:271:6: note: here
  39. case 'f': /* %f means discard next arg */
  40. ^~~~
  41. termcap.c:147:1: error: return type defaults to ‘int’ [-Werror=implicit-int]
  42. memory_out ()
  43. ^~~~~~~~~~
  44. termcap.c: In function ‘convert_ospeed’:
  45. termcap.c:181:24: error: implicit declaration of function ‘OS_baud_index_to_rate’ [-Werror=implicit-function-declaration]
  46. unsigned int rate = (OS_baud_index_to_rate (os));
  47. ^~~~~~~~~~~~~~~~~~~~~
  48. termcap.c:181:24: error: nested extern declaration of ‘OS_baud_index_to_rate’ [-Werror=nested-externs]
  49. termcap.c: At top level:
  50. termcap.c:330:1: error: return type defaults to ‘int’ [-Werror=implicit-int]
  51. tputs (string, nlines, outfun)
  52. ^~~~~
  53. termcap.c: In function ‘tputs’:
  54. termcap.c:338:5: error: ‘return’ with no value, in function returning non-void [-Werror]
  55. return;
  56. ^~~~~~
  57. termcap.c:330:1: note: declared here
  58. tputs (string, nlines, outfun)
  59. ^~~~~
  60. termcap.c: In function ‘tgetent’:
  61. termcap.c:457:49: error: passing argument 2 of ‘find_capability’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  62. indirect = tgetst1 (find_capability (tem, "tc"), 0);
  63. ^~~~
  64. termcap.c:203:36: note: expected ‘char *’ but argument is of type ‘const char *’
  65. find_capability (char * bp, char * cap)
  66. ~~~~~~~^~~
  67. termcap.c:479:9: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  68. tem = "/etc/termcap";
  69. ^
  70. termcap.c:540:45: error: passing argument 2 of ‘find_capability’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  71. term = tgetst1 (find_capability (bp2, "tc"), 0);
  72. ^~~~
  73. termcap.c:203:36: note: expected ‘char *’ but argument is of type ‘const char *’
  74. find_capability (char * bp, char * cap)
  75. ~~~~~~~^~~
  76. termcap.c:554:12: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  77. return (int) bp;
  78. ^
  79. termcap.c: In function ‘scan_file’:
  80. termcap.c:570:9: error: unused variable ‘tem’ [-Werror=unused-variable]
  81. char *tem;
  82. ^~~
  83. cc1: all warnings being treated as errors
  84. make[1]: *** [Makefile:180: tparam.o] Error 1
  85. make[1]: *** Waiting for unfinished jobs....
  86. cc1: all warnings being treated as errors
  87. make[1]: *** [Makefile:180: termcap.o] Error 1
  88. rm cmpauxmd.s
  89. make[1]: Leaving directory '/home/xdavidliu/Downloads/mit-scheme/src/microcode'
  90. make: *** [Makefile:796: microcode/scheme] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement