Re: Error installing aubit4gl 1.5.3 on centos 7

Iwan AB <[email protected]> Mon, 4 Apr 2022 12:54:01 +0700
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAHJCSmLNzcYYDKd_88YDspr-P2jigE+PeC3+j3PRt6WOWOxRYw@mail.gmail.com>
Hi Mike,

Compiling from source aubit4glsrc.1.5.3.tar solved the problems.

Thanks.

Regards,

Iwan Abu Bakar


<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Mon, Apr 4, 2022 at 11:20 AM Iwan AB <[email protected]> wrote:

> Dear Mike,
>
> I have the following error when installing aubit4gl 1.5.3 on centos 7
>
> Building: /home/aubit4gl/plugins-1.5_3/libFORM_XDR.so
> gcc -I..  -L/usr/local/lib -I../../../common/dataio  -Wall
> -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes
> -Wstrict-prototypes -g  -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H=
> -I/home/aubit4gl/incl -I/home/aubit4gl  -fPIC -DPIC
> -I../../../common/dataio   -c -o readforms.o readforms.c
> In file included from a4gl_lib_form_xdr_int.h:21:0,
>                  from readforms.c:46:
> ../../../common/dataio/form_x.h:65:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_metrics ();
>    ^
> ../../../common/dataio/form_x.h:79:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_form_field ();
>    ^
> ../../../common/dataio/form_x.h:96:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_FIELD_ATTRIBUTES_BOOL ();
>    ^
> ../../../common/dataio/form_x.h:111:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_FA_COLOUR ();
>    ^
> ../../../common/dataio/form_x.h:127:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_FA_ATTRIBUTES_STRING ();
>    ^
> ../../../common/dataio/form_x.h:136:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_field_attr_string ();
>    ^
> ../../../common/dataio/form_x.h:203:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_scr_field ();
>    ^
> ../../../common/dataio/form_x.h:214:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_tables ();
>    ^
> ../../../common/dataio/form_x.h:222:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_screen_name ();
>    ^
> ../../../common/dataio/form_x.h:237:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_screen_record ();
>    ^
> ../../../common/dataio/form_x.h:249:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_labels ();
>    ^
> ../../../common/dataio/form_x.h:336:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_form ();
>    ^
> ../../../common/dataio/form_x.h:410:17: warning: redundant redeclaration
> of âxdr_struct_metricsâ [-Wredundant-decls]
>    extern bool_t xdr_struct_metrics (XDR *, struct_metrics *);
>                  ^
> ../../../common/dataio/form_x.h:65:10: note: previous declaration of
> âxdr_struct_metricsâ was here
>    bool_t xdr_struct_metrics ();
>           ^
> ../../../common/dataio/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 *);
>                  ^
> ../../../common/dataio/form_x.h:79:10: note: previous declaration of
> âxdr_struct_form_fieldâ was here
>    bool_t xdr_struct_form_field ();
>           ^
> ../../../common/dataio/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
> *);
>                  ^
> ../../../common/dataio/form_x.h:96:10: note: previous declaration of
> âxdr_FIELD_ATTRIBUTES_BOOLâ was here
>    bool_t xdr_FIELD_ATTRIBUTES_BOOL ();
>           ^
> ../../../common/dataio/form_x.h:413:17: warning: redundant redeclaration
> of âxdr_FA_COLOURâ [-Wredundant-decls]
>    extern bool_t xdr_FA_COLOUR (XDR *, FA_COLOUR *);
>                  ^
> ../../../common/dataio/form_x.h:111:10: note: previous declaration of
> âxdr_FA_COLOURâ was here
>    bool_t xdr_FA_COLOUR ();
>           ^
> ../../../common/dataio/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 *);
>                  ^
> ../../../common/dataio/form_x.h:127:10: note: previous declaration of
> âxdr_FA_ATTRIBUTES_STRINGâ was here
>    bool_t xdr_FA_ATTRIBUTES_STRING ();
>           ^
> ../../../common/dataio/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 *,
>                  ^
> ../../../common/dataio/form_x.h:136:10: note: previous declaration of
> âxdr_struct_field_attr_stringâ was here
>    bool_t xdr_struct_field_attr_string ();
>           ^
> ../../../common/dataio/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 *);
>                  ^
> ../../../common/dataio/form_x.h:203:10: note: previous declaration of
> âxdr_struct_scr_fieldâ was here
>    bool_t xdr_struct_scr_field ();
>           ^
> ../../../common/dataio/form_x.h:419:17: warning: redundant redeclaration
> of âxdr_struct_tablesâ [-Wredundant-decls]
>    extern bool_t xdr_struct_tables (XDR *, struct_tables *);
>                  ^
> ../../../common/dataio/form_x.h:214:10: note: previous declaration of
> âxdr_struct_tablesâ was here
>    bool_t xdr_struct_tables ();
>           ^
> ../../../common/dataio/form_x.h:420:17: warning: redundant redeclaration
> of âxdr_screen_nameâ [-Wredundant-decls]
>    extern bool_t xdr_screen_name (XDR *, screen_name *);
>                  ^
> ../../../common/dataio/form_x.h:222:10: note: previous declaration of
> âxdr_screen_nameâ was here
>    bool_t xdr_screen_name ();
>           ^
> ../../../common/dataio/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 *);
>                  ^
> ../../../common/dataio/form_x.h:237:10: note: previous declaration of
> âxdr_struct_screen_recordâ was here
>    bool_t xdr_struct_screen_record ();
>           ^
> ../../../common/dataio/form_x.h:422:17: warning: redundant redeclaration
> of âxdr_struct_labelsâ [-Wredundant-decls]
>    extern bool_t xdr_struct_labels (XDR *, struct_labels *);
>                  ^
> ../../../common/dataio/form_x.h:249:10: note: previous declaration of
> âxdr_struct_labelsâ was here
>    bool_t xdr_struct_labels ();
>           ^
> ../../../common/dataio/form_x.h:423:17: warning: redundant redeclaration
> of âxdr_struct_formâ [-Wredundant-decls]
>    extern bool_t xdr_struct_form (XDR *, struct_form *);
>                  ^
> ../../../common/dataio/form_x.h:336:10: note: previous declaration of
> âxdr_struct_formâ was here
>    bool_t xdr_struct_form ();
>           ^
> gcc -I..  -L/usr/local/lib -I../../../common/dataio  -Wall
> -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes
> -Wstrict-prototypes -g  -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H=
> -I/home/aubit4gl/incl -I/home/aubit4gl  -fPIC -DPIC
> -I../../../common/dataio   -c -o formwrite2.o formwrite2.c
> In file included from a4gl_lib_form_xdr_int.h:21:0,
>                  from formwrite2.c:43:
> ../../../common/dataio/form_x.h:65:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_metrics ();
>    ^
> ../../../common/dataio/form_x.h:79:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_form_field ();
>    ^
> ../../../common/dataio/form_x.h:96:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_FIELD_ATTRIBUTES_BOOL ();
>    ^
> ../../../common/dataio/form_x.h:111:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_FA_COLOUR ();
>    ^
> ../../../common/dataio/form_x.h:127:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_FA_ATTRIBUTES_STRING ();
>    ^
> ../../../common/dataio/form_x.h:136:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_field_attr_string ();
>    ^
> ../../../common/dataio/form_x.h:203:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_scr_field ();
>    ^
> ../../../common/dataio/form_x.h:214:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_tables ();
>    ^
> ../../../common/dataio/form_x.h:222:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_screen_name ();
>    ^
> ../../../common/dataio/form_x.h:237:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_screen_record ();
>    ^
> ../../../common/dataio/form_x.h:249:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_labels ();
>    ^
> ../../../common/dataio/form_x.h:336:3: warning: function declaration isnât
> a prototype [-Wstrict-prototypes]
>    bool_t xdr_struct_form ();
>    ^
> ../../../common/dataio/form_x.h:410:17: warning: redundant redeclaration
> of âxdr_struct_metricsâ [-Wredundant-decls]
>    extern bool_t xdr_struct_metrics (XDR *, struct_metrics *);
>                  ^
> ../../../common/dataio/form_x.h:65:10: note: previous declaration of
> âxdr_struct_metricsâ was here
>    bool_t xdr_struct_metrics ();
>           ^
> ../../../common/dataio/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 *);
>                  ^
> ../../../common/dataio/form_x.h:79:10: note: previous declaration of
> âxdr_struct_form_fieldâ was here
>    bool_t xdr_struct_form_field ();
>           ^
> ../../../common/dataio/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
> *);
>                  ^
> ../../../common/dataio/form_x.h:96:10: note: previous declaration of
> âxdr_FIELD_ATTRIBUTES_BOOLâ was here
>    bool_t xdr_FIELD_ATTRIBUTES_BOOL ();
>           ^
> ../../../common/dataio/form_x.h:413:17: warning: redundant redeclaration
> of âxdr_FA_COLOURâ [-Wredundant-decls]
>    extern bool_t xdr_FA_COLOUR (XDR *, FA_COLOUR *);
>                  ^
> ../../../common/dataio/form_x.h:111:10: note: previous declaration of
> âxdr_FA_COLOURâ was here
>    bool_t xdr_FA_COLOUR ();
>           ^
> ../../../common/dataio/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 *);
>                  ^
> ../../../common/dataio/form_x.h:127:10: note: previous declaration of
> âxdr_FA_ATTRIBUTES_STRINGâ was here
>    bool_t xdr_FA_ATTRIBUTES_STRING ();
>           ^
> ../../../common/dataio/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 *,
>                  ^
> ../../../common/dataio/form_x.h:136:10: note: previous declaration of
> âxdr_struct_field_attr_stringâ was here
>    bool_t xdr_struct_field_attr_string ();
>           ^
> ../../../common/dataio/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 *);
>                  ^
> ../../../common/dataio/form_x.h:203:10: note: previous declaration of
> âxdr_struct_scr_fieldâ was here
>    bool_t xdr_struct_scr_field ();
>           ^
> ../../../common/dataio/form_x.h:419:17: warning: redundant redeclaration
> of âxdr_struct_tablesâ [-Wredundant-decls]
>    extern bool_t xdr_struct_tables (XDR *, struct_tables *);
>                  ^
> ../../../common/dataio/form_x.h:214:10: note: previous declaration of
> âxdr_struct_tablesâ was here
>    bool_t xdr_struct_tables ();
>           ^
> ../../../common/dataio/form_x.h:420:17: warning: redundant redeclaration
> of âxdr_screen_nameâ [-Wredundant-decls]
>    extern bool_t xdr_screen_name (XDR *, screen_name *);
>                  ^
> ../../../common/dataio/form_x.h:222:10: note: previous declaration of
> âxdr_screen_nameâ was here
>    bool_t xdr_screen_name ();
>           ^
> ../../../common/dataio/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 *);
>                  ^
> ../../../common/dataio/form_x.h:237:10: note: previous declaration of
> âxdr_struct_screen_recordâ was here
>    bool_t xdr_struct_screen_record ();
>           ^
> ../../../common/dataio/form_x.h:422:17: warning: redundant redeclaration
> of âxdr_struct_labelsâ [-Wredundant-decls]
>    extern bool_t xdr_struct_labels (XDR *, struct_labels *);
>                  ^
> ../../../common/dataio/form_x.h:249:10: note: previous declaration of
> âxdr_struct_labelsâ was here
>    bool_t xdr_struct_labels ();
>           ^
> ../../../common/dataio/form_x.h:423:17: warning: redundant redeclaration
> of âxdr_struct_formâ [-Wredundant-decls]
>    extern bool_t xdr_struct_form (XDR *, struct_form *);
>                  ^
> ../../../common/dataio/form_x.h:336:10: note: previous declaration of
> âxdr_struct_formâ was here
>    bool_t xdr_struct_form ();
>           ^
> formwrite2.c: In function ânew_attributeâ:
> formwrite2.c:133:77: error: âstruct struct_scr_fieldâ has no member named
> âgeneral_ptrâ
>    the_form.attributes.attributes_val[the_form.attributes.attributes_len -
> 1].general_ptr=0;
>
>    ^
> formwrite2.c:135:77: error: âstruct struct_scr_fieldâ has no member named
> âflag â
>    the_form.attributes.attributes_val[the_form.attributes.attributes_len -
> 1].flags=0;
>
>    ^
> formwrite2.c: In function âA4GLFORM_A4GL_init_fldâ:
> formwrite2.c:177:10: error: âstruct struct_scr_fieldâ has no member named
> âdtype_sizeâ
>    xxfield.dtype_size = 0;
>           ^
> formwrite2.c:178:10: error: âstruct struct_scr_fieldâ has no member named
> âlookupâ
>    xxfield.lookup.lookups.lookups_len = 0;
>           ^
> formwrite2.c:179:10: error: âstruct struct_scr_fieldâ has no member named
> âlookupâ
>    xxfield.lookup.lookups.lookups_val = 0;
>           ^
> formwrite2.c: In function ânew_metricâ:
> formwrite2.c:467:65: error: âstruct struct_metricsâ has no member named âhâ
>    the_form.metrics.metrics_val[the_form.metrics.metrics_len - 1].h = 1;
>                                                                  ^
> formwrite2.c: In function âchk_for_wordwrapâ:
> formwrite2.c:886:85: error: âstruct struct_metricsâ has no member named âhâ
>
>  the_form.metrics.metrics_val[the_form.fields.fields_val[a].metric.metric_val[0]].h=the_form.fields.fields_val[a].metric.metric_len;
>
>            ^
> formwrite2.c: In function âA4GLFORM_A4GL_init_formâ:
> formwrite2.c:1092:15: error: âstruct struct_formâ has no member named
> âcontrol_blocksâ
>    the_form_ptr->control_blocks.control_blocks_len=0;
>                ^
> formwrite2.c:1093:15: error: âstruct struct_formâ has no member named
> âcontrol_blocksâ
>    the_form_ptr->control_blocks.control_blocks_val=0;
>                ^
> formwrite2.c:1095:15: error: âstruct struct_formâ has no member named
> âmaster_o â
>    the_form_ptr->master_of.master_of_len=0;
>                ^
> formwrite2.c:1096:15: error: âstruct struct_formâ has no member named
> âmaster_o â
>    the_form_ptr->master_of.master_of_val=0;
>                ^
> formwrite2.c:1098:15: error: âstruct struct_formâ has no member named
> âcompositesâ
>    the_form_ptr->composites.composites_len=0;
>                ^
> formwrite2.c:1099:15: error: âstruct struct_formâ has no member named
> âcompositesâ
>    the_form_ptr->composites.composites_val=0;
>                ^
> formwrite2.c:1101:14: error: âstruct struct_formâ has no member named
> âtextâ
>   the_form_ptr->text="";
>               ^
> gmake[2]: *** [formwrite2.o] Error 1
> gmake[2]: Leaving directory `/home/aubit4gl/lib/libform/form_xdr'
> gmake[1]: *** [/home/aubit4gl/plugins-1.5_3/libFORM_XDR.so] Error 2
> gmake[1]: Leaving directory `/home/aubit4gl/lib'
> make: *** [corecompile] Error 2
>
> please help
>
> Thanks in advance for your help.
>
> Best regards,
>
> Iwan Abu Bakar
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_3386560772723716714_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>

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