Error in last compilation

"Carlos Alberto Correa Fayad" <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <trinity-4da2982a-73d7-42c4-af4f-aefa503ee83a-1557378271272@3c-app-mailcom-lxa11>
Hi all

This error in last compilation

from report.h:9,

from report_xdr.c:6:

/usr/include/netinet/in.h:502:12: note: previous declaration of 'bindresvport' was here

extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __THROW;

^~~~~~~~~~~~

gcc -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H= -I/opt/aubit4glsrc/incl -I/opt/aubit4glsrc -fPI

C -DPIC -I.. -D_NO_FORM_X_H_ -I/usr/include/tirpc -shared -o /opt/aubit4glsrc/plugins-1.5_1/libXDRPACKER_report.so report_xdr.o -ltirpc

/usr/bin/rpcgen npcode.x

gcc -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H= -I/opt/aubit4glsrc/incl -I/opt/aubit4glsrc -fPI

C -DPIC -I.. -D_NO_FORM_X_H_ -I/usr/include/tirpc -Wno-unused -c npcode_xdr.c -o npcode_xdr.o

In file included from npcode.h:9,

from npcode_xdr.c:6:

/usr/include/tirpc/rpc/rpc.h:83:12: warning: redundant redeclaration of 'bindresvport' [-Wredundant-decls]

extern int bindresvport(int, struct sockaddr_in *);

^~~~~~~~~~~~

In file included from /usr/include/tirpc/rpc/rpc.h:40,

from npcode.h:9,

from npcode_xdr.c:6:

/usr/include/netinet/in.h:502:12: note: previous declaration of 'bindresvport' was here

extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __THROW;

^~~~~~~~~~~~

gcc -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H= -I/opt/aubit4glsrc/incl -I/opt/aubit4glsrc -fPI

C -DPIC -I.. -D_NO_FORM_X_H_ -I/usr/include/tirpc -shared -o /opt/aubit4glsrc/plugins-1.5_1/libXDRPACKER_module.so npcode_xdr.o -ltirpc

/usr/bin/rpcgen fgl.x

gcc -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H= -I/opt/aubit4glsrc/incl -I/opt/aubit4glsrc -fPI

C -DPIC -I.. -D_NO_FORM_X_H_ -I/usr/include/tirpc -Wno-unused -c fgl_xdr.c -o fgl_xdr.o

In file included from fgl.h:9,

from fgl_xdr.c:6:

/usr/include/tirpc/rpc/rpc.h:83:12: warning: redundant redeclaration of 'bindresvport' [-Wredundant-decls]

extern int bindresvport(int, struct sockaddr_in *);

^~~~~~~~~~~~

In file included from /usr/include/tirpc/rpc/rpc.h:40,

from fgl.h:9,

from fgl_xdr.c:6:

/usr/include/netinet/in.h:502:12: note: previous declaration of 'bindresvport' was here

extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __THROW;

^~~~~~~~~~~~

gcc -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H= -I/opt/aubit4glsrc/incl -I/opt/aubit4glsrc -fPI

C -DPIC -I.. -D_NO_FORM_X_H_ -I/usr/include/tirpc -shared -o /opt/aubit4glsrc/plugins-1.5_1/libXDRPACKER_module_definition.so fgl_xdr.o -ltirpc

Default targets (/opt/aubit4glsrc/plugins-1.5_1/libDATA_struct_form.so /opt/aubit4glsrc/plugins-1.5_1/libDATA_report.so /opt/aubit4glsrc/plugins-1.5_1/libDATA_module.so /opt/aubit4glsrc/plugins

-1.5_1/libDATA_module_definition.so /opt/aubit4glsrc/plugins-1.5_1/libXDRPACKER_struct_form.so /opt/aubit4glsrc/plugins-1.5_1/libXDRPACKER_report.so /opt/aubit4glsrc/plugins-1.5_1/libXDRPACKER

_module.so /opt/aubit4glsrc/plugins-1.5_1/libXDRPACKER_module_definition.so ) built successfully.

make[1]: Leaving directory '/opt/aubit4glsrc/common/dataio'

Making lib

/usr/bin/make -C lib

make[1]: Entering directory '/opt/aubit4glsrc/lib'

~

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
mak.out (application/octet-stream, 289.1 KB) - not displayed
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.