datamgmt

dps8 R1.0 initial errors

Jun 8th, 2019
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.03 KB | None | 0 0
  1. pi@pi98:~/multics/dps8m-R1.0$ make
  2. cd src/dps8 && make
  3. make[1]: Entering directory '/home/pi/multics/dps8m-R1.0/src/dps8'
  4. cp dps8.sha1.txt~ dps8.sha1.txt
  5. CC prt2pdf.c
  6. prt2pdf.c:431:29: warning: comparison of constant -1 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare]
  7. while ((c = getchar ()) != EOF)
  8. ~~~~~~~~~~~~~~~~ ^ ~~~
  9. 1 warning generated.
  10. LD prt2pdf
  11. (cd ../simh-master; make -f Makefile)
  12. CC scp.c
  13. CC sim_console.c
  14. CC sim_disk.c
  15. CC sim_ether.c
  16. CC sim_fio.c
  17. CC sim_serial.c
  18. CC sim_sock.c
  19. CC sim_tape.c
  20. CC sim_timer.c
  21. CC sim_tmxr.c
  22. CC sim_video.c
  23. AR simh.a
  24. (cd ../decNumber; make)
  25. CC decContext.c
  26. CC decNumber.c
  27. AR decNumber.a
  28. #make zmq
  29. make dps8.sha1.txt
  30. make[2]: 'dps8.sha1.txt' is up to date.
  31. make dps8
  32. CC dps8_absi.c
  33. CC dps8_addrmods.c
  34. CC dps8_append.c
  35. CC dps8_bar.c
  36. CC dps8_cable.c
  37. CC dps8_console.c
  38. CC dps8_cpu.c
  39. dps8_cpu.c:983:39: warning: incompatible pointer types passing 'void (uv_timer_t *)' (aka 'void (struct uv_timer_s
  40. *)') to parameter of type
  41. 'uv_timer_cb'
  42. (aka 'void (*)(struct uv_timer_s *, int)') [-Wincompatible-pointer-types]
  43. uv_timer_start (& ev_poll_handle, ev_poll_cb, 10, 10);
  44. ^~~~~~~~~~
  45. /usr/include/uv.h:1243:42: note: passing argument to parameter 'cb' here
  46. uv_timer_cb cb,
  47. ^
  48. 1 warning generated.
  49. CC dps8_crdpun.c
  50. CC dps8_crdrdr.c
  51. CC dps8_decimal.c
  52. CC dps8_disk.c
  53. CC dps8_eis.c
  54. CC dps8_faults.c
  55. CC dps8_fnp2.c
  56. dps8_fnp2.c:1270:57: warning: implicit conversion changes signedness: 'uint' (aka 'unsigned int') to 'ssize_t' (aka
  57. 'int') [-Wsign-conversion]
  58. fnpuv_start_write (linep->client, (char *) clean, tally);
  59. ~~~~~~~~~~~~~~~~~ ^~~~~
  60. dps8_fnp2.c:2817:90: warning: implicit conversion changes signedness: 'ssize_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
  61. unsigned char * new = realloc (linep->inBuffer, (unsigned long) (linep->inSize + nread));
  62. ~ ^~~~~
  63. dps8_fnp2.c:2824:26: warning: implicit conversion changes signedness: 'ssize_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
  64. linep->inSize += nread;
  65. ~~ ^~~~~
  66. 3 warnings generated.
  67. CC dps8_iefp.c
  68. CC dps8_ins.c
  69. CC dps8_iom.c
  70. CC dps8_loader.c
  71. CC dps8_math.c
  72. CC dps8_math128.c
  73. dps8_math128.c:43:4: warning: expression result unused [-Wunused-value]
  74. 1/0;
  75. ~^~
  76. dps8_math128.c:43:4: warning: division by zero is undefined [-Wdivision-by-zero]
  77. 1/0;
  78. ^~
  79. dps8_math128.c:81:28: warning: implicit conversion changes signedness: 'TItype' (aka '__int128') to 'UTItype' (aka
  80. 'unsigned __int128') [-Wsign-conversion]
  81. return (TItype)__udivti3(div,dvd);
  82. ~~~~~~~~~ ^~~
  83. dps8_math128.c:81:32: warning: implicit conversion changes signedness: 'TItype' (aka '__int128') to 'UTItype' (aka
  84. 'unsigned __int128') [-Wsign-conversion]
  85. return (TItype)__udivti3(div,dvd);
  86. ~~~~~~~~~ ^~~
  87. dps8_math128.c:83:30: warning: implicit conversion changes signedness: 'TItype' (aka '__int128') to 'UTItype' (aka
  88. 'unsigned __int128') [-Wsign-conversion]
  89. return -((TItype)__udivti3(div,dvd));
  90. ~~~~~~~~~ ^~~
  91. dps8_math128.c:83:34: warning: implicit conversion changes signedness: 'TItype' (aka '__int128') to 'UTItype' (aka
  92. 'unsigned __int128') [-Wsign-conversion]
  93. return -((TItype)__udivti3(div,dvd));
  94. ~~~~~~~~~ ^~~
  95. dps8_math128.c:103:42: warning: implicit conversion changes signedness: 'TItype' (aka '__int128') to 'UTItype' (aka
  96. 'unsigned __int128') [-Wsign-conversion]
  97. return (TItype)__umodti3(div,dvd);
  98. ~~~~~~~~~ ^~~
  99. dps8_math128.c:103:46: warning: implicit conversion changes signedness: 'TItype' (aka '__int128') to 'UTItype' (aka
  100. 'unsigned __int128') [-Wsign-conversion]
  101. return (TItype)__umodti3(div,dvd);
  102. ~~~~~~~~~ ^~~
  103. dps8_math128.c:105:39: warning: implicit conversion changes signedness: 'TItype' (aka '__int128') to 'UTItype' (aka
  104. 'unsigned __int128') [-Wsign-conversion]
  105. return ((TItype)0-(TItype)__umodti3(div,dvd));
  106. ~~~~~~~~~ ^~~
  107. dps8_math128.c:105:43: warning: implicit conversion changes signedness: 'TItype' (aka '__int128') to 'UTItype' (aka
  108. 'unsigned __int128') [-Wsign-conversion]
  109. return ((TItype)0-(TItype)__umodti3(div,dvd));
  110. ~~~~~~~~~ ^~~
  111. 10 warnings generated.
  112. CC dps8_mt.c
  113. CC dps8_opcodetable.c
  114. CC dps8_prt.c
  115. CC dps8_scu.c
  116. CC dps8_sys.c
  117. CC dps8_urp.c
  118. CC dps8_utils.c
  119. CC fnpuv.c
  120. fnpuv.c:499:44: warning: incompatible pointer types passing 'void (uv_handle_t *, size_t, uv_buf_t *)' (aka 'void
  121. (struct uv_handle_s *, unsigned int, uv_buf_t *)') to parameter of type 'uv_alloc_cb' (aka 'uv_buf_t (*)(struct uv_handle_s *,
  122. unsigned int)')
  123. [-Wincompatible-pointer-types]
  124. uv_read_start ((uv_stream_t *) client, alloc_buffer, fuv_read_cb);
  125. ^~~~~~~~~~~~
  126. /usr/include/uv.h:618:55: note: passing argument to parameter 'alloc_cb' here
  127. UV_EXTERN int uv_read_start(uv_stream_t*, uv_alloc_cb alloc_cb,
  128. ^
  129. fnpuv.c:499:58: warning: incompatible pointer types passing 'void (uv_stream_t *, ssize_t, const uv_buf_t *)' (aka
  130. 'void (struct uv_stream_s *, int, const uv_buf_t *)') to parameter of type 'uv_read_cb' (aka 'void (*)(struct
  131. uv_stream_s *, int, uv_buf_t)')
  132. [-Wincompatible-pointer-types]
  133. uv_read_start ((uv_stream_t *) client, alloc_buffer, fuv_read_cb);
  134. ^~~~~~~~~~~
  135. /usr/include/uv.h:619:16: note: passing argument to parameter 'read_cb' here
  136. uv_read_cb read_cb);
  137. ^
  138. fnpuv.c:521:68: error: passing 'int' to parameter of incompatible type 'uv_err_t' (aka 'struct uv_err_s')
  139. fprintf (stderr, "New connection error %s\n", uv_strerror (status));
  140. ^~~~~~
  141. /usr/include/uv.h:450:44: note: passing argument to parameter 'err' here
  142. UV_EXTERN const char* uv_strerror(uv_err_t err);
  143. ^
  144. fnpuv.c:677:42: error: too many arguments to function call, expected 2, have 3
  145. uv_ip4_addr ("0.0.0.0", telnet_port, & addr);
  146. ~~~~~~~~~~~ ^~~~~~
  147. /usr/include/uv.h:1819:1: note: 'uv_ip4_addr' declared here
  148. UV_EXTERN struct sockaddr_in uv_ip4_addr(const char* ip, int port);
  149. ^
  150. /usr/include/uv.h:43:20: note: expanded from macro 'UV_EXTERN'
  151. # define UV_EXTERN __attribute__((visibility("default")))
  152. ^
  153. fnpuv.c:678:65: error: too many arguments to function call, expected 2, have 3
  154. uv_tcp_bind (& du_server, (const struct sockaddr *) & addr, 0);
  155. ~~~~~~~~~~~ ^
  156. /usr/include/uv.h:732:1: note: 'uv_tcp_bind' declared here
  157. UV_EXTERN int uv_tcp_bind(uv_tcp_t* handle, struct sockaddr_in);
  158. ^
  159. /usr/include/uv.h:43:20: note: expanded from macro 'UV_EXTERN'
  160. # define UV_EXTERN __attribute__((visibility("default")))
  161. ^
  162. fnpuv.c:683:60: error: passing 'int' to parameter of incompatible type 'uv_err_t' (aka 'struct uv_err_s')
  163. fprintf (stderr, "Listen error %s\n", uv_strerror (r));
  164. ^
  165. /usr/include/uv.h:450:44: note: passing argument to parameter 'err' here
  166. UV_EXTERN const char* uv_strerror(uv_err_t err);
  167. ^
  168. fnpuv.c:753:68: error: passing 'int' to parameter of incompatible type 'uv_err_t' (aka 'struct uv_err_s')
  169. sim_printf ("Dial-out connection error %s\n", uv_strerror (status));
  170. ^~~~~~
  171. /usr/include/uv.h:450:44: note: passing argument to parameter 'err' here
  172. UV_EXTERN const char* uv_strerror(uv_err_t err);
  173. ^
  174. fnpuv.c:760:51: warning: incompatible pointer types passing 'void (uv_handle_t *, size_t, uv_buf_t *)' (aka 'void
  175. (struct uv_handle_s *, unsigned int, uv_buf_t *)') to parameter of type 'uv_alloc_cb' (aka 'uv_buf_t (*)(struct uv_handle_s *, unsigned int)')
  176. [-Wincompatible-pointer-types]
  177. uv_read_start ((uv_stream_t *) linep->client, alloc_buffer, fuv_read_cb);
  178. ^~~~~~~~~~~~
  179. /usr/include/uv.h:618:55: note: passing argument to parameter 'alloc_cb' here
  180. UV_EXTERN int uv_read_start(uv_stream_t*, uv_alloc_cb alloc_cb,
  181. ^
  182. fnpuv.c:760:65: warning: incompatible pointer types passing 'void (uv_stream_t *, ssize_t, const uv_buf_t *)' (aka
  183. 'void (struct uv_stream_s *, int, const uv_buf_t *)') to parameter of type 'uv_read_cb' (aka 'void (*)(struct uv_stream_s *, int, uv_buf_t)')
  184. [-Wincompatible-pointer-types]
  185. uv_read_start ((uv_stream_t *) linep->client, alloc_buffer, fuv_read_cb);
  186. ^~~~~~~~~~~
  187. /usr/include/uv.h:619:16: note: passing argument to parameter 'read_cb' here
  188. uv_read_cb read_cb);
  189. ^
  190. fnpuv.c:850:37: error: too many arguments to function call, expected 2, have 3
  191. uv_ip4_addr(ipaddr, (int) port, &dest);
  192. ~~~~~~~~~~~ ^~~~~
  193. /usr/include/uv.h:1819:1: note: 'uv_ip4_addr' declared here
  194. UV_EXTERN struct sockaddr_in uv_ip4_addr(const char* ip, int port);
  195. ^
  196. /usr/include/uv.h:43:20: note: expanded from macro 'UV_EXTERN'
  197. # define UV_EXTERN __attribute__((visibility("default")))
  198. ^
  199. fnpuv.c:881:56: error: passing 'const struct sockaddr *' to parameter of incompatible type 'struct sockaddr_in'
  200. uv_tcp_connect (& linep->doConnect, linep->client, (const struct sockaddr *) & dest, on_do_connect);
  201. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  202. /usr/include/uv.h:746:24: note: passing argument to parameter 'address' here
  203. struct sockaddr_in address, uv_connect_cb cb);
  204. ^
  205. fnpuv.c:939:42: error: too many arguments to function call, expected 2, have 3
  206. uv_ip4_addr ("0.0.0.0", linep->port, & addr);
  207. ~~~~~~~~~~~ ^~~~~~
  208. /usr/include/uv.h:1819:1: note: 'uv_ip4_addr' declared here
  209. UV_EXTERN struct sockaddr_in uv_ip4_addr(const char* ip, int port);
  210. ^
  211. /usr/include/uv.h:43:20: note: expanded from macro 'UV_EXTERN'
  212. # define UV_EXTERN __attribute__((visibility("default")))
  213. ^
  214. fnpuv.c:940:69: error: too many arguments to function call, expected 2, have 3
  215. uv_tcp_bind (& linep->server, (const struct sockaddr *) & addr, 0);
  216. ~~~~~~~~~~~ ^
  217. /usr/include/uv.h:732:1: note: 'uv_tcp_bind' declared here
  218. UV_EXTERN int uv_tcp_bind(uv_tcp_t* handle, struct sockaddr_in);
  219. ^
  220. /usr/include/uv.h:43:20: note: expanded from macro 'UV_EXTERN'
  221. # define UV_EXTERN __attribute__((visibility("default")))
  222. ^
  223. fnpuv.c:946:60: error: passing 'int' to parameter of incompatible type 'uv_err_t' (aka 'struct uv_err_s')
  224. fprintf (stderr, "Listen error %s\n", uv_strerror (r));
  225. ^
  226. /usr/include/uv.h:450:44: note: passing argument to parameter 'err' here
  227. UV_EXTERN const char* uv_strerror(uv_err_t err);
  228. ^
  229. 4 warnings and 10 errors generated.
  230. ../Makefile.mk:92: recipe for target 'fnpuv.o' failed
  231. make[2]: *** [fnpuv.o] Error 1
  232. Makefile:298: recipe for target 'locallibs_then_dps8' failed
  233. make[1]: *** [locallibs_then_dps8] Error 2
  234. make[1]: Leaving directory '/home/pi/multics/dps8m-R1.0/src/dps8'
  235. Makefile:11: recipe for target 'all' failed
  236. make: *** [all] Error 2
  237. pi@pi98:~/multics/dps8m-R1.0$
Advertisement
Add Comment
Please, Sign In to add comment