error compiling when implementing [r12815] until [r12818] from SVN-Code

Iwan AB <[email protected]> Sat, 1 Apr 2023 06:58:35 +0700
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAHJCSm+GgS=eFhAdM_q4ow0ta1bjzgc7hELrzQy5P35v+w_U1Q@mail.gmail.com>
--===============3609632164248650986==
Content-Type: multipart/alternative; boundary="0000000000006894b305f83afdba"

--0000000000006894b305f83afdba
Content-Type: text/plain; charset="UTF-8"

Dear Mike,

I got the following errors when implementing [r12815] until [r12818] from
SVN-Code:

/usr/bin/gmake -C ../compilers/4glc
gmake[2]: Entering directory '/root/Downloads/aubit4glsrc/compilers/4glc'
gcc -rdynamic -Wall -Wredundant-decls -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -g  -fPIC -DPIC -DSRC_TREE -DDEBUG
-DHAVE_CONFIG_H= -I/root/Downloads/aubit4glsrc/incl
-I/root/Downloads/aubit4glsrc  -fPIC -DPIC -I../../lib/liblex/lex_c -I.
 -Irules -Irules/generated
-I/root/Downloads/aubit4glsrc/tools/no_rpc/cygwin  -L/usr/local/lib
-L/usr/lib -rdynamic -L../../lib -o ../../bin/4glc 4glc.o API_lex.o
API_parse_self.o compile.o class.o clobber.o dim.o field_handling.o
globals.o pragma.o import.o labels.o insert_curs.o fix_insert.o
load_prototypes.o linearise.o rules/generated/kw.o list.o lexer.o lex.o
expr_munging.o lint.o mod.o commands.o map.o extendedmap.o parsehelp.o
common.o ../../lib/generated/std_funcs.o var_handling.o variables.o
variables_new.o rules/generated/y.tab.o rules/generated/mk_states.o
-laubit4gl  -ldl  -lz  -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: rules/generated/y.tab.o: in function `a4gl_yyparse':
/root/Downloads/aubit4glsrc/compilers/4glc/fgl.infx.yacc:7661: undefined
reference to `A4GL_new_expr_sqlblock'
collect2: error: ld returned 1 exit status
gmake[2]: *** [Makefile:188: ../../bin/4glc] Error 1
gmake[2]: Leaving directory '/root/Downloads/aubit4glsrc/compilers/4glc'
gmake[1]: *** [Makefile:675: ../bin/4glc] Error 2
gmake[1]: Leaving directory '/root/Downloads/aubit4glsrc/lib'
make: *** [Makefile:285: corecompile] Error 2

I have followed every step from r12815 thru r12818 from SVN-code.
What have I been missing here?
Please help. Thank you.

Sincerely yours,

Iwan

--0000000000006894b305f83afdba
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear Mike,<div><br></div><div>I got the following errors w=
hen implementing [r12815] until [r12818] from SVN-Code:<br><br>/usr/bin/gma=
ke -C ../compilers/4glc<br>gmake[2]: Entering directory &#39;/root/Download=
s/aubit4glsrc/compilers/4glc&#39;<br>gcc -rdynamic -Wall -Wredundant-decls =
-Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g =C2=A0-f=
PIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H=3D -I/root/Downloads/aubit4gls=
rc/incl -I/root/Downloads/aubit4glsrc =C2=A0-fPIC -DPIC -I../../lib/liblex/=
lex_c -I. =C2=A0-Irules -Irules/generated -I/root/Downloads/aubit4glsrc/too=
ls/no_rpc/cygwin =C2=A0-L/usr/local/lib -L/usr/lib -rdynamic -L../../lib -o=
 ../../bin/4glc 4glc.o API_lex.o API_parse_self.o compile.o class.o clobber=
.o dim.o field_handling.o globals.o pragma.o import.o labels.o insert_curs.=
o fix_insert.o load_prototypes.o linearise.o rules/generated/kw.o list.o le=
xer.o lex.o expr_munging.o lint.o mod.o commands.o map.o extendedmap.o pars=
ehelp.o common.o ../../lib/generated/std_funcs.o var_handling.o variables.o=
 variables_new.o rules/generated/y.tab.o rules/generated/mk_states.o -laubi=
t4gl =C2=A0-ldl =C2=A0-lz =C2=A0-lpthread<br>/usr/bin/ld: skipping incompat=
ible /usr/lib/libc.so when searching for -lc<br>/usr/bin/ld: rules/generate=
d/y.tab.o: in function `a4gl_yyparse&#39;:<br>/root/Downloads/aubit4glsrc/c=
ompilers/4glc/fgl.infx.yacc:7661: undefined reference to `A4GL_new_expr_sql=
block&#39;<br>collect2: error: ld returned 1 exit status<br>gmake[2]: *** [=
Makefile:188: ../../bin/4glc] Error 1<br>gmake[2]: Leaving directory &#39;/=
root/Downloads/aubit4glsrc/compilers/4glc&#39;<br>gmake[1]: *** [Makefile:6=
75: ../bin/4glc] Error 2<br>gmake[1]: Leaving directory &#39;/root/Download=
s/aubit4glsrc/lib&#39;<br>make: *** [Makefile:285: corecompile] Error 2<br>=
<br>I have followed every=C2=A0step from r12815 thru r12818 from SVN-code.<=
br>What have I been missing here?<br>Please help. Thank you.<br></div><div>=
<br></div><div>Sincerely yours,<br></div><div><br></div><div>Iwan</div><div=
><br></div></div>

--0000000000006894b305f83afdba--


--===============3609632164248650986==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============3609632164248650986==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============3609632164248650986==--