Error in compilation

Carlos Alberto Correa Fayad via Aubit4gl-discuss <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <trinity-8f663ea2-c8c1-4447-b2d2-f208958bba3d-1786761009906@trinity-msg-rest-gmx-mailcom-live-bd65d5bd8-6rwn5>
Hi, all

In last compilation in Debian 13 this eror:

../../tools/no_rpc/cygwin/rpc/svc.h:253:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
253 | extern void rpctest_service ();
| ^~~~~~
../../tools/no_rpc/cygwin/rpc/svc.h:255:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
255 | extern void svc_getreq ();
| ^~~~~~
../../tools/no_rpc/cygwin/rpc/svc.h:256:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
256 | extern void svc_getreqset (); /* takes fdset instead of int */
| ^~~~~~
../../tools/no_rpc/cygwin/rpc/svc.h:257:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
257 | extern void svc_run (); /* never returns */
| ^~~~~~
../../tools/no_rpc/cygwin/rpc/svc.h:271:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
271 | extern SVCXPRT *svcraw_create ();
| ^~~~~~
../../tools/no_rpc/cygwin/rpc/svc.h:276:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
276 | extern SVCXPRT *svcudp_create ();
| ^~~~~~
../../tools/no_rpc/cygwin/rpc/svc.h:277:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
277 | extern SVCXPRT *svcudp_bufcreate ();
| ^~~~~~
../../tools/no_rpc/cygwin/rpc/svc.h:282:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
282 | extern SVCXPRT *svctcp_create ();
| ^~~~~~
In file included from ../../tools/no_rpc/cygwin/rpc/rpc.h:78:
../../tools/no_rpc/cygwin/rpc/svc_auth.h:42:13: warning: function declaration isn't a prototype [-Wstrict-prototypes]
42 | extern enum auth_stat _authenticate ();
| ^~~~~~~~~
form_x_xdr.c: In function 'xdr_struct_metrics':
form_x_xdr.c:15:21: error: assignment to 'int32_t *' {aka 'int *'} from incompatible pointer type 'long int *' [-Wincompatible-pointer-types]
15 | buf = XDR_INLINE (xdrs, 6 * BYTES_PER_XDR_UNIT);
| ^
form_x_xdr.c:40:21: error: assignment to 'int32_t *' {aka 'int *'} from incompatible pointer type 'long int *' [-Wincompatible-pointer-types]
40 | buf = XDR_INLINE (xdrs, 4 * BYTES_PER_XDR_UNIT);
| ^
form_x_xdr.c:58:21: error: assignment to 'int32_t *' {aka 'int *'} from incompatible pointer type 'long int *' [-Wincompatible-pointer-types]
58 | buf = XDR_INLINE (xdrs, 6 * BYTES_PER_XDR_UNIT);
| ^
form_x_xdr.c:83:21: error: assignment to 'int32_t *' {aka 'int *'} from incompatible pointer type 'long int *' [-Wincompatible-pointer-types]
83 | buf = XDR_INLINE (xdrs, 4 * BYTES_PER_XDR_UNIT);
| ^
form_x_xdr.c: In function 'xdr_struct_scr_field':
form_x_xdr.c:264:21: error: assignment to 'int32_t *' {aka 'int *'} from incompatible pointer type 'long int *' [-Wincompatible-pointer-types]
264 | buf = XDR_INLINE (xdrs, (5 + ( 3 )) * BYTES_PER_XDR_UNIT);
| ^
form_x_xdr.c:318:21: error: assignment to 'int32_t *' {aka 'int *'} from incompatible pointer type 'long int *' [-Wincompatible-pointer-types]
318 | buf = XDR_INLINE (xdrs, (5 + ( 3 )) * BYTES_PER_XDR_UNIT);
| ^
form_x_xdr.c: In function 'xdr_struct_labels':
form_x_xdr.c:632:21: error: assignment to 'int32_t *' {aka 'int *'} from incompatible pointer type 'long int *' [-Wincompatible-pointer-types]
632 | buf = XDR_INLINE (xdrs, 4 * BYTES_PER_XDR_UNIT);
| ^
form_x_xdr.c:652:21: error: assignment to 'int32_t *' {aka 'int *'} from incompatible pointer type 'long int *' [-Wincompatible-pointer-types]
652 | buf = XDR_INLINE (xdrs, 4 * BYTES_PER_XDR_UNIT);
| ^
make[1]: *** [Makefile:207: form_x_xdr.o] Error 1
make[1]: Leaving directory '/opt/aubit4glsrc/common/dataio'
make: *** [Makefile:293: corecompile] Error 2

Thanks

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.