Re: Error in compilation
Mike Aubury <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <CAGAq4WGLKQeM=36B95+rHc7YnBB9JQCDPYrPHjAyMn5SRJbVdQ@mail.gmail.com> |
Can you try again please? On Sat, 15 Aug 2026, 03:43 Carlos Alberto Correa Fayad via Aubit4gl-discuss, <[email protected]> wrote: > 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 > _______________________________________________ Aubit4gl-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss