Advertisement
Guest User

Untitled

a guest
Oct 29th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 78.87 KB | None | 0 0
  1. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrfloat.c:20:
  2. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
  3. 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
  4. | ^~~~~~
  5. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
  6. 89 | caddr_t x_public; /* users' data */
  7. | ^~~~~~~
  8. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
  9. 90 | caddr_t x_private; /* pointer to private data */
  10. | ^~~~~~~
  11. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
  12. 91 | caddr_t x_base; /* private used for position info */
  13. | ^~~~~~~
  14. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
  15. 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
  16. | ^~~~~
  17. | int
  18. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
  19. 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
  20. | ^~~~~~
  21. | long
  22. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:19:
  23. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
  24. 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
  25. | ^~~~~~
  26. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
  27. 89 | caddr_t x_public; /* users' data */
  28. | ^~~~~~~
  29. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
  30. 90 | caddr_t x_private; /* pointer to private data */
  31. | ^~~~~~~
  32. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
  33. 91 | caddr_t x_base; /* private used for position info */
  34. | ^~~~~~~
  35. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
  36. 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
  37. | ^~~~~~~
  38. | short
  39. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'
  40. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  41. | ^~~~~~~
  42. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
  43. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  44. | ^~~~~
  45. | int
  46. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
  47. 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
  48. | ^~~~~
  49. | int
  50. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
  51. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  52. | ^~~~~
  53. | int
  54. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
  55. 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
  56. | ^~~~~~
  57. | long
  58. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
  59. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  60. | ^~~~~
  61. | int
  62. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
  63. 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
  64. | ^~~~~~~
  65. | short
  66. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
  67. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  68. | ^~~~~
  69. | int
  70. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'
  71. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  72. | ^~~~~~~
  73. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
  74. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  75. | ^~~~~
  76. | int
  77. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
  78. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  79. | ^~~~~
  80. | int
  81. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'
  82. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  83. | ^~~~~~~
  84. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
  85. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  86. | ^~~~~
  87. | int
  88. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
  89. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  90. | ^~~~~
  91. | int
  92. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
  93. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  94. | ^~~~~
  95. | int
  96. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
  97. 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
  98. | ^~~~~
  99. | int
  100. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
  101. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  102. | ^~~~~
  103. | int
  104. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
  105. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  106. | ^~~~~
  107. | int
  108. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
  109. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  110. | ^~~~~
  111. | int
  112. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
  113. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  114. | ^~~~~
  115. | int
  116. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
  117. 229 | u_int n_len;
  118. | ^~~~~
  119. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'
  120. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  121. | ^~~~~~~
  122. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
  123. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  124. | ^~~~~
  125. | int
  126. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
  127. 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
  128. | ^~~~~
  129. | int
  130. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
  131. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  132. | ^~~~~
  133. | int
  134. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
  135. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  136. | ^~~~~
  137. | int
  138. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
  139. 229 | u_int n_len;
  140. | ^~~~~
  141. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:19:
  142. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
  143. 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
  144. | ^~~~~~
  145. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
  146. 89 | caddr_t x_public; /* users' data */
  147. | ^~~~~~~
  148. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
  149. 90 | caddr_t x_private; /* pointer to private data */
  150. | ^~~~~~~
  151. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
  152. 91 | caddr_t x_base; /* private used for position info */
  153. | ^~~~~~~
  154. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
  155. 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
  156. | ^~~~~
  157. | int
  158. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
  159. 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
  160. | ^~~~~~
  161. | long
  162. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
  163. 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
  164. | ^~~~~~~
  165. | short
  166. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'
  167. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  168. | ^~~~~~~
  169. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
  170. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  171. | ^~~~~
  172. | int
  173. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
  174. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  175. | ^~~~~
  176. | int
  177. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:30:
  178. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
  179. 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
  180. | ^~~~~~
  181. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
  182. 89 | caddr_t x_public; /* users' data */
  183. | ^~~~~~~
  184. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
  185. 90 | caddr_t x_private; /* pointer to private data */
  186. | ^~~~~~~
  187. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
  188. 91 | caddr_t x_base; /* private used for position info */
  189. | ^~~~~~~
  190. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
  191. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  192. | ^~~~~
  193. | int
  194. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
  195. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  196. | ^~~~~
  197. | int
  198. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
  199. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  200. | ^~~~~
  201. | int
  202. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'
  203. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  204. | ^~~~~~~
  205. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
  206. 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
  207. | ^~~~~
  208. | int
  209. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
  210. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  211. | ^~~~~
  212. | int
  213. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
  214. 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
  215. | ^~~~~
  216. | int
  217. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
  218. 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
  219. | ^~~~~~
  220. | long
  221. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
  222. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  223. | ^~~~~
  224. | int
  225. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
  226. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  227. | ^~~~~
  228. | int
  229. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
  230. 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
  231. | ^~~~~~~
  232. | short
  233. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
  234. 229 | u_int n_len;
  235. | ^~~~~
  236. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
  237. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  238. | ^~~~~~~
  239. | in_addr_t
  240. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
  241. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  242. | ^~~~~
  243. | int
  244. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
  245. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  246. | ^~~~~
  247. | int
  248. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
  249. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  250. | ^~~~~
  251. | int
  252. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
  253. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  254. | ^~~~~
  255. | int
  256. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
  257. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  258. | ^~~~~
  259. | int
  260. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
  261. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  262. | ^~~~~~~
  263. | in_addr_t
  264. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
  265. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  266. | ^~~~~
  267. | int
  268. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:30:
  269. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
  270. 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
  271. | ^~~~~~
  272. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
  273. 89 | caddr_t x_public; /* users' data */
  274. | ^~~~~~~
  275. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
  276. 90 | caddr_t x_private; /* pointer to private data */
  277. | ^~~~~~~
  278. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
  279. 91 | caddr_t x_base; /* private used for position info */
  280. | ^~~~~~~
  281. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
  282. 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
  283. | ^~~~~
  284. | int
  285. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
  286. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  287. | ^~~~~
  288. | int
  289. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
  290. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  291. | ^~~~~
  292. | int
  293. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
  294. 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
  295. | ^~~~~
  296. | int
  297. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
  298. 229 | u_int n_len;
  299. | ^~~~~
  300. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
  301. 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
  302. | ^~~~~~
  303. | long
  304. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
  305. 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
  306. | ^~~~~~~
  307. | short
  308. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_int':
  309. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:87:2: error: unknown type name 'u_int'
  310. 87 | u_int *up;
  311. | ^~~~~
  312. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
  313. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  314. | ^~~~~~~
  315. | in_addr_t
  316. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:94:14: error: 'u_int' undeclared (first use in this function)
  317. 94 | if (sizeof (u_int) == sizeof (u_long)) {
  318. | ^~~~~
  319. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:94:14: note: each undeclared identifier is reported only once for each function it appears in
  320. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
  321. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  322. | ^~~~~
  323. | int
  324. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
  325. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  326. | ^~~~~
  327. | int
  328. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:94:32: error: 'u_long' undeclared (first use in this function)
  329. 94 | if (sizeof (u_int) == sizeof (u_long)) {
  330. | ^~~~~~
  331. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
  332. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  333. | ^~~~~
  334. | int
  335. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:19:
  336. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
  337. 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
  338. | ^~~~~~
  339. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
  340. 89 | caddr_t x_public; /* users' data */
  341. | ^~~~~~~
  342. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
  343. 90 | caddr_t x_private; /* pointer to private data */
  344. | ^~~~~~~
  345. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
  346. 91 | caddr_t x_base; /* private used for position info */
  347. | ^~~~~~~
  348. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
  349. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  350. | ^~~~~
  351. | int
  352. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
  353. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  354. | ^~~~~
  355. | int
  356. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
  357. 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
  358. | ^~~~~
  359. | int
  360. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
  361. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  362. | ^~~~~~~
  363. | in_addr_t
  364. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:95:11: warning: implicit declaration of function 'xdr_u_long'; did you mean 'xdr_long'? [-Wimplicit-function-declaration]
  365. 95 | return (xdr_u_long(xdrs, (u_long *)up));
  366. | ^~~~~~~~~~
  367. | xdr_long
  368. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:95:37: error: expected expression before ')' token
  369. 95 | return (xdr_u_long(xdrs, (u_long *)up));
  370. | ^
  371. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
  372. 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
  373. | ^~~~~~
  374. | long
  375. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
  376. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  377. | ^~~~~
  378. | int
  379. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
  380. 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
  381. | ^~~~~~~
  382. | short
  383. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
  384. 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
  385. | ^~~~~
  386. | int
  387. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'
  388. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  389. | ^~~~~~~
  390. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
  391. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  392. | ^~~~~
  393. | int
  394. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
  395. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  396. | ^~~~~
  397. | int
  398. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
  399. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  400. | ^~~~~
  401. | int
  402. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
  403. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  404. | ^~~~~
  405. | int
  406. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
  407. 229 | u_int n_len;
  408. | ^~~~~
  409. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
  410. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  411. | ^~~~~
  412. | int
  413. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:97:11: warning: implicit declaration of function 'xdr_u_short'; did you mean 'xdr_short'? [-Wimplicit-function-declaration]
  414. 97 | return (xdr_u_short(xdrs, (u_short *)up));
  415. | ^~~~~~~~~~~
  416. | xdr_short
  417. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
  418. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  419. | ^~~~~
  420. | int
  421. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
  422. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  423. | ^~~~~
  424. | int
  425. make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-static.dir/build.make:76: mfhdf/xdr/CMakeFiles/xdr-static.dir/xdrfloat.c.o] Error 1
  426. make[5]: *** Waiting for unfinished jobs....
  427. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'
  428. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  429. | ^~~~~~~
  430. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:97:30: error: 'u_short' undeclared (first use in this function); did you mean 'xdr_short'?
  431. 97 | return (xdr_u_short(xdrs, (u_short *)up));
  432. | ^~~~~~~
  433. | xdr_short
  434. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:97:39: error: expected expression before ')' token
  435. 97 | return (xdr_u_short(xdrs, (u_short *)up));
  436. | ^
  437. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
  438. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  439. | ^~~~~
  440. | int
  441. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
  442. 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
  443. | ^~~~~
  444. | int
  445. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
  446. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  447. | ^~~~~
  448. | int
  449. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_long':
  450. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:131:2: error: unknown type name 'u_long'; did you mean 'long'?
  451. 131 | u_long *ulp;
  452. | ^~~~~~
  453. | long
  454. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
  455. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  456. | ^~~~~
  457. | int
  458. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
  459. 229 | u_int n_len;
  460. | ^~~~~
  461. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_short':
  462. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:178:2: error: unknown type name 'u_short'; did you mean 'short'?
  463. 178 | u_short *usp;
  464. | ^~~~~~~
  465. | short
  466. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:180:2: error: unknown type name 'u_long'; did you mean 'long'?
  467. 180 | u_long l;
  468. | ^~~~~~
  469. | long
  470. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:185:8: error: 'u_long' undeclared (first use in this function)
  471. 185 | l = (u_long) *usp;
  472. | ^~~~~~
  473. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:192:11: error: 'u_short' undeclared (first use in this function); did you mean 'xdr_short'?
  474. 192 | *usp = (u_short) l;
  475. | ^~~~~~~
  476. | xdr_short
  477. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:192:19: error: expected ';' before 'l'
  478. 192 | *usp = (u_short) l;
  479. | ^~
  480. | ;
  481. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_char':
  482. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:228:2: error: unknown type name 'u_int'
  483. 228 | u_int u;
  484. | ^~~~~
  485. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_opaque':
  486. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:305:2: error: unknown type name 'caddr_t'
  487. 305 | caddr_t cp;
  488. | ^~~~~~~
  489. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:306:11: error: unknown type name 'u_int'
  490. 306 | register u_int cnt;
  491. | ^~~~~
  492. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:308:11: error: unknown type name 'u_int'
  493. 308 | register u_int rndup;
  494. | ^~~~~
  495. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:309:9: warning: type defaults to 'int' in declaration of 'crud' [-Wimplicit-int]
  496. 309 | static crud[BYTES_PER_XDR_UNIT];
  497. | ^~~~
  498. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_bytes':
  499. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:358:11: error: unknown type name 'u_int'
  500. 358 | register u_int *sizep;
  501. | ^~~~~
  502. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:359:2: error: unknown type name 'u_int'
  503. 359 | u_int maxsize;
  504. | ^~~~~
  505. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:362:11: error: unknown type name 'u_int'
  506. 362 | register u_int nodesize;
  507. | ^~~~~
  508. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_union':
  509. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:24: error: 'u_int' undeclared (first use in this function)
  510. 26 | #define LASTUNSIGNED ((u_int) 0-1)
  511. | ^~~~~
  512. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:453:42: note: in expansion of macro 'LASTUNSIGNED'
  513. 453 | return ((*(choices->proc))(xdrs, unp, LASTUNSIGNED));
  514. | ^~~~~~~~~~~~
  515. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:31: error: expected ')' before numeric constant
  516. 26 | #define LASTUNSIGNED ((u_int) 0-1)
  517. | ~ ^
  518. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:453:42: note: in expansion of macro 'LASTUNSIGNED'
  519. 453 | return ((*(choices->proc))(xdrs, unp, LASTUNSIGNED));
  520. | ^~~~~~~~~~~~
  521. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:31: error: expected ')' before numeric constant
  522. 26 | #define LASTUNSIGNED ((u_int) 0-1)
  523. | ~ ^
  524. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:460:27: note: in expansion of macro 'LASTUNSIGNED'
  525. 460 | (*dfault)(xdrs, unp, LASTUNSIGNED));
  526. | ^~~~~~~~~~~~
  527. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:19:
  528. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
  529. 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
  530. | ^~~~~~
  531. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
  532. 89 | caddr_t x_public; /* users' data */
  533. | ^~~~~~~
  534. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
  535. 90 | caddr_t x_private; /* pointer to private data */
  536. | ^~~~~~~
  537. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
  538. 91 | caddr_t x_base; /* private used for position info */
  539. | ^~~~~~~
  540. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_string':
  541. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:482:2: error: unknown type name 'u_int'
  542. 482 | u_int maxsize;
  543. | ^~~~~
  544. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:485:2: error: unknown type name 'u_int'
  545. 485 | u_int size;
  546. | ^~~~~
  547. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_int':
  548. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:486:2: error: unknown type name 'u_int'
  549. 486 | u_int nodesize;
  550. | ^~~~~
  551. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
  552. 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
  553. | ^~~~~
  554. | int
  555. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:87:2: error: unknown type name 'u_int'
  556. 87 | u_int *up;
  557. | ^~~~~
  558. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
  559. 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
  560. | ^~~~~~
  561. | long
  562. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:94:14: error: 'u_int' undeclared (first use in this function)
  563. 94 | if (sizeof (u_int) == sizeof (u_long)) {
  564. | ^~~~~
  565. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:94:14: note: each undeclared identifier is reported only once for each function it appears in
  566. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_wrapstring':
  567. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:24: error: 'u_int' undeclared (first use in this function)
  568. 26 | #define LASTUNSIGNED ((u_int) 0-1)
  569. | ^~~~~
  570. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:547:28: note: in expansion of macro 'LASTUNSIGNED'
  571. 547 | if (xdr_string(xdrs, cpp, LASTUNSIGNED)) {
  572. | ^~~~~~~~~~~~
  573. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:31: error: expected ')' before numeric constant
  574. 26 | #define LASTUNSIGNED ((u_int) 0-1)
  575. | ~ ^
  576. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:547:28: note: in expansion of macro 'LASTUNSIGNED'
  577. 547 | if (xdr_string(xdrs, cpp, LASTUNSIGNED)) {
  578. | ^~~~~~~~~~~~
  579. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
  580. 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
  581. | ^~~~~~~
  582. | short
  583. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'
  584. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  585. | ^~~~~~~
  586. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:94:32: error: 'u_long' undeclared (first use in this function)
  587. 94 | if (sizeof (u_int) == sizeof (u_long)) {
  588. | ^~~~~~
  589. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
  590. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  591. | ^~~~~
  592. | int
  593. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrfloat.c:20:
  594. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
  595. 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
  596. | ^~~~~~
  597. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
  598. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  599. | ^~~~~
  600. | int
  601. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
  602. 89 | caddr_t x_public; /* users' data */
  603. | ^~~~~~~
  604. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
  605. 90 | caddr_t x_private; /* pointer to private data */
  606. | ^~~~~~~
  607. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
  608. 91 | caddr_t x_base; /* private used for position info */
  609. | ^~~~~~~
  610. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
  611. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  612. | ^~~~~
  613. | int
  614. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
  615. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  616. | ^~~~~
  617. | int
  618. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:95:11: warning: implicit declaration of function 'xdr_u_long'; did you mean 'xdr_long'? [-Wimplicit-function-declaration]
  619. 95 | return (xdr_u_long(xdrs, (u_long *)up));
  620. | ^~~~~~~~~~
  621. | xdr_long
  622. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:95:37: error: expected expression before ')' token
  623. 95 | return (xdr_u_long(xdrs, (u_long *)up));
  624. | ^
  625. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
  626. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  627. | ^~~~~
  628. | int
  629. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
  630. 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
  631. | ^~~~~
  632. | int
  633. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'
  634. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  635. | ^~~~~~~
  636. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
  637. 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
  638. | ^~~~~~
  639. | long
  640. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
  641. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  642. | ^~~~~
  643. | int
  644. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:34:42: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
  645. 34 | static bool_t xdrstdio_getbytes(XDR *, caddr_t, u_int );
  646. | ^~~~~~~
  647. | in_addr_t
  648. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
  649. 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
  650. | ^~~~~
  651. | int
  652. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
  653. 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
  654. | ^~~~~~~
  655. | short
  656. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:34:51: error: unknown type name 'u_int'
  657. 34 | static bool_t xdrstdio_getbytes(XDR *, caddr_t, u_int );
  658. | ^~~~~
  659. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
  660. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  661. | ^~~~~
  662. | int
  663. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:97:11: warning: implicit declaration of function 'xdr_u_short'; did you mean 'xdr_short'? [-Wimplicit-function-declaration]
  664. 97 | return (xdr_u_short(xdrs, (u_short *)up));
  665. | ^~~~~~~~~~~
  666. | xdr_short
  667. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'
  668. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  669. | ^~~~~~~
  670. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
  671. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  672. | ^~~~~
  673. | int
  674. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
  675. 229 | u_int n_len;
  676. | ^~~~~
  677. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
  678. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  679. | ^~~~~
  680. | int
  681. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
  682. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  683. | ^~~~~
  684. | int
  685. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:35:42: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
  686. 35 | static bool_t xdrstdio_putbytes(XDR *, caddr_t, u_int );
  687. | ^~~~~~~
  688. | in_addr_t
  689. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
  690. 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
  691. | ^~~~~
  692. | int
  693. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:97:30: error: 'u_short' undeclared (first use in this function); did you mean 'xdr_short'?
  694. 97 | return (xdr_u_short(xdrs, (u_short *)up));
  695. | ^~~~~~~
  696. | xdr_short
  697. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:97:39: error: expected expression before ')' token
  698. 97 | return (xdr_u_short(xdrs, (u_short *)up));
  699. | ^
  700. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
  701. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  702. | ^~~~~
  703. | int
  704. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:35:51: error: unknown type name 'u_int'
  705. 35 | static bool_t xdrstdio_putbytes(XDR *, caddr_t, u_int );
  706. | ^~~~~
  707. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:36:8: error: unknown type name 'u_long'
  708. 36 | static u_long xdrstdio_getpos(XDR *);
  709. | ^~~~~~
  710. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
  711. 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
  712. | ^~~~~
  713. | int
  714. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'
  715. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  716. | ^~~~~~~
  717. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_long':
  718. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
  719. 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
  720. | ^~~~~
  721. | int
  722. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:131:2: error: unknown type name 'u_long'; did you mean 'long'?
  723. 131 | u_long *ulp;
  724. | ^~~~~~
  725. | long
  726. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:37:40: error: unknown type name 'u_long'; did you mean 'long'?
  727. 37 | static bool_t xdrstdio_setpos(XDR *, u_long);
  728. | ^~~~~~
  729. | long
  730. make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-static.dir/build.make:63: mfhdf/xdr/CMakeFiles/xdr-static.dir/xdr.c.o] Error 1
  731. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
  732. 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
  733. | ^~~~~
  734. | int
  735. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:38:40: error: unknown type name 'u_int'
  736. 38 | static long * xdrstdio_inline(XDR *, u_int);
  737. | ^~~~~
  738. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
  739. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  740. | ^~~~~
  741. | int
  742. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
  743. 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
  744. | ^~~~~
  745. | int
  746. ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
  747. 229 | u_int n_len;
  748. | ^~~~~
  749. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_short':
  750. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:178:2: error: unknown type name 'u_short'; did you mean 'short'?
  751. 178 | u_short *usp;
  752. | ^~~~~~~
  753. | short
  754. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:180:2: error: unknown type name 'u_long'; did you mean 'long'?
  755. 180 | u_long l;
  756. | ^~~~~~
  757. | long
  758. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:47:5: error: 'xdrstdio_getbytes' undeclared here (not in a function); did you mean 'xdrstdio_getpos'?
  759. 47 | xdrstdio_getbytes, /* deserialize counted bytes */
  760. | ^~~~~~~~~~~~~~~~~
  761. | xdrstdio_getpos
  762. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:185:8: error: 'u_long' undeclared (first use in this function)
  763. 185 | l = (u_long) *usp;
  764. | ^~~~~~
  765. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c: In function 'xdr_array':
  766. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:34:2: error: unknown type name 'caddr_t'
  767. 34 | caddr_t *addrp; /* array pointer */
  768. | ^~~~~~~
  769. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:35:2: error: unknown type name 'u_int'
  770. 35 | u_int *sizep; /* number of elements */
  771. | ^~~~~
  772. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:192:11: error: 'u_short' undeclared (first use in this function); did you mean 'xdr_short'?
  773. 192 | *usp = (u_short) l;
  774. | ^~~~~~~
  775. | xdr_short
  776. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:192:19: error: expected ';' before 'l'
  777. 192 | *usp = (u_short) l;
  778. | ^~
  779. | ;
  780. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:36:2: error: unknown type name 'u_int'
  781. 36 | u_int maxsize; /* max numberof elements */
  782. | ^~~~~
  783. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:48:5: error: 'xdrstdio_putbytes' undeclared here (not in a function); did you mean 'xdrstdio_putlong'?
  784. 48 | xdrstdio_putbytes, /* serialize counted bytes */
  785. | ^~~~~~~~~~~~~~~~~
  786. | xdrstdio_putlong
  787. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:49:5: warning: excess elements in struct initializer
  788. 49 | xdrstdio_getpos, /* get offset in the stream */
  789. | ^~~~~~~~~~~~~~~
  790. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:49:5: note: (near initialization for 'xdrstdio_ops')
  791. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_char':
  792. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:37:2: error: unknown type name 'u_int'
  793. 37 | u_int elsize; /* size in bytes of each element */
  794. | ^~~~~
  795. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:228:2: error: unknown type name 'u_int'
  796. 228 | u_int u;
  797. | ^~~~~
  798. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:40:11: error: unknown type name 'u_int'
  799. 40 | register u_int i;
  800. | ^~~~~
  801. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:41:11: error: unknown type name 'caddr_t'
  802. 41 | register caddr_t target = *addrp;
  803. | ^~~~~~~
  804. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:42:11: error: unknown type name 'u_int'
  805. 42 | register u_int c; /* the actual element count */
  806. | ^~~~~
  807. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:44:11: error: unknown type name 'u_int'
  808. 44 | register u_int nodesize;
  809. | ^~~~~
  810. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:50:5: error: 'xdrstdio_setpos' undeclared here (not in a function); did you mean 'xdrstdio_getpos'?
  811. 50 | xdrstdio_setpos, /* set offset in the stream */
  812. | ^~~~~~~~~~~~~~~
  813. | xdrstdio_getpos
  814. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:50:5: warning: excess elements in struct initializer
  815. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:50:5: note: (near initialization for 'xdrstdio_ops')
  816. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:34:42: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
  817. 34 | static bool_t xdrstdio_getbytes(XDR *, caddr_t, u_int );
  818. | ^~~~~~~
  819. | in_addr_t
  820. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:47:8: warning: implicit declaration of function 'xdr_u_int'; did you mean 'xdr_int'? [-Wimplicit-function-declaration]
  821. 47 | if (! xdr_u_int(xdrs, sizep)) {
  822. | ^~~~~~~~~
  823. | xdr_int
  824. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:34:51: error: unknown type name 'u_int'
  825. 34 | static bool_t xdrstdio_getbytes(XDR *, caddr_t, u_int );
  826. | ^~~~~
  827. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_opaque':
  828. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:305:2: error: unknown type name 'caddr_t'
  829. 305 | caddr_t cp;
  830. | ^~~~~~~
  831. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:306:11: error: unknown type name 'u_int'
  832. 306 | register u_int cnt;
  833. | ^~~~~
  834. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:60:13: warning: comparison between pointer and integer
  835. 60 | if (target == NULL)
  836. | ^~
  837. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:308:11: error: unknown type name 'u_int'
  838. 308 | register u_int rndup;
  839. | ^~~~~
  840. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:309:9: warning: type defaults to 'int' in declaration of 'crud' [-Wimplicit-int]
  841. 309 | static crud[BYTES_PER_XDR_UNIT];
  842. | ^~~~
  843. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:65:20: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
  844. 65 | *addrp = target = mem_alloc(nodesize);
  845. | ^
  846. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:66:15: warning: comparison between pointer and integer
  847. 66 | if (target == NULL) {
  848. | ^~
  849. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:71:17: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [-Wint-conversion]
  850. 71 | (void)memset(target, 0, nodesize);
  851. | ^~~~~~
  852. | |
  853. | int
  854. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:16:
  855. /usr/include/string.h:60:14: note: expected 'void *' but argument is of type 'int'
  856. 60 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
  857. | ^~~~~~
  858. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_bytes':
  859. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:358:11: error: unknown type name 'u_int'
  860. 358 | register u_int *sizep;
  861. | ^~~~~
  862. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:18:
  863. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:90:12: warning: passing argument 1 of 'free' makes pointer from integer without a cast [-Wint-conversion]
  864. 90 | mem_free(*addrp, nodesize);
  865. | ^~~~~~
  866. | |
  867. | int
  868. ./HDF4/src/HDF4/mfhdf/xdr/types.h:36:38: note: in definition of macro 'mem_free'
  869. 36 | #define mem_free(ptr, bsize) free(ptr)
  870. | ^~~
  871. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:35:42: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
  872. 35 | static bool_t xdrstdio_putbytes(XDR *, caddr_t, u_int );
  873. | ^~~~~~~
  874. | in_addr_t
  875. In file included from ./HDF4/src/HDF4/mfhdf/xdr/types.h:30,
  876. from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:18:
  877. /usr/include/stdlib.h:565:25: note: expected 'void *' but argument is of type 'int'
  878. 565 | extern void free (void *__ptr) __THROW;
  879. | ~~~~~~^~~~~
  880. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:91:10: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
  881. 91 | *addrp = NULL;
  882. | ^
  883. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c: In function 'xdr_vector':
  884. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:110:11: error: unknown type name 'u_int'
  885. 110 | register u_int nelem;
  886. | ^~~~~
  887. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:111:11: error: unknown type name 'u_int'
  888. 111 | register u_int elemsize;
  889. | ^~~~~
  890. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:114:11: error: unknown type name 'u_int'
  891. 114 | register u_int i;
  892. | ^~~~~
  893. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:35:51: error: unknown type name 'u_int'
  894. 35 | static bool_t xdrstdio_putbytes(XDR *, caddr_t, u_int );
  895. | ^~~~~
  896. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:36:8: error: unknown type name 'u_long'
  897. 36 | static u_long xdrstdio_getpos(XDR *);
  898. | ^~~~~~
  899. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:359:2: error: unknown type name 'u_int'
  900. 359 | u_int maxsize;
  901. | ^~~~~
  902. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:362:11: error: unknown type name 'u_int'
  903. 362 | register u_int nodesize;
  904. | ^~~~~
  905. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:37:40: error: unknown type name 'u_long'; did you mean 'long'?
  906. 37 | static bool_t xdrstdio_setpos(XDR *, u_long);
  907. | ^~~~~~
  908. | long
  909. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:51:5: error: 'xdrstdio_inline' undeclared here (not in a function); did you mean 'xdrstdio_putlong'?
  910. 51 | xdrstdio_inline, /* prime stream for inline macros */
  911. | ^~~~~~~~~~~~~~~
  912. | xdrstdio_putlong
  913. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:51:5: warning: excess elements in struct initializer
  914. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:51:5: note: (near initialization for 'xdrstdio_ops')
  915. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:52:5: warning: excess elements in struct initializer
  916. 52 | xdrstdio_destroy /* destroy stream */
  917. | ^~~~~~~~~~~~~~~~
  918. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:52:5: note: (near initialization for 'xdrstdio_ops')
  919. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_union':
  920. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:24: error: 'u_int' undeclared (first use in this function)
  921. 26 | #define LASTUNSIGNED ((u_int) 0-1)
  922. | ^~~~~
  923. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:453:42: note: in expansion of macro 'LASTUNSIGNED'
  924. 453 | return ((*(choices->proc))(xdrs, unp, LASTUNSIGNED));
  925. | ^~~~~~~~~~~~
  926. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:38:40: error: unknown type name 'u_int'
  927. 38 | static long * xdrstdio_inline(XDR *, u_int);
  928. | ^~~~~
  929. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:31: error: expected ')' before numeric constant
  930. 26 | #define LASTUNSIGNED ((u_int) 0-1)
  931. | ~ ^
  932. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:453:42: note: in expansion of macro 'LASTUNSIGNED'
  933. 453 | return ((*(choices->proc))(xdrs, unp, LASTUNSIGNED));
  934. | ^~~~~~~~~~~~
  935. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:31: error: expected ')' before numeric constant
  936. 26 | #define LASTUNSIGNED ((u_int) 0-1)
  937. | ~ ^
  938. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:460:27: note: in expansion of macro 'LASTUNSIGNED'
  939. 460 | (*dfault)(xdrs, unp, LASTUNSIGNED));
  940. | ^~~~~~~~~~~~
  941. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_string':
  942. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:482:2: error: unknown type name 'u_int'
  943. 482 | u_int maxsize;
  944. | ^~~~~
  945. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:485:2: error: unknown type name 'u_int'
  946. 485 | u_int size;
  947. | ^~~~~
  948. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_create':
  949. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:69:24: error: 'caddr_t' undeclared (first use in this function); did you mean 'in_addr_t'?
  950. 69 | xdrs->x_private = (caddr_t)file;
  951. | ^~~~~~~
  952. | in_addr_t
  953. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:69:24: note: each undeclared identifier is reported only once for each function it appears in
  954. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:69:32: error: expected ';' before 'file'
  955. 69 | xdrs->x_private = (caddr_t)file;
  956. | ^~~~
  957. | ;
  958. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_destroy':
  959. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:82:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  960. 82 | (void)fflush((FILE *)xdrs->x_private);
  961. | ^
  962. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:486:2: error: unknown type name 'u_int'
  963. 486 | u_int nodesize;
  964. | ^~~~~
  965. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:47:5: error: 'xdrstdio_getbytes' undeclared here (not in a function); did you mean 'xdrstdio_getpos'?
  966. 47 | xdrstdio_getbytes, /* deserialize counted bytes */
  967. | ^~~~~~~~~~~~~~~~~
  968. | xdrstdio_getpos
  969. make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-static.dir/build.make:102: mfhdf/xdr/CMakeFiles/xdr-static.dir/xdrarray.c.o] Error 1
  970. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_wrapstring':
  971. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:24: error: 'u_int' undeclared (first use in this function)
  972. 26 | #define LASTUNSIGNED ((u_int) 0-1)
  973. | ^~~~~
  974. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:547:28: note: in expansion of macro 'LASTUNSIGNED'
  975. 547 | if (xdr_string(xdrs, cpp, LASTUNSIGNED)) {
  976. | ^~~~~~~~~~~~
  977. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:31: error: expected ')' before numeric constant
  978. 26 | #define LASTUNSIGNED ((u_int) 0-1)
  979. | ~ ^
  980. ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:547:28: note: in expansion of macro 'LASTUNSIGNED'
  981. 547 | if (xdr_string(xdrs, cpp, LASTUNSIGNED)) {
  982. | ^~~~~~~~~~~~
  983. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_getlong':
  984. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:91:16: error: 'caddr_t' undeclared (first use in this function); did you mean 'in_addr_t'?
  985. 91 | if (fread((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
  986. | ^~~~~~~
  987. | in_addr_t
  988. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:91:24: error: expected ')' before 'lp'
  989. 91 | if (fread((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
  990. | ^~
  991. | )
  992. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:91:9: error: too few arguments to function 'fread'
  993. 91 | if (fread((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
  994. | ^~~~~
  995. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
  996. /usr/include/stdio.h:646:15: note: declared here
  997. 646 | extern size_t fread (void *__restrict __ptr, size_t __size,
  998. | ^~~~~
  999. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:48:5: error: 'xdrstdio_putbytes' undeclared here (not in a function); did you mean 'xdrstdio_putlong'?
  1000. 48 | xdrstdio_putbytes, /* serialize counted bytes */
  1001. | ^~~~~~~~~~~~~~~~~
  1002. | xdrstdio_putlong
  1003. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:49:5: warning: excess elements in struct initializer
  1004. 49 | xdrstdio_getpos, /* get offset in the stream */
  1005. | ^~~~~~~~~~~~~~~
  1006. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:49:5: note: (near initialization for 'xdrstdio_ops')
  1007. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:50:5: error: 'xdrstdio_setpos' undeclared here (not in a function); did you mean 'xdrstdio_getpos'?
  1008. 50 | xdrstdio_setpos, /* set offset in the stream */
  1009. | ^~~~~~~~~~~~~~~
  1010. | xdrstdio_getpos
  1011. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:50:5: warning: excess elements in struct initializer
  1012. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:50:5: note: (near initialization for 'xdrstdio_ops')
  1013. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_putlong':
  1014. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:111:17: error: 'caddr_t' undeclared (first use in this function); did you mean 'in_addr_t'?
  1015. 111 | if (fwrite((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
  1016. | ^~~~~~~
  1017. | in_addr_t
  1018. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:111:25: error: expected ')' before 'lp'
  1019. 111 | if (fwrite((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
  1020. | ^~
  1021. | )
  1022. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:111:9: error: too few arguments to function 'fwrite'
  1023. 111 | if (fwrite((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
  1024. | ^~~~~~
  1025. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
  1026. /usr/include/stdio.h:652:15: note: declared here
  1027. 652 | extern size_t fwrite (const void *__restrict __ptr, size_t __size,
  1028. | ^~~~~~
  1029. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_getbytes':
  1030. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:120:5: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
  1031. 120 | caddr_t addr;
  1032. | ^~~~~~~
  1033. | in_addr_t
  1034. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:51:5: error: 'xdrstdio_inline' undeclared here (not in a function); did you mean 'xdrstdio_putlong'?
  1035. 51 | xdrstdio_inline, /* prime stream for inline macros */
  1036. | ^~~~~~~~~~~~~~~
  1037. | xdrstdio_putlong
  1038. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:51:5: warning: excess elements in struct initializer
  1039. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:51:5: note: (near initialization for 'xdrstdio_ops')
  1040. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:52:5: warning: excess elements in struct initializer
  1041. 52 | xdrstdio_destroy /* destroy stream */
  1042. | ^~~~~~~~~~~~~~~~
  1043. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:52:5: note: (near initialization for 'xdrstdio_ops')
  1044. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:121:5: error: unknown type name 'u_int'
  1045. 121 | u_int len;
  1046. | ^~~~~
  1047. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:124:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1048. 124 | if ((len != 0) && (fread(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
  1049. | ^
  1050. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:124:30: warning: passing argument 1 of 'fread' makes pointer from integer without a cast [-Wint-conversion]
  1051. 124 | if ((len != 0) && (fread(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
  1052. | ^~~~
  1053. | |
  1054. | int
  1055. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
  1056. /usr/include/stdio.h:646:39: note: expected 'void * restrict' but argument is of type 'int'
  1057. 646 | extern size_t fread (void *__restrict __ptr, size_t __size,
  1058. | ~~~~~~~~~~~~~~~~~^~~~~
  1059. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_create':
  1060. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:69:24: error: 'caddr_t' undeclared (first use in this function); did you mean 'in_addr_t'?
  1061. 69 | xdrs->x_private = (caddr_t)file;
  1062. | ^~~~~~~
  1063. | in_addr_t
  1064. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:69:24: note: each undeclared identifier is reported only once for each function it appears in
  1065. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:69:32: error: expected ';' before 'file'
  1066. 69 | xdrs->x_private = (caddr_t)file;
  1067. | ^~~~
  1068. | ;
  1069. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_destroy':
  1070. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:82:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1071. 82 | (void)fflush((FILE *)xdrs->x_private);
  1072. | ^
  1073. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_putbytes':
  1074. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:132:5: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
  1075. 132 | caddr_t addr;
  1076. | ^~~~~~~
  1077. | in_addr_t
  1078. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_getlong':
  1079. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:91:16: error: 'caddr_t' undeclared (first use in this function); did you mean 'in_addr_t'?
  1080. 91 | if (fread((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
  1081. | ^~~~~~~
  1082. | in_addr_t
  1083. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:91:24: error: expected ')' before 'lp'
  1084. 91 | if (fread((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
  1085. | ^~
  1086. | )
  1087. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:91:9: error: too few arguments to function 'fread'
  1088. 91 | if (fread((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
  1089. | ^~~~~
  1090. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:133:5: error: unknown type name 'u_int'
  1091. 133 | u_int len;
  1092. | ^~~~~
  1093. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
  1094. /usr/include/stdio.h:646:15: note: declared here
  1095. 646 | extern size_t fread (void *__restrict __ptr, size_t __size,
  1096. | ^~~~~
  1097. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:136:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1098. 136 | if ((len != 0) && (fwrite(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
  1099. | ^
  1100. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:136:31: warning: passing argument 1 of 'fwrite' makes pointer from integer without a cast [-Wint-conversion]
  1101. 136 | if ((len != 0) && (fwrite(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
  1102. | ^~~~
  1103. | |
  1104. | int
  1105. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
  1106. /usr/include/stdio.h:652:46: note: expected 'const void * restrict' but argument is of type 'int'
  1107. 652 | extern size_t fwrite (const void *__restrict __ptr, size_t __size,
  1108. | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
  1109. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: At top level:
  1110. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:141:8: error: unknown type name 'u_long'
  1111. 141 | static u_long
  1112. | ^~~~~~
  1113. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_putlong':
  1114. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:111:17: error: 'caddr_t' undeclared (first use in this function); did you mean 'in_addr_t'?
  1115. 111 | if (fwrite((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
  1116. | ^~~~~~~
  1117. | in_addr_t
  1118. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:111:25: error: expected ')' before 'lp'
  1119. 111 | if (fwrite((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
  1120. | ^~
  1121. | )
  1122. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:111:9: error: too few arguments to function 'fwrite'
  1123. 111 | if (fwrite((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
  1124. | ^~~~~~
  1125. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
  1126. /usr/include/stdio.h:652:15: note: declared here
  1127. 652 | extern size_t fwrite (const void *__restrict __ptr, size_t __size,
  1128. | ^~~~~~
  1129. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_getpos':
  1130. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:146:14: error: 'u_long' undeclared (first use in this function)
  1131. 146 | return ((u_long)ftell((FILE *)xdrs->x_private));
  1132. | ^~~~~~
  1133. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:146:21: error: expected ')' before 'ftell'
  1134. 146 | return ((u_long)ftell((FILE *)xdrs->x_private));
  1135. | ~ ^~~~~
  1136. | )
  1137. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_getbytes':
  1138. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:120:5: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
  1139. 120 | caddr_t addr;
  1140. | ^~~~~~~
  1141. | in_addr_t
  1142. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:121:5: error: unknown type name 'u_int'
  1143. 121 | u_int len;
  1144. | ^~~~~
  1145. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:124:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1146. 124 | if ((len != 0) && (fread(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
  1147. | ^
  1148. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:124:30: warning: passing argument 1 of 'fread' makes pointer from integer without a cast [-Wint-conversion]
  1149. 124 | if ((len != 0) && (fread(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
  1150. | ^~~~
  1151. | |
  1152. | int
  1153. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
  1154. /usr/include/stdio.h:646:39: note: expected 'void * restrict' but argument is of type 'int'
  1155. 646 | extern size_t fread (void *__restrict __ptr, size_t __size,
  1156. | ~~~~~~~~~~~~~~~~~^~~~~
  1157. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_setpos':
  1158. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:152:5: error: unknown type name 'u_long'; did you mean 'long'?
  1159. 152 | u_long pos;
  1160. | ^~~~~~
  1161. | long
  1162. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:155:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1163. 155 | return ((fseek((FILE *)xdrs->x_private,(long)pos, 0) < 0) ?
  1164. | ^
  1165. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_putbytes':
  1166. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:132:5: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
  1167. 132 | caddr_t addr;
  1168. | ^~~~~~~
  1169. | in_addr_t
  1170. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:133:5: error: unknown type name 'u_int'
  1171. 133 | u_int len;
  1172. | ^~~~~
  1173. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_inline':
  1174. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:136:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1175. 136 | if ((len != 0) && (fwrite(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
  1176. | ^
  1177. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:163:5: error: unknown type name 'u_int'
  1178. 163 | u_int len;
  1179. | ^~~~~
  1180. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:136:31: warning: passing argument 1 of 'fwrite' makes pointer from integer without a cast [-Wint-conversion]
  1181. 136 | if ((len != 0) && (fwrite(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
  1182. | ^~~~
  1183. | |
  1184. | int
  1185. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
  1186. /usr/include/stdio.h:652:46: note: expected 'const void * restrict' but argument is of type 'int'
  1187. 652 | extern size_t fwrite (const void *__restrict __ptr, size_t __size,
  1188. | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
  1189. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: At top level:
  1190. make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-shared.dir/build.make:63: mfhdf/xdr/CMakeFiles/xdr-shared.dir/xdr.c.o] Error 1
  1191. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:141:8: error: unknown type name 'u_long'
  1192. 141 | static u_long
  1193. | ^~~~~~
  1194. make[5]: *** Waiting for unfinished jobs....
  1195. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c: In function 'xdr_array':
  1196. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:34:2: error: unknown type name 'caddr_t'
  1197. 34 | caddr_t *addrp; /* array pointer */
  1198. | ^~~~~~~
  1199. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_getpos':
  1200. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:146:14: error: 'u_long' undeclared (first use in this function)
  1201. 146 | return ((u_long)ftell((FILE *)xdrs->x_private));
  1202. | ^~~~~~
  1203. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:146:21: error: expected ')' before 'ftell'
  1204. 146 | return ((u_long)ftell((FILE *)xdrs->x_private));
  1205. | ~ ^~~~~
  1206. | )
  1207. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:35:2: error: unknown type name 'u_int'
  1208. 35 | u_int *sizep; /* number of elements */
  1209. | ^~~~~
  1210. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:36:2: error: unknown type name 'u_int'
  1211. 36 | u_int maxsize; /* max numberof elements */
  1212. | ^~~~~
  1213. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_setpos':
  1214. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:152:5: error: unknown type name 'u_long'; did you mean 'long'?
  1215. 152 | u_long pos;
  1216. | ^~~~~~
  1217. | long
  1218. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:155:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1219. 155 | return ((fseek((FILE *)xdrs->x_private,(long)pos, 0) < 0) ?
  1220. | ^
  1221. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:37:2: error: unknown type name 'u_int'
  1222. 37 | u_int elsize; /* size in bytes of each element */
  1223. | ^~~~~
  1224. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:40:11: error: unknown type name 'u_int'
  1225. 40 | register u_int i;
  1226. | ^~~~~
  1227. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:41:11: error: unknown type name 'caddr_t'
  1228. 41 | register caddr_t target = *addrp;
  1229. | ^~~~~~~
  1230. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:42:11: error: unknown type name 'u_int'
  1231. 42 | register u_int c; /* the actual element count */
  1232. | ^~~~~
  1233. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:44:11: error: unknown type name 'u_int'
  1234. 44 | register u_int nodesize;
  1235. | ^~~~~
  1236. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_inline':
  1237. ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:163:5: error: unknown type name 'u_int'
  1238. 163 | u_int len;
  1239. | ^~~~~
  1240. make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-static.dir/build.make:89: mfhdf/xdr/CMakeFiles/xdr-static.dir/xdrstdio.c.o] Error 1
  1241. make[4]: *** [CMakeFiles/Makefile2:132: mfhdf/xdr/CMakeFiles/xdr-static.dir/all] Error 2
  1242. make[4]: *** Waiting for unfinished jobs....
  1243. make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-shared.dir/build.make:89: mfhdf/xdr/CMakeFiles/xdr-shared.dir/xdrstdio.c.o] Error 1
  1244. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:47:8: warning: implicit declaration of function 'xdr_u_int'; did you mean 'xdr_int'? [-Wimplicit-function-declaration]
  1245. 47 | if (! xdr_u_int(xdrs, sizep)) {
  1246. | ^~~~~~~~~
  1247. | xdr_int
  1248. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:60:13: warning: comparison between pointer and integer
  1249. 60 | if (target == NULL)
  1250. | ^~
  1251. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:65:20: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
  1252. 65 | *addrp = target = mem_alloc(nodesize);
  1253. | ^
  1254. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:66:15: warning: comparison between pointer and integer
  1255. 66 | if (target == NULL) {
  1256. | ^~
  1257. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:71:17: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [-Wint-conversion]
  1258. 71 | (void)memset(target, 0, nodesize);
  1259. | ^~~~~~
  1260. | |
  1261. | int
  1262. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:16:
  1263. /usr/include/string.h:60:14: note: expected 'void *' but argument is of type 'int'
  1264. 60 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
  1265. | ^~~~~~
  1266. In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:18:
  1267. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:90:12: warning: passing argument 1 of 'free' makes pointer from integer without a cast [-Wint-conversion]
  1268. 90 | mem_free(*addrp, nodesize);
  1269. | ^~~~~~
  1270. | |
  1271. | int
  1272. ./HDF4/src/HDF4/mfhdf/xdr/types.h:36:38: note: in definition of macro 'mem_free'
  1273. 36 | #define mem_free(ptr, bsize) free(ptr)
  1274. | ^~~
  1275. In file included from ./HDF4/src/HDF4/mfhdf/xdr/types.h:30,
  1276. from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:18:
  1277. /usr/include/stdlib.h:565:25: note: expected 'void *' but argument is of type 'int'
  1278. 565 | extern void free (void *__ptr) __THROW;
  1279. | ~~~~~~^~~~~
  1280. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:91:10: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
  1281. 91 | *addrp = NULL;
  1282. | ^
  1283. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c: In function 'xdr_vector':
  1284. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:110:11: error: unknown type name 'u_int'
  1285. 110 | register u_int nelem;
  1286. | ^~~~~
  1287. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:111:11: error: unknown type name 'u_int'
  1288. 111 | register u_int elemsize;
  1289. | ^~~~~
  1290. ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:114:11: error: unknown type name 'u_int'
  1291. 114 | register u_int i;
  1292. | ^~~~~
  1293. make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-shared.dir/build.make:76: mfhdf/xdr/CMakeFiles/xdr-shared.dir/xdrfloat.c.o] Error 1
  1294. make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-shared.dir/build.make:102: mfhdf/xdr/CMakeFiles/xdr-shared.dir/xdrarray.c.o] Error 1
  1295. make[4]: *** [CMakeFiles/Makefile2:100: mfhdf/xdr/CMakeFiles/xdr-shared.dir/all] Error 2
  1296. make[3]: *** [Makefile:130: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement