Error in last compilation

Carlos Alberto Correa Fayad <[email protected]> Mon, 12 Jun 2023 05:58:03 +0200
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <trinity-52e0fe2e-6d6c-4a2b-9cf7-5724e0843fa0-1686542283454@3c-app-mailcom-lxa07>
--===============6947509277069727253==
Content-Type: text/html; charset=UTF-8

<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi, all</div>

<div>&nbsp;</div>

<div>This error in last compilation</div>

<div>&nbsp;</div>

<div><span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff;">make[3]: Entering directory &#39;/opt/aubit4glsrc/compilers/4glc&#39; </span><br/>
make[3]: &#39;../../incl/a4gl_API_parse.h&#39; is up to date.<br/>
make[3]: Leaving directory &#39;/opt/aubit4glsrc/compilers/4glc&#39;<br/>
All targets (/opt/aubit4glsrc/plugins-1.6.1/libLEX_C.so /opt/aubit4glsrc/plugins-1.6.1/libLEX_CS.so /opt/aubit4glsrc/plugins-1.6.1/libLEX_EC.so /opt/aubit4glsrc/plugins-1.6.1/libLEX_PCODEC.so<br/>
) successfully compiled<br/>
make[2]: Leaving directory &#39;/opt/aubit4glsrc/lib/liblex/lex_esqlc&#39;<br/>
/usr/bin/make -C libui/ui_console<br/>
make[2]: Entering directory &#39;/opt/aubit4glsrc/lib/libui/ui_console&#39;<br/>
Makefile:102: warning: overriding recipe for target &#39;console.o&#39;<br/>
Makefile:98: warning: ignoring old recipe for target &#39;console.o&#39;<br/>
Default targets (/opt/aubit4glsrc/plugins-1.6.1/libUI_CONSOLE.so) successfully compiled.<br/>
make[2]: Leaving directory &#39;/opt/aubit4glsrc/lib/libui/ui_console&#39;<br/>
/usr/bin/make -C ../compilers/4glc<br/>
make[2]: Entering directory &#39;/opt/aubit4glsrc/compilers/4glc&#39;<br/>
Y_OUTPUT=rules/generated/y.output<br/>
/bin/bash mk_states_c<br/>
rm -f t<br/>
gcc -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g &nbsp;-fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H= -I/opt/aubit4glsrc/incl -I/opt/aubit4glsrc &nbsp;-fP<br/>
IC -DPIC -I../../lib/liblex/lex_c -I. &nbsp;-Irules -Irules/generated -I/usr/include/tirpc &nbsp;-O2 -c -o rules/generated/mk_states.o rules/generated/mk_states.c -I. -Irules/generated<br/>
In file included from rules/generated/mk_states.c:5:<br/>
y.tab.h:2827:5: warning: redundant redeclaration of &#39;a4gl_yyparse&#39; [-Wredundant-decls]<br/>
In file included from rules/generated/mk_states.c:1:<br/>
./a4gl_4glc_int.h:400:5: note: previous declaration of &#39;a4gl_yyparse&#39; with type &#39;int(void)&#39;<br/>
&nbsp;400 &#124; int a4gl_yyparse (void);<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; &nbsp;&nbsp;&nbsp;&nbsp;^~~~~~~~~~~~<br/>
gcc -rdynamic -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g &nbsp;-fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H= -I/opt/aubit4glsrc/incl -I/opt/aubit4<br/>
glsrc &nbsp;-fPIC -DPIC -I../../lib/liblex/lex_c -I. &nbsp;-Irules -Irules/generated -I/usr/include/tirpc &nbsp;-L/usr/local/lib -L/usr/lib -rdynamic -L../../lib -o ../../bin/4glc 4glc.o API_lex.o API_parse<br/>
_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 le<br/>
x.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/ge<br/>
nerated/mk_states.o -laubit4gl &nbsp;-ldl &nbsp;-lz &nbsp;-lpthread<br/>
/usr/bin/ld: rules/generated/y.tab.o: in function &#96;a4gl_yyparse&#39;:<br/>
/opt/aubit4glsrc/compilers/4glc/fgl.infx.yacc:7661: undefined reference to &#96;A4GL_new_expr_sqlblock&#39;<br/>
collect2: error: ld returned 1 exit status<br/>
make[2]: *** [Makefile:188: ../../bin/4glc] Error 1<br/>
make[2]: Leaving directory &#39;/opt/aubit4glsrc/compilers/4glc&#39;<br/>
make[1]: *** [Makefile:675: ../bin/4glc] Error 2<br/>
make[1]: Leaving directory &#39;/opt/aubit4glsrc/lib&#39;<br/>
make: *** [Makefile:285: corecompile] Error 2<br/>
~<br/>
~</span><br/>
<br/>
&nbsp;</div></div></body></html>


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


--===============6947509277069727253==
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

--===============6947509277069727253==--