Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrfloat.c:20:
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
- 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
- 89 | caddr_t x_public; /* users' data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
- 90 | caddr_t x_private; /* pointer to private data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
- 91 | caddr_t x_base; /* private used for position info */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
- 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
- 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
- | ^~~~~~
- | long
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:19:
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
- 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
- 89 | caddr_t x_public; /* users' data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
- 90 | caddr_t x_private; /* pointer to private data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
- 91 | caddr_t x_base; /* private used for position info */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
- 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
- | ^~~~~~~
- | short
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
- 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
- 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
- | ^~~~~~
- | long
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
- 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
- | ^~~~~~~
- | short
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
- 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
- 229 | u_int n_len;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
- 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
- 229 | u_int n_len;
- | ^~~~~
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:19:
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
- 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
- 89 | caddr_t x_public; /* users' data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
- 90 | caddr_t x_private; /* pointer to private data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
- 91 | caddr_t x_base; /* private used for position info */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
- 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
- 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
- | ^~~~~~
- | long
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
- 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
- | ^~~~~~~
- | short
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:30:
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
- 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
- 89 | caddr_t x_public; /* users' data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
- 90 | caddr_t x_private; /* pointer to private data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
- 91 | caddr_t x_base; /* private used for position info */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
- 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
- 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
- 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
- | ^~~~~~
- | long
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
- 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
- | ^~~~~~~
- | short
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
- 229 | u_int n_len;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~~~
- | in_addr_t
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~~~
- | in_addr_t
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~
- | int
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:30:
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
- 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
- 89 | caddr_t x_public; /* users' data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
- 90 | caddr_t x_private; /* pointer to private data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
- 91 | caddr_t x_base; /* private used for position info */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
- 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
- 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
- 229 | u_int n_len;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
- 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
- | ^~~~~~
- | long
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
- 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
- | ^~~~~~~
- | short
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_int':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:87:2: error: unknown type name 'u_int'
- 87 | u_int *up;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~~~
- | in_addr_t
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:94:14: error: 'u_int' undeclared (first use in this function)
- 94 | if (sizeof (u_int) == sizeof (u_long)) {
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:94:14: note: each undeclared identifier is reported only once for each function it appears in
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:94:32: error: 'u_long' undeclared (first use in this function)
- 94 | if (sizeof (u_int) == sizeof (u_long)) {
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:19:
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
- 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
- 89 | caddr_t x_public; /* users' data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
- 90 | caddr_t x_private; /* pointer to private data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
- 91 | caddr_t x_base; /* private used for position info */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
- 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~~~
- | in_addr_t
- ./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]
- 95 | return (xdr_u_long(xdrs, (u_long *)up));
- | ^~~~~~~~~~
- | xdr_long
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:95:37: error: expected expression before ')' token
- 95 | return (xdr_u_long(xdrs, (u_long *)up));
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
- 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
- | ^~~~~~
- | long
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
- 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
- | ^~~~~~~
- | short
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
- 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
- 229 | u_int n_len;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./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]
- 97 | return (xdr_u_short(xdrs, (u_short *)up));
- | ^~~~~~~~~~~
- | xdr_short
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-static.dir/build.make:76: mfhdf/xdr/CMakeFiles/xdr-static.dir/xdrfloat.c.o] Error 1
- make[5]: *** Waiting for unfinished jobs....
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:97:30: error: 'u_short' undeclared (first use in this function); did you mean 'xdr_short'?
- 97 | return (xdr_u_short(xdrs, (u_short *)up));
- | ^~~~~~~
- | xdr_short
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:97:39: error: expected expression before ')' token
- 97 | return (xdr_u_short(xdrs, (u_short *)up));
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
- 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_long':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:131:2: error: unknown type name 'u_long'; did you mean 'long'?
- 131 | u_long *ulp;
- | ^~~~~~
- | long
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
- 229 | u_int n_len;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_short':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:178:2: error: unknown type name 'u_short'; did you mean 'short'?
- 178 | u_short *usp;
- | ^~~~~~~
- | short
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:180:2: error: unknown type name 'u_long'; did you mean 'long'?
- 180 | u_long l;
- | ^~~~~~
- | long
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:185:8: error: 'u_long' undeclared (first use in this function)
- 185 | l = (u_long) *usp;
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:192:11: error: 'u_short' undeclared (first use in this function); did you mean 'xdr_short'?
- 192 | *usp = (u_short) l;
- | ^~~~~~~
- | xdr_short
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:192:19: error: expected ';' before 'l'
- 192 | *usp = (u_short) l;
- | ^~
- | ;
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_char':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:228:2: error: unknown type name 'u_int'
- 228 | u_int u;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_opaque':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:305:2: error: unknown type name 'caddr_t'
- 305 | caddr_t cp;
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:306:11: error: unknown type name 'u_int'
- 306 | register u_int cnt;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:308:11: error: unknown type name 'u_int'
- 308 | register u_int rndup;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:309:9: warning: type defaults to 'int' in declaration of 'crud' [-Wimplicit-int]
- 309 | static crud[BYTES_PER_XDR_UNIT];
- | ^~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_bytes':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:358:11: error: unknown type name 'u_int'
- 358 | register u_int *sizep;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:359:2: error: unknown type name 'u_int'
- 359 | u_int maxsize;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:362:11: error: unknown type name 'u_int'
- 362 | register u_int nodesize;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_union':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:24: error: 'u_int' undeclared (first use in this function)
- 26 | #define LASTUNSIGNED ((u_int) 0-1)
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:453:42: note: in expansion of macro 'LASTUNSIGNED'
- 453 | return ((*(choices->proc))(xdrs, unp, LASTUNSIGNED));
- | ^~~~~~~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:31: error: expected ')' before numeric constant
- 26 | #define LASTUNSIGNED ((u_int) 0-1)
- | ~ ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:453:42: note: in expansion of macro 'LASTUNSIGNED'
- 453 | return ((*(choices->proc))(xdrs, unp, LASTUNSIGNED));
- | ^~~~~~~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:31: error: expected ')' before numeric constant
- 26 | #define LASTUNSIGNED ((u_int) 0-1)
- | ~ ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:460:27: note: in expansion of macro 'LASTUNSIGNED'
- 460 | (*dfault)(xdrs, unp, LASTUNSIGNED));
- | ^~~~~~~~~~~~
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:19:
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
- 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
- 89 | caddr_t x_public; /* users' data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
- 90 | caddr_t x_private; /* pointer to private data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
- 91 | caddr_t x_base; /* private used for position info */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_string':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:482:2: error: unknown type name 'u_int'
- 482 | u_int maxsize;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:485:2: error: unknown type name 'u_int'
- 485 | u_int size;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_int':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:486:2: error: unknown type name 'u_int'
- 486 | u_int nodesize;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
- 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:87:2: error: unknown type name 'u_int'
- 87 | u_int *up;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
- 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
- | ^~~~~~
- | long
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:94:14: error: 'u_int' undeclared (first use in this function)
- 94 | if (sizeof (u_int) == sizeof (u_long)) {
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:94:14: note: each undeclared identifier is reported only once for each function it appears in
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_wrapstring':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:24: error: 'u_int' undeclared (first use in this function)
- 26 | #define LASTUNSIGNED ((u_int) 0-1)
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:547:28: note: in expansion of macro 'LASTUNSIGNED'
- 547 | if (xdr_string(xdrs, cpp, LASTUNSIGNED)) {
- | ^~~~~~~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:31: error: expected ')' before numeric constant
- 26 | #define LASTUNSIGNED ((u_int) 0-1)
- | ~ ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:547:28: note: in expansion of macro 'LASTUNSIGNED'
- 547 | if (xdr_string(xdrs, cpp, LASTUNSIGNED)) {
- | ^~~~~~~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
- 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
- | ^~~~~~~
- | short
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:94:32: error: 'u_long' undeclared (first use in this function)
- 94 | if (sizeof (u_int) == sizeof (u_long)) {
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrfloat.c:20:
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:84:3: error: expected specifier-qualifier-list before 'u_long'
- 84 | u_long (*x_getpostn)();/* returns bytes off from beginning */
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:89:2: error: unknown type name 'caddr_t'
- 89 | caddr_t x_public; /* users' data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:90:2: error: unknown type name 'caddr_t'
- 90 | caddr_t x_private; /* pointer to private data */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:91:2: error: unknown type name 'caddr_t'
- 91 | caddr_t x_base; /* private used for position info */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- ./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]
- 95 | return (xdr_u_long(xdrs, (u_long *)up));
- | ^~~~~~~~~~
- | xdr_long
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:95:37: error: expected expression before ')' token
- 95 | return (xdr_u_long(xdrs, (u_long *)up));
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:202:35: error: unknown type name 'u_int'; did you mean 'int'?
- 202 | XDRLIBAPI bool_t xdr_u_int(XDR *, u_int *);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:204:36: error: unknown type name 'u_long'; did you mean 'long'?
- 204 | XDRLIBAPI bool_t xdr_u_long(XDR *, u_long *);
- | ^~~~~~
- | long
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:34:42: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
- 34 | static bool_t xdrstdio_getbytes(XDR *, caddr_t, u_int );
- | ^~~~~~~
- | in_addr_t
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
- 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:206:37: error: unknown type name 'u_short'; did you mean 'short'?
- 206 | XDRLIBAPI bool_t xdr_u_short(XDR *, u_short *);
- | ^~~~~~~
- | short
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:34:51: error: unknown type name 'u_int'
- 34 | static bool_t xdrstdio_getbytes(XDR *, caddr_t, u_int );
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./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]
- 97 | return (xdr_u_short(xdrs, (u_short *)up));
- | ^~~~~~~~~~~
- | xdr_short
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:35: error: unknown type name 'caddr_t'
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
- 229 | u_int n_len;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:46: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:55: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:35:42: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
- 35 | static bool_t xdrstdio_putbytes(XDR *, caddr_t, u_int );
- | ^~~~~~~
- | in_addr_t
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:209:62: error: unknown type name 'u_int'; did you mean 'int'?
- 209 | XDRLIBAPI bool_t xdr_array(XDR *, caddr_t *, u_int *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:97:30: error: 'u_short' undeclared (first use in this function); did you mean 'xdr_short'?
- 97 | return (xdr_u_short(xdrs, (u_short *)up));
- | ^~~~~~~
- | xdr_short
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:97:39: error: expected expression before ')' token
- 97 | return (xdr_u_short(xdrs, (u_short *)up));
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:44: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:35:51: error: unknown type name 'u_int'
- 35 | static bool_t xdrstdio_putbytes(XDR *, caddr_t, u_int );
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:36:8: error: unknown type name 'u_long'
- 36 | static u_long xdrstdio_getpos(XDR *);
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:210:53: error: unknown type name 'u_int'; did you mean 'int'?
- 210 | XDRLIBAPI bool_t xdr_bytes(XDR *, char **, u_int *, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:36: error: unknown type name 'caddr_t'
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_long':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:211:46: error: unknown type name 'u_int'; did you mean 'int'?
- 211 | XDRLIBAPI bool_t xdr_opaque(XDR *, caddr_t , u_int );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:131:2: error: unknown type name 'u_long'; did you mean 'long'?
- 131 | u_long *ulp;
- | ^~~~~~
- | long
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:37:40: error: unknown type name 'u_long'; did you mean 'long'?
- 37 | static bool_t xdrstdio_setpos(XDR *, u_long);
- | ^~~~~~
- | long
- make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-static.dir/build.make:63: mfhdf/xdr/CMakeFiles/xdr-static.dir/xdr.c.o] Error 1
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:212:45: error: unknown type name 'u_int'; did you mean 'int'?
- 212 | XDRLIBAPI bool_t xdr_string(XDR *, char **, u_int);
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:38:40: error: unknown type name 'u_int'
- 38 | static long * xdrstdio_inline(XDR *, u_int);
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:44: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:216:51: error: unknown type name 'u_int'; did you mean 'int'?
- 216 | XDRLIBAPI bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t );
- | ^~~~~
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.h:229:2: error: unknown type name 'u_int'
- 229 | u_int n_len;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_short':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:178:2: error: unknown type name 'u_short'; did you mean 'short'?
- 178 | u_short *usp;
- | ^~~~~~~
- | short
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:180:2: error: unknown type name 'u_long'; did you mean 'long'?
- 180 | u_long l;
- | ^~~~~~
- | long
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:47:5: error: 'xdrstdio_getbytes' undeclared here (not in a function); did you mean 'xdrstdio_getpos'?
- 47 | xdrstdio_getbytes, /* deserialize counted bytes */
- | ^~~~~~~~~~~~~~~~~
- | xdrstdio_getpos
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:185:8: error: 'u_long' undeclared (first use in this function)
- 185 | l = (u_long) *usp;
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c: In function 'xdr_array':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:34:2: error: unknown type name 'caddr_t'
- 34 | caddr_t *addrp; /* array pointer */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:35:2: error: unknown type name 'u_int'
- 35 | u_int *sizep; /* number of elements */
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:192:11: error: 'u_short' undeclared (first use in this function); did you mean 'xdr_short'?
- 192 | *usp = (u_short) l;
- | ^~~~~~~
- | xdr_short
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:192:19: error: expected ';' before 'l'
- 192 | *usp = (u_short) l;
- | ^~
- | ;
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:36:2: error: unknown type name 'u_int'
- 36 | u_int maxsize; /* max numberof elements */
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:48:5: error: 'xdrstdio_putbytes' undeclared here (not in a function); did you mean 'xdrstdio_putlong'?
- 48 | xdrstdio_putbytes, /* serialize counted bytes */
- | ^~~~~~~~~~~~~~~~~
- | xdrstdio_putlong
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:49:5: warning: excess elements in struct initializer
- 49 | xdrstdio_getpos, /* get offset in the stream */
- | ^~~~~~~~~~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:49:5: note: (near initialization for 'xdrstdio_ops')
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_u_char':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:37:2: error: unknown type name 'u_int'
- 37 | u_int elsize; /* size in bytes of each element */
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:228:2: error: unknown type name 'u_int'
- 228 | u_int u;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:40:11: error: unknown type name 'u_int'
- 40 | register u_int i;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:41:11: error: unknown type name 'caddr_t'
- 41 | register caddr_t target = *addrp;
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:42:11: error: unknown type name 'u_int'
- 42 | register u_int c; /* the actual element count */
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:44:11: error: unknown type name 'u_int'
- 44 | register u_int nodesize;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:50:5: error: 'xdrstdio_setpos' undeclared here (not in a function); did you mean 'xdrstdio_getpos'?
- 50 | xdrstdio_setpos, /* set offset in the stream */
- | ^~~~~~~~~~~~~~~
- | xdrstdio_getpos
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:50:5: warning: excess elements in struct initializer
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:50:5: note: (near initialization for 'xdrstdio_ops')
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:34:42: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
- 34 | static bool_t xdrstdio_getbytes(XDR *, caddr_t, u_int );
- | ^~~~~~~
- | in_addr_t
- ./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]
- 47 | if (! xdr_u_int(xdrs, sizep)) {
- | ^~~~~~~~~
- | xdr_int
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:34:51: error: unknown type name 'u_int'
- 34 | static bool_t xdrstdio_getbytes(XDR *, caddr_t, u_int );
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_opaque':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:305:2: error: unknown type name 'caddr_t'
- 305 | caddr_t cp;
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:306:11: error: unknown type name 'u_int'
- 306 | register u_int cnt;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:60:13: warning: comparison between pointer and integer
- 60 | if (target == NULL)
- | ^~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:308:11: error: unknown type name 'u_int'
- 308 | register u_int rndup;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:309:9: warning: type defaults to 'int' in declaration of 'crud' [-Wimplicit-int]
- 309 | static crud[BYTES_PER_XDR_UNIT];
- | ^~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:65:20: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
- 65 | *addrp = target = mem_alloc(nodesize);
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:66:15: warning: comparison between pointer and integer
- 66 | if (target == NULL) {
- | ^~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:71:17: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [-Wint-conversion]
- 71 | (void)memset(target, 0, nodesize);
- | ^~~~~~
- | |
- | int
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:16:
- /usr/include/string.h:60:14: note: expected 'void *' but argument is of type 'int'
- 60 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_bytes':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:358:11: error: unknown type name 'u_int'
- 358 | register u_int *sizep;
- | ^~~~~
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:18:
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:90:12: warning: passing argument 1 of 'free' makes pointer from integer without a cast [-Wint-conversion]
- 90 | mem_free(*addrp, nodesize);
- | ^~~~~~
- | |
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/types.h:36:38: note: in definition of macro 'mem_free'
- 36 | #define mem_free(ptr, bsize) free(ptr)
- | ^~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:35:42: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
- 35 | static bool_t xdrstdio_putbytes(XDR *, caddr_t, u_int );
- | ^~~~~~~
- | in_addr_t
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/types.h:30,
- from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:18:
- /usr/include/stdlib.h:565:25: note: expected 'void *' but argument is of type 'int'
- 565 | extern void free (void *__ptr) __THROW;
- | ~~~~~~^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:91:10: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
- 91 | *addrp = NULL;
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c: In function 'xdr_vector':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:110:11: error: unknown type name 'u_int'
- 110 | register u_int nelem;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:111:11: error: unknown type name 'u_int'
- 111 | register u_int elemsize;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:114:11: error: unknown type name 'u_int'
- 114 | register u_int i;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:35:51: error: unknown type name 'u_int'
- 35 | static bool_t xdrstdio_putbytes(XDR *, caddr_t, u_int );
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:36:8: error: unknown type name 'u_long'
- 36 | static u_long xdrstdio_getpos(XDR *);
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:359:2: error: unknown type name 'u_int'
- 359 | u_int maxsize;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:362:11: error: unknown type name 'u_int'
- 362 | register u_int nodesize;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:37:40: error: unknown type name 'u_long'; did you mean 'long'?
- 37 | static bool_t xdrstdio_setpos(XDR *, u_long);
- | ^~~~~~
- | long
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:51:5: error: 'xdrstdio_inline' undeclared here (not in a function); did you mean 'xdrstdio_putlong'?
- 51 | xdrstdio_inline, /* prime stream for inline macros */
- | ^~~~~~~~~~~~~~~
- | xdrstdio_putlong
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:51:5: warning: excess elements in struct initializer
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:51:5: note: (near initialization for 'xdrstdio_ops')
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:52:5: warning: excess elements in struct initializer
- 52 | xdrstdio_destroy /* destroy stream */
- | ^~~~~~~~~~~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:52:5: note: (near initialization for 'xdrstdio_ops')
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_union':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:24: error: 'u_int' undeclared (first use in this function)
- 26 | #define LASTUNSIGNED ((u_int) 0-1)
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:453:42: note: in expansion of macro 'LASTUNSIGNED'
- 453 | return ((*(choices->proc))(xdrs, unp, LASTUNSIGNED));
- | ^~~~~~~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:38:40: error: unknown type name 'u_int'
- 38 | static long * xdrstdio_inline(XDR *, u_int);
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:31: error: expected ')' before numeric constant
- 26 | #define LASTUNSIGNED ((u_int) 0-1)
- | ~ ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:453:42: note: in expansion of macro 'LASTUNSIGNED'
- 453 | return ((*(choices->proc))(xdrs, unp, LASTUNSIGNED));
- | ^~~~~~~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:31: error: expected ')' before numeric constant
- 26 | #define LASTUNSIGNED ((u_int) 0-1)
- | ~ ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:460:27: note: in expansion of macro 'LASTUNSIGNED'
- 460 | (*dfault)(xdrs, unp, LASTUNSIGNED));
- | ^~~~~~~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_string':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:482:2: error: unknown type name 'u_int'
- 482 | u_int maxsize;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:485:2: error: unknown type name 'u_int'
- 485 | u_int size;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_create':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:69:24: error: 'caddr_t' undeclared (first use in this function); did you mean 'in_addr_t'?
- 69 | xdrs->x_private = (caddr_t)file;
- | ^~~~~~~
- | in_addr_t
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:69:24: note: each undeclared identifier is reported only once for each function it appears in
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:69:32: error: expected ';' before 'file'
- 69 | xdrs->x_private = (caddr_t)file;
- | ^~~~
- | ;
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_destroy':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:82:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- 82 | (void)fflush((FILE *)xdrs->x_private);
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:486:2: error: unknown type name 'u_int'
- 486 | u_int nodesize;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:47:5: error: 'xdrstdio_getbytes' undeclared here (not in a function); did you mean 'xdrstdio_getpos'?
- 47 | xdrstdio_getbytes, /* deserialize counted bytes */
- | ^~~~~~~~~~~~~~~~~
- | xdrstdio_getpos
- make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-static.dir/build.make:102: mfhdf/xdr/CMakeFiles/xdr-static.dir/xdrarray.c.o] Error 1
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c: In function 'xdr_wrapstring':
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:24: error: 'u_int' undeclared (first use in this function)
- 26 | #define LASTUNSIGNED ((u_int) 0-1)
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:547:28: note: in expansion of macro 'LASTUNSIGNED'
- 547 | if (xdr_string(xdrs, cpp, LASTUNSIGNED)) {
- | ^~~~~~~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:26:31: error: expected ')' before numeric constant
- 26 | #define LASTUNSIGNED ((u_int) 0-1)
- | ~ ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdr.c:547:28: note: in expansion of macro 'LASTUNSIGNED'
- 547 | if (xdr_string(xdrs, cpp, LASTUNSIGNED)) {
- | ^~~~~~~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_getlong':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:91:16: error: 'caddr_t' undeclared (first use in this function); did you mean 'in_addr_t'?
- 91 | if (fread((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
- | ^~~~~~~
- | in_addr_t
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:91:24: error: expected ')' before 'lp'
- 91 | if (fread((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
- | ^~
- | )
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:91:9: error: too few arguments to function 'fread'
- 91 | if (fread((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
- | ^~~~~
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
- /usr/include/stdio.h:646:15: note: declared here
- 646 | extern size_t fread (void *__restrict __ptr, size_t __size,
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:48:5: error: 'xdrstdio_putbytes' undeclared here (not in a function); did you mean 'xdrstdio_putlong'?
- 48 | xdrstdio_putbytes, /* serialize counted bytes */
- | ^~~~~~~~~~~~~~~~~
- | xdrstdio_putlong
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:49:5: warning: excess elements in struct initializer
- 49 | xdrstdio_getpos, /* get offset in the stream */
- | ^~~~~~~~~~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:49:5: note: (near initialization for 'xdrstdio_ops')
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:50:5: error: 'xdrstdio_setpos' undeclared here (not in a function); did you mean 'xdrstdio_getpos'?
- 50 | xdrstdio_setpos, /* set offset in the stream */
- | ^~~~~~~~~~~~~~~
- | xdrstdio_getpos
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:50:5: warning: excess elements in struct initializer
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:50:5: note: (near initialization for 'xdrstdio_ops')
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_putlong':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:111:17: error: 'caddr_t' undeclared (first use in this function); did you mean 'in_addr_t'?
- 111 | if (fwrite((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
- | ^~~~~~~
- | in_addr_t
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:111:25: error: expected ')' before 'lp'
- 111 | if (fwrite((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
- | ^~
- | )
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:111:9: error: too few arguments to function 'fwrite'
- 111 | if (fwrite((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
- | ^~~~~~
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
- /usr/include/stdio.h:652:15: note: declared here
- 652 | extern size_t fwrite (const void *__restrict __ptr, size_t __size,
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_getbytes':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:120:5: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
- 120 | caddr_t addr;
- | ^~~~~~~
- | in_addr_t
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:51:5: error: 'xdrstdio_inline' undeclared here (not in a function); did you mean 'xdrstdio_putlong'?
- 51 | xdrstdio_inline, /* prime stream for inline macros */
- | ^~~~~~~~~~~~~~~
- | xdrstdio_putlong
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:51:5: warning: excess elements in struct initializer
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:51:5: note: (near initialization for 'xdrstdio_ops')
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:52:5: warning: excess elements in struct initializer
- 52 | xdrstdio_destroy /* destroy stream */
- | ^~~~~~~~~~~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:52:5: note: (near initialization for 'xdrstdio_ops')
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:121:5: error: unknown type name 'u_int'
- 121 | u_int len;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:124:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- 124 | if ((len != 0) && (fread(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:124:30: warning: passing argument 1 of 'fread' makes pointer from integer without a cast [-Wint-conversion]
- 124 | if ((len != 0) && (fread(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
- | ^~~~
- | |
- | int
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
- /usr/include/stdio.h:646:39: note: expected 'void * restrict' but argument is of type 'int'
- 646 | extern size_t fread (void *__restrict __ptr, size_t __size,
- | ~~~~~~~~~~~~~~~~~^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_create':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:69:24: error: 'caddr_t' undeclared (first use in this function); did you mean 'in_addr_t'?
- 69 | xdrs->x_private = (caddr_t)file;
- | ^~~~~~~
- | in_addr_t
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:69:24: note: each undeclared identifier is reported only once for each function it appears in
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:69:32: error: expected ';' before 'file'
- 69 | xdrs->x_private = (caddr_t)file;
- | ^~~~
- | ;
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_destroy':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:82:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- 82 | (void)fflush((FILE *)xdrs->x_private);
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_putbytes':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:132:5: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
- 132 | caddr_t addr;
- | ^~~~~~~
- | in_addr_t
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_getlong':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:91:16: error: 'caddr_t' undeclared (first use in this function); did you mean 'in_addr_t'?
- 91 | if (fread((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
- | ^~~~~~~
- | in_addr_t
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:91:24: error: expected ')' before 'lp'
- 91 | if (fread((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
- | ^~
- | )
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:91:9: error: too few arguments to function 'fread'
- 91 | if (fread((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:133:5: error: unknown type name 'u_int'
- 133 | u_int len;
- | ^~~~~
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
- /usr/include/stdio.h:646:15: note: declared here
- 646 | extern size_t fread (void *__restrict __ptr, size_t __size,
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:136:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- 136 | if ((len != 0) && (fwrite(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:136:31: warning: passing argument 1 of 'fwrite' makes pointer from integer without a cast [-Wint-conversion]
- 136 | if ((len != 0) && (fwrite(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
- | ^~~~
- | |
- | int
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
- /usr/include/stdio.h:652:46: note: expected 'const void * restrict' but argument is of type 'int'
- 652 | extern size_t fwrite (const void *__restrict __ptr, size_t __size,
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: At top level:
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:141:8: error: unknown type name 'u_long'
- 141 | static u_long
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_putlong':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:111:17: error: 'caddr_t' undeclared (first use in this function); did you mean 'in_addr_t'?
- 111 | if (fwrite((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
- | ^~~~~~~
- | in_addr_t
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:111:25: error: expected ')' before 'lp'
- 111 | if (fwrite((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
- | ^~
- | )
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:111:9: error: too few arguments to function 'fwrite'
- 111 | if (fwrite((caddr_t)lp, sizeof(long), 1, (FILE *)xdrs->x_private) != 1)
- | ^~~~~~
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
- /usr/include/stdio.h:652:15: note: declared here
- 652 | extern size_t fwrite (const void *__restrict __ptr, size_t __size,
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_getpos':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:146:14: error: 'u_long' undeclared (first use in this function)
- 146 | return ((u_long)ftell((FILE *)xdrs->x_private));
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:146:21: error: expected ')' before 'ftell'
- 146 | return ((u_long)ftell((FILE *)xdrs->x_private));
- | ~ ^~~~~
- | )
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_getbytes':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:120:5: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
- 120 | caddr_t addr;
- | ^~~~~~~
- | in_addr_t
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:121:5: error: unknown type name 'u_int'
- 121 | u_int len;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:124:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- 124 | if ((len != 0) && (fread(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:124:30: warning: passing argument 1 of 'fread' makes pointer from integer without a cast [-Wint-conversion]
- 124 | if ((len != 0) && (fread(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
- | ^~~~
- | |
- | int
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
- /usr/include/stdio.h:646:39: note: expected 'void * restrict' but argument is of type 'int'
- 646 | extern size_t fread (void *__restrict __ptr, size_t __size,
- | ~~~~~~~~~~~~~~~~~^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_setpos':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:152:5: error: unknown type name 'u_long'; did you mean 'long'?
- 152 | u_long pos;
- | ^~~~~~
- | long
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:155:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- 155 | return ((fseek((FILE *)xdrs->x_private,(long)pos, 0) < 0) ?
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_putbytes':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:132:5: error: unknown type name 'caddr_t'; did you mean 'in_addr_t'?
- 132 | caddr_t addr;
- | ^~~~~~~
- | in_addr_t
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:133:5: error: unknown type name 'u_int'
- 133 | u_int len;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_inline':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:136:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- 136 | if ((len != 0) && (fwrite(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:163:5: error: unknown type name 'u_int'
- 163 | u_int len;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:136:31: warning: passing argument 1 of 'fwrite' makes pointer from integer without a cast [-Wint-conversion]
- 136 | if ((len != 0) && (fwrite(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
- | ^~~~
- | |
- | int
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:16:
- /usr/include/stdio.h:652:46: note: expected 'const void * restrict' but argument is of type 'int'
- 652 | extern size_t fwrite (const void *__restrict __ptr, size_t __size,
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: At top level:
- make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-shared.dir/build.make:63: mfhdf/xdr/CMakeFiles/xdr-shared.dir/xdr.c.o] Error 1
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:141:8: error: unknown type name 'u_long'
- 141 | static u_long
- | ^~~~~~
- make[5]: *** Waiting for unfinished jobs....
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c: In function 'xdr_array':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:34:2: error: unknown type name 'caddr_t'
- 34 | caddr_t *addrp; /* array pointer */
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_getpos':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:146:14: error: 'u_long' undeclared (first use in this function)
- 146 | return ((u_long)ftell((FILE *)xdrs->x_private));
- | ^~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:146:21: error: expected ')' before 'ftell'
- 146 | return ((u_long)ftell((FILE *)xdrs->x_private));
- | ~ ^~~~~
- | )
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:35:2: error: unknown type name 'u_int'
- 35 | u_int *sizep; /* number of elements */
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:36:2: error: unknown type name 'u_int'
- 36 | u_int maxsize; /* max numberof elements */
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_setpos':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:152:5: error: unknown type name 'u_long'; did you mean 'long'?
- 152 | u_long pos;
- | ^~~~~~
- | long
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:155:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- 155 | return ((fseek((FILE *)xdrs->x_private,(long)pos, 0) < 0) ?
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:37:2: error: unknown type name 'u_int'
- 37 | u_int elsize; /* size in bytes of each element */
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:40:11: error: unknown type name 'u_int'
- 40 | register u_int i;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:41:11: error: unknown type name 'caddr_t'
- 41 | register caddr_t target = *addrp;
- | ^~~~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:42:11: error: unknown type name 'u_int'
- 42 | register u_int c; /* the actual element count */
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:44:11: error: unknown type name 'u_int'
- 44 | register u_int nodesize;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c: In function 'xdrstdio_inline':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrstdio.c:163:5: error: unknown type name 'u_int'
- 163 | u_int len;
- | ^~~~~
- make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-static.dir/build.make:89: mfhdf/xdr/CMakeFiles/xdr-static.dir/xdrstdio.c.o] Error 1
- make[4]: *** [CMakeFiles/Makefile2:132: mfhdf/xdr/CMakeFiles/xdr-static.dir/all] Error 2
- make[4]: *** Waiting for unfinished jobs....
- make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-shared.dir/build.make:89: mfhdf/xdr/CMakeFiles/xdr-shared.dir/xdrstdio.c.o] Error 1
- ./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]
- 47 | if (! xdr_u_int(xdrs, sizep)) {
- | ^~~~~~~~~
- | xdr_int
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:60:13: warning: comparison between pointer and integer
- 60 | if (target == NULL)
- | ^~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:65:20: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
- 65 | *addrp = target = mem_alloc(nodesize);
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:66:15: warning: comparison between pointer and integer
- 66 | if (target == NULL) {
- | ^~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:71:17: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [-Wint-conversion]
- 71 | (void)memset(target, 0, nodesize);
- | ^~~~~~
- | |
- | int
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:16:
- /usr/include/string.h:60:14: note: expected 'void *' but argument is of type 'int'
- 60 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
- | ^~~~~~
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:18:
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:90:12: warning: passing argument 1 of 'free' makes pointer from integer without a cast [-Wint-conversion]
- 90 | mem_free(*addrp, nodesize);
- | ^~~~~~
- | |
- | int
- ./HDF4/src/HDF4/mfhdf/xdr/types.h:36:38: note: in definition of macro 'mem_free'
- 36 | #define mem_free(ptr, bsize) free(ptr)
- | ^~~
- In file included from ./HDF4/src/HDF4/mfhdf/xdr/types.h:30,
- from ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:18:
- /usr/include/stdlib.h:565:25: note: expected 'void *' but argument is of type 'int'
- 565 | extern void free (void *__ptr) __THROW;
- | ~~~~~~^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:91:10: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
- 91 | *addrp = NULL;
- | ^
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c: In function 'xdr_vector':
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:110:11: error: unknown type name 'u_int'
- 110 | register u_int nelem;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:111:11: error: unknown type name 'u_int'
- 111 | register u_int elemsize;
- | ^~~~~
- ./HDF4/src/HDF4/mfhdf/xdr/xdrarray.c:114:11: error: unknown type name 'u_int'
- 114 | register u_int i;
- | ^~~~~
- make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-shared.dir/build.make:76: mfhdf/xdr/CMakeFiles/xdr-shared.dir/xdrfloat.c.o] Error 1
- make[5]: *** [mfhdf/xdr/CMakeFiles/xdr-shared.dir/build.make:102: mfhdf/xdr/CMakeFiles/xdr-shared.dir/xdrarray.c.o] Error 1
- make[4]: *** [CMakeFiles/Makefile2:100: mfhdf/xdr/CMakeFiles/xdr-shared.dir/all] Error 2
- make[3]: *** [Makefile:130: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement