Toobis

Untitled

Jul 14th, 2025 (edited)
8
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.43 KB | None | 0 0
  1. toobis@mush:~/pennmush $ make
  2. /usr/bin/perl utils/mkcmds.pl functions
  3. Rebuilding function prototype header.
  4. File hdrs/funs.h unchanged.
  5. /usr/bin/perl utils/mkcmds.pl switches
  6. Rebuilding command switch file and header.
  7. File hdrs/switches.h unchanged.
  8. File src/switchinc.c unchanged.
  9. /usr/bin/perl utils/mkcmds.pl tests
  10. File src/tests.inc unchanged.
  11. Making all in src.
  12. (cd src; make all "CC=gcc" "CCFLAGS=-g -O2 -pipe -Og -march=native -Wall -Wextra -Wpedantic -Wno-comment -Wno-char-subscripts -funsigned-char -Wa,--noexecstack -fstack-protector -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -I.. -I../hdrs -include ../config.h -include ../confmagic.h -include ../options.h -pthread -D_FORTIFY_SOURCE=3 -I/usr/include -I/usr/include -I../pcre2/include " \
  13. "LDFLAGS=-Wl,--no-as-needed -L/usr/lib -L/usr/lib ../pcre2/lib/libpcre2-8.a " "CLIBS=-lpthread -lz -lcrypt -lm -lssl -lcrypto " "MAKE=make" \
  14. "MAKEFLAGS=" "SQL_CFLAGS=" \
  15. "SQL_LDFLAGS=")
  16. make[1]: Entering directory '/home/toobis/pennmush/src'
  17. rm -f ../hdrs/buildinf.h
  18. gcc -g -O2 -pipe -Og -march=native -Wall -Wextra -Wpedantic -Wno-comment -Wno-char-subscripts -funsigned-char -Wa,--noexecstack -fstack-protector -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -I.. -I../hdrs -include ../config.h -include ../confmagic.h -include ../options.h -pthread -D_FORTIFY_SOURCE=3 -I/usr/include -I/usr/include -I../pcre2/include -c -o funlocal.o funlocal.c
  19. funlocal.c: In function ‘local_functions’:
  20. funlocal.c:39:23: error: ‘local_fun_c’ undeclared (first use in this function)
  21. 39 | function_add("C", local_fun_c, 1, 2, FN_REG);
  22. | ^~~~~~~~~~~
  23. funlocal.c:39:23: note: each undeclared identifier is reported only once for each function it appears in
  24. funlocal.c: In function ‘local_fun_c’:
  25. funlocal.c:61:41: warning: implicit declaration of function ‘safe_str’ [-Wimplicit-function-declaration]
  26. 61 | safe_str(T("No such FANSI character!"), buff, bp);
  27. | ^~~~~~~~
  28. funlocal.c:61:50: warning: implicit declaration of function ‘T’ [-Wimplicit-function-declaration]
  29. 61 | safe_str(T("No such FANSI character!"), buff, bp);
  30. | ^
  31. funlocal.c:65:50: warning: implicit declaration of function ‘safe_chr’ [-Wimplicit-function-declaration]
  32. 65 | result = safe_chr(c, buff, bp);
  33. | ^~~~~~~~
  34. funlocal.c: At top level:
  35. funlocal.c:72:1: error: redefinition of ‘local_functions’
  36. 72 | local_functions(void)
  37. | ^~~~~~~~~~~~~~~
  38. funlocal.c:37:1: note: previous definition of ‘local_functions’ with type ‘void(void)’
  39. 37 | local_functions()
  40. | ^~~~~~~~~~~~~~~
  41. make[1]: *** [<builtin>: funlocal.o] Error 1
  42. make[1]: Leaving directory '/home/toobis/pennmush/src'
  43. make: *** [Makefile:43: all] Error 2
  44. toobis@mush:~/pennmush $ make
  45. /usr/bin/perl utils/mkcmds.pl functions
  46. Rebuilding function prototype header.
  47. File hdrs/funs.h unchanged.
  48. /usr/bin/perl utils/mkcmds.pl switches
  49. Rebuilding command switch file and header.
  50. File hdrs/switches.h unchanged.
  51. File src/switchinc.c unchanged.
  52. /usr/bin/perl utils/mkcmds.pl tests
  53. File src/tests.inc unchanged.
  54. Making all in src.
  55. (cd src; make all "CC=gcc" "CCFLAGS=-g -O2 -pipe -Og -march=native -Wall -Wextra -Wpedantic -Wno-comment -Wno-char-subscripts -funsigned-char -Wa,--noexecstack -fstack-protector -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -I.. -I../hdrs -include ../config.h -include ../confmagic.h -include ../options.h -pthread -D_FORTIFY_SOURCE=3 -I/usr/include -I/usr/include -I../pcre2/include " \
  56. "LDFLAGS=-Wl,--no-as-needed -L/usr/lib -L/usr/lib ../pcre2/lib/libpcre2-8.a " "CLIBS=-lpthread -lz -lcrypt -lm -lssl -lcrypto " "MAKE=make" \
  57. "MAKEFLAGS=" "SQL_CFLAGS=" \
  58. "SQL_LDFLAGS=")
  59. make[1]: Entering directory '/home/toobis/pennmush/src'
  60. rm -f ../hdrs/buildinf.h
  61. gcc -g -O2 -pipe -Og -march=native -Wall -Wextra -Wpedantic -Wno-comment -Wno-char-subscripts -funsigned-char -Wa,--noexecstack -fstack-protector -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -I.. -I../hdrs -include ../config.h -include ../confmagic.h -include ../options.h -pthread -D_FORTIFY_SOURCE=3 -I/usr/include -I/usr/include -I../pcre2/include -c -o funlocal.o funlocal.c
  62. funlocal.c: In function ‘local_functions’:
  63. funlocal.c:39:23: error: ‘local_fun_c’ undeclared (first use in this function)
  64. 39 | function_add("C", local_fun_c, 1, 2, FN_REG);
  65. | ^~~~~~~~~~~
  66. funlocal.c:39:23: note: each undeclared identifier is reported only once for each function it appears in
  67. funlocal.c: In function ‘local_fun_c’:
  68. funlocal.c:61:41: warning: implicit declaration of function ‘safe_str’ [-Wimplicit-function-declaration]
  69. 61 | safe_str(T("No such FANSI character!"), buff, bp);
  70. | ^~~~~~~~
  71. funlocal.c:61:50: warning: implicit declaration of function ‘T’ [-Wimplicit-function-declaration]
  72. 61 | safe_str(T("No such FANSI character!"), buff, bp);
  73. | ^
  74. funlocal.c:65:50: warning: implicit declaration of function ‘safe_chr’ [-Wimplicit-function-declaration]
  75. 65 | result = safe_chr(c, buff, bp);
  76. | ^~~~~~~~
  77. make[1]: *** [<builtin>: funlocal.o] Error 1
  78. make[1]: Leaving directory '/home/toobis/pennmush/src'
  79. make: *** [Makefile:43: all] Error 2
  80. toobis@mush:~/pennmush $ toobis@mush:~/pennmush $ make
  81. /usr/bin/perl utils/mkcmds.pl functions
  82. Rebuilding function prototype header.
  83. File hdrs/funs.h unchanged.
  84. /usr/bin/perl utils/mkcmds.pl switches
  85. Rebuilding command switch file and header.
  86. File hdrs/switches.h unchanged.
  87. File src/switchinc.c unchanged.
  88. /usr/bin/perl utils/mkcmds.pl tests
  89. File src/tests.inc unchanged.
  90. Making all in src.
  91. (cd src; make all "CC=gcc" "CCFLAGS=-g -O2 -pipe -Og -march=native -Wall -Wextra -Wpedantic -Wno-comment -Wno-char-subscripts -funsigned-char -Wa,--noexecstack -fstack-protector -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -I.. -I../hdrs -include ../config.h -include ../confmagic.h -include ../options.h -pthread -D_FORTIFY_SOURCE=3 -I/usr/include -I/usr/include -I../pcre2/include " \
  92. "LDFLAGS=-Wl,--no-as-needed -L/usr/lib -L/usr/lib ../pcre2/lib/libpcre2-8.a " "CLIBS=-lpthread -lz -lcrypt -lm -lssl -lcrypto " "MAKE=make" \
  93. "MAKEFLAGS=" "SQL_CFLAGS=" \
  94. "SQL_LDFLAGS=")
  95. make[1]: Entering directory '/home/toobis/pennmush/src'
  96. rm -f ../hdrs/buildinf.h
  97. gcc -g -O2 -pipe -Og -march=native -Wall -Wextra -Wpedantic -Wno-comment -Wno-char-subscripts -funsigned-char -Wa,--noexecstack -fstack-protector -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -I.. -I../hdrs -include ../config.h -include ../confmagic.h -include ../options.h -pthread -D_FORTIFY_SOURCE=3 -I/usr/include -I/usr/include -I../pcre2/include -c -o funlocal.o funlocal.c
  98. funlocal.c: In function ‘local_functions’:
  99. funlocal.c:39:23: error: ‘local_fun_c’ undeclared (first use in this function)
  100. 39 | function_add("C", local_fun_c, 1, 2, FN_REG);
  101. | ^~~~~~~~~~~
  102. funlocal.c:39:23: note: each undeclared identifier is reported only once for each function it appears in
  103. funlocal.c: In function ‘local_fun_c’:
  104. funlocal.c:61:41: warning: implicit declaration of function ‘safe_str’ [-Wimplicit-function-declaration]
  105. 61 | safe_str(T("No such FANSI character!"), buff, bp);
  106. | ^~~~~~~~
  107. funlocal.c:61:50: warning: implicit declaration of function ‘T’ [-Wimplicit-function-declaration]
  108. 61 | safe_str(T("No such FANSI character!"), buff, bp);
  109. | ^
  110. funlocal.c:65:50: warning: implicit declaration of function ‘safe_chr’ [-Wimplicit-function-declaration]
  111. 65 | result = safe_chr(c, buff, bp);
  112. | ^~~~~~~~
  113. make[1]: *** [<builtin>: funlocal.o] Error 1
  114. make[1]: Leaving directory '/home/toobis/pennmush/src'
  115. make: *** [Makefile:43: all] Error 2
  116. l
  117. -bash: toobis@mush:~/pennmush: No such file or directory
  118. Rebuilding function prototype header.
  119. File hdrs/funs.h unchanged.
  120. -bash: Rebuilding: command not found
  121. -bash: File: command not found
  122. Rebuilding command switch file and header.
  123. File hdrs/switches.h unchanged.
  124. File src/switchinc.c unchanged.
  125. -bash: Rebuilding: command not found
  126. -bash: File: command not found
  127. -bash: File: command not found
  128. File src/tests.inc unchanged.
  129. -bash: File: command not found
  130. -bash: Making: command not found
  131. rm -f ../hdrs/buildinf.h
  132. gcc -g -O2 -pipe -Og -march=native -Wall -Wextra -Wpedantic -Wno-comment -Wno-char-subscripts -funsigned-char -Wa,--noexecstack -fstack-protector -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -I.. -I../hdrs -include ../config.h -include ../confmagic.h -include ../options.h -pthread -D_FORTIFY_SOURCE=3 -I/usr/include -I/usr/include -I../pcre2/include -c -o funlocal.o funlocal.c
  133. funlocal.c: In function ‘local_functions’:
  134. funlocal.c:39:23: error: ‘local_fun_c’ undeclared (first use in this function)
  135. 39 | function_add("C", local_fun_c, 1, 2, FN_REG);
  136. | ^~~~~~~~~~~
  137. funlocal.c:39:23: note: each undeclared identifier is reported only once for each function it appears in
  138. funlocal.c: In function ‘local_fun_c’:
  139. funlocal.c:61:41: warning: implicit declaration of function ‘safe_str’ [-Wimplicit-function-declaration]
  140. 61 | safe_str(T("No such FANSI character!"), buff, bp);
  141. | ^~~~~~~~
  142. funlocal.c:61:50: warning: implicit declaration of function ‘T’ [-Wimplicit-function-declaration]
  143. 61 | safe_str(T("No such FANSI character!"), buff, bp);
  144. | ^
  145. funlocal.c:65:50: warning: implicit declaration of function ‘safe_chr’ [-Wimplicit-function-declaration]
  146. 65 | result = safe_chr(c, buff, bp);
  147. | ^~~~~~~~
  148. make: *** [<builtin>: funlocal.o] Error 1
  149. -bash: make[1]:: command not found
  150. cc1: fatal error: funlocal.c: No such file or directory
  151. compilation terminated.
  152. -bash: funlocal.c:: command not found
  153. -bash: syntax error near unexpected token `('
  154. -bash: syntax error near unexpected token `"C",'
  155. -bash: syntax error near unexpected token `|'
  156. -bash: funlocal.c:39:23:: command not found
  157. -bash: funlocal.c:: command not found
  158. -bash: funlocal.c:61:41:: command not found
  159. -bash: syntax error near unexpected token `T'
  160. -bash: syntax error near unexpected token `|'
  161. -bash: funlocal.c:61:50:: command not found
  162. -bash: syntax error near unexpected token `T'
  163. -bash: syntax error near unexpected token `|'
  164. -bash: funlocal.c:65:50:: command not found
  165. -bash: syntax error near unexpected token `('
  166. -bash: syntax error near unexpected token `|'
  167. -bash: builtin: No such file or directory
  168. -bash: make[1]:: command not found
  169. -bash: make:: command not found
  170.  
Advertisement
Add Comment
Please, Sign In to add comment