Error installing aubit4gl on Rocky Linux 8.5

Iwan AB <[email protected]> Sun, 29 Jan 2023 07:55:48 +0700
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAHJCSmKi+YZHvVMQJSjQdsSeGaEJjiE3U85H6kbe7KYEqSpkyg@mail.gmail.com>
Dear Mike,

I got the following error when install aubit4gl 1.6.1 on Rocky Linux 8.5

In file included from form_x_xdr.c:2:
form_x.h:65:3: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
   bool_t xdr_struct_metrics ();
   ^~~~~~
form_x.h:79:3: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
   bool_t xdr_struct_form_field ();
   ^~~~~~
form_x.h:96:3: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
   bool_t xdr_FIELD_ATTRIBUTES_BOOL ();
   ^~~~~~
form_x.h:111:3: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
   bool_t xdr_FA_COLOUR ();
   ^~~~~~
form_x.h:127:3: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
   bool_t xdr_FA_ATTRIBUTES_STRING ();
   ^~~~~~
form_x.h:136:3: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
   bool_t xdr_struct_field_attr_string ();
   ^~~~~~
form_x.h:203:3: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
   bool_t xdr_struct_scr_field ();
   ^~~~~~
form_x.h:214:3: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
   bool_t xdr_struct_tables ();
   ^~~~~~
form_x.h:222:3: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
   bool_t xdr_screen_name ();
   ^~~~~~
form_x.h:237:3: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
   bool_t xdr_struct_screen_record ();
   ^~~~~~
form_x.h:249:3: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
   bool_t xdr_struct_labels ();
   ^~~~~~
form_x.h:336:3: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
   bool_t xdr_struct_form ();
   ^~~~~~
form_x.h:410:17: warning: redundant redeclaration of ‘xdr_struct_metrics’
[-Wredundant-decls]
   extern bool_t xdr_struct_metrics (XDR *, struct_metrics *);
                 ^~~~~~~~~~~~~~~~~~
form_x.h:65:10: note: previous declaration of ‘xdr_struct_metrics’ was here
   bool_t xdr_struct_metrics ();
          ^~~~~~~~~~~~~~~~~~
form_x.h:411:17: warning: redundant redeclaration of
‘xdr_struct_form_field’ [-Wredundant-decls]
   extern bool_t xdr_struct_form_field (XDR *, struct_form_field *);
                 ^~~~~~~~~~~~~~~~~~~~~
form_x.h:79:10: note: previous declaration of ‘xdr_struct_form_field’ was
here
   bool_t xdr_struct_form_field ();
          ^~~~~~~~~~~~~~~~~~~~~
form_x.h:412:17: warning: redundant redeclaration of
‘xdr_FIELD_ATTRIBUTES_BOOL’ [-Wredundant-decls]
   extern bool_t xdr_FIELD_ATTRIBUTES_BOOL (XDR *, FIELD_ATTRIBUTES_BOOL *);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~
form_x.h:96:10: note: previous declaration of ‘xdr_FIELD_ATTRIBUTES_BOOL’
was here
   bool_t xdr_FIELD_ATTRIBUTES_BOOL ();
          ^~~~~~~~~~~~~~~~~~~~~~~~~
form_x.h:413:17: warning: redundant redeclaration of ‘xdr_FA_COLOUR’
[-Wredundant-decls]
   extern bool_t xdr_FA_COLOUR (XDR *, FA_COLOUR *);
                 ^~~~~~~~~~~~~
form_x.h:111:10: note: previous declaration of ‘xdr_FA_COLOUR’ was here
   bool_t xdr_FA_COLOUR ();
          ^~~~~~~~~~~~~
form_x.h:414:17: warning: redundant redeclaration of
‘xdr_FA_ATTRIBUTES_STRING’ [-Wredundant-decls]
   extern bool_t xdr_FA_ATTRIBUTES_STRING (XDR *, FA_ATTRIBUTES_STRING *);
                 ^~~~~~~~~~~~~~~~~~~~~~~~
form_x.h:127:10: note: previous declaration of ‘xdr_FA_ATTRIBUTES_STRING’
was here
   bool_t xdr_FA_ATTRIBUTES_STRING ();
          ^~~~~~~~~~~~~~~~~~~~~~~~
form_x.h:415:17: warning: redundant redeclaration of
‘xdr_struct_field_attr_string’ [-Wredundant-decls]
   extern bool_t xdr_struct_field_attr_string (XDR *,
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
form_x.h:136:10: note: previous declaration of
‘xdr_struct_field_attr_string’ was here
   bool_t xdr_struct_field_attr_string ();
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
form_x.h:418:17: warning: redundant redeclaration of ‘xdr_struct_scr_field’
[-Wredundant-decls]
   extern bool_t xdr_struct_scr_field (XDR *, struct_scr_field *);
                 ^~~~~~~~~~~~~~~~~~~~
form_x.h:203:10: note: previous declaration of ‘xdr_struct_scr_field’ was
here
   bool_t xdr_struct_scr_field ();
          ^~~~~~~~~~~~~~~~~~~~
form_x.h:419:17: warning: redundant redeclaration of ‘xdr_struct_tables’
[-Wredundant-decls]
   extern bool_t xdr_struct_tables (XDR *, struct_tables *);
                 ^~~~~~~~~~~~~~~~~
form_x.h:214:10: note: previous declaration of ‘xdr_struct_tables’ was here
   bool_t xdr_struct_tables ();
          ^~~~~~~~~~~~~~~~~
form_x.h:420:17: warning: redundant redeclaration of ‘xdr_screen_name’
[-Wredundant-decls]
   extern bool_t xdr_screen_name (XDR *, screen_name *);
                 ^~~~~~~~~~~~~~~
form_x.h:222:10: note: previous declaration of ‘xdr_screen_name’ was here
   bool_t xdr_screen_name ();
          ^~~~~~~~~~~~~~~
form_x.h:421:17: warning: redundant redeclaration of
‘xdr_struct_screen_record’ [-Wredundant-decls]
   extern bool_t xdr_struct_screen_record (XDR *, struct_screen_record *);
                 ^~~~~~~~~~~~~~~~~~~~~~~~
form_x.h:237:10: note: previous declaration of ‘xdr_struct_screen_record’
was here
   bool_t xdr_struct_screen_record ();
          ^~~~~~~~~~~~~~~~~~~~~~~~
form_x.h:422:17: warning: redundant redeclaration of ‘xdr_struct_labels’
[-Wredundant-decls]
   extern bool_t xdr_struct_labels (XDR *, struct_labels *);
                 ^~~~~~~~~~~~~~~~~
form_x.h:249:10: note: previous declaration of ‘xdr_struct_labels’ was here
   bool_t xdr_struct_labels ();
          ^~~~~~~~~~~~~~~~~
form_x.h:423:17: warning: redundant redeclaration of ‘xdr_struct_form’
[-Wredundant-decls]
   extern bool_t xdr_struct_form (XDR *, struct_form *);
                 ^~~~~~~~~~~~~~~
form_x.h:336:10: note: previous declaration of ‘xdr_struct_form’ was here
   bool_t xdr_struct_form ();
          ^~~~~~~~~~~~~~~
gmake[1]: *** [Makefile:207: form_x_xdr.o] Error 1
gmake[1]: Leaving directory '/home/aubit4glsrc/common/dataio'
make: *** [Makefile:283: corecompile] Error 2

Any idea what should I do to overcome that? please help...

Thanks in advance,

Iwan

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss