Re: Error in compilation
Mike Aubury <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <CAGAq4WGbkc2HfR8xn0vv2RPyu-Ac4E6xKqAJ+yciaHX6P3yQqQ@mail.gmail.com> |
Very odd.. Do you have a "lex.yy.c" in the compilers/fcompile directory ? That should be included in the y.tab.c (which is generated from screen.yacc) - via a #include "lex.yy.c", and should provide the a4gl_form_yylex What version of flex and bison do you have installed ? On 14 February 2017 at 06:00, Carlos Alberto Correa Fayad < [email protected]> wrote: > Hi. this error in compilation > > make[3]: '../../incl/a4gl_API_lex_lib.h' is up to date. > make[3]: Leaving directory '/opt/aubit4glsrc/compilers/4glc' > /usr/bin/make -C ../../../compilers/4glc ../../incl/a4gl_API_lex.h > make[3]: Entering directory '/opt/aubit4glsrc/compilers/4glc' > make[3]: '../../incl/a4gl_API_lex.h' is up to date. > make[3]: Leaving directory '/opt/aubit4glsrc/compilers/4glc' > /usr/bin/make -C ../../../compilers/4glc ../../incl/a4gl_API_parse_lib.h > make[3]: Entering directory '/opt/aubit4glsrc/compilers/4glc' > make[3]: '../../incl/a4gl_API_parse_lib.h' is up to date. > make[3]: Leaving directory '/opt/aubit4glsrc/compilers/4glc' > /usr/bin/make -C ../../../compilers/4glc ../../incl/a4gl_API_parse.h > make[3]: Entering directory '/opt/aubit4glsrc/compilers/4glc' > make[3]: '../../incl/a4gl_API_parse.h' is up to date. > make[3]: Leaving directory '/opt/aubit4glsrc/compilers/4glc' > All targets (/opt/aubit4glsrc/plugins-1.2_40/libLEX_C.so > /opt/aubit4glsrc/plugins-1.2_40/libLEX_CS.so /opt/aubit4glsrc/plugins-1.2_40/libLEX_EC.so > /op > t/aubit4glsrc/plugins-1.2_40/libLEX_PCODEC.so) successfully compiled > make[2]: Leaving directory '/opt/aubit4glsrc/lib/liblex/lex_esqlc' > /usr/bin/make -C libui/ui_console > make[2]: Entering directory '/opt/aubit4glsrc/lib/libui/ui_console' > Makefile:104: warning: overriding recipe for target 'console.o' > Makefile:100: warning: ignoring old recipe for target 'console.o' > Default targets (/opt/aubit4glsrc/plugins-1.2_40/libUI_CONSOLE.so) > successfully compiled. > make[2]: Leaving directory '/opt/aubit4glsrc/lib/libui/ui_console' > /usr/bin/make -C ../compilers/fcompile > make[2]: Entering directory '/opt/aubit4glsrc/compilers/fcompile' > gcc -rdynamic -Wall -Wredundant-decls -Wmissing-declarations > -Wmissing-prototypes -Wstrict-prototypes -g -fPIC -DPIC -DSRC_TREE -DDEBUG > -DHAVE_CONFI > G_H= -I/opt/aubit4glsrc/incl -I/opt/aubit4glsrc -fPIC -DPIC > -I../../lib/libincl -I. -I/usr/local/include -I/usr/local/rpc > -I/usr/local -L../../lib > -o ../../bin/fcompile fcompile.o where.o y.tab.o -laubit4gl-1.2_40 -ldl > -lz > y.tab.o: In function `a4gl_form_yyparse': > /opt/aubit4glsrc/compilers/fcompile/y.tab.c:2388: undefined reference to > `a4gl_form_yylex' > collect2: error: ld returned 1 exit status > make[2]: *** [Makefile:108: ../../bin/fcompile] Error 1 > make[2]: Leaving directory '/opt/aubit4glsrc/compilers/fcompile' > make[1]: *** [Makefile:681: /opt/aubit4glsrc/bin/fcompile] Error 2 > make[1]: Leaving directory '/opt/aubit4glsrc/lib' > make: *** [Makefile:285: corecompile] Error 2 > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Aubit4gl-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss > > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Aubit4gl-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss