Open-COBOL-ESQL icon indicating copy to clipboard operation
Open-COBOL-ESQL copied to clipboard

Issue with scanner.c

Open heronour opened this issue 7 years ago • 3 comments

Hello, While running the command 'make' I got this error: /bin/sh ../ylwrap scanner.l .c scanner.c -- : make[2]: *** [scanner.c] Erreur 1

Before I had this one /bin/sh ../ylwrap parser.y y.tab.c parser.c y.tab.h parser.h y.output parser.output -- byacc byacc: e - line 20 of "/nfs/home/nelamrao/workspace/Labs/cobol/Open-COBOL-ESQL/ocesql/parser.y", syntax error %defines ^

Can you help please!

heronour avatar Jan 26 '18 09:01 heronour

Hello,

I tried it with "byacc", but it got an error. In checking OCESQL, "bison - y" is used by YACC command. Before executing "configure", try specifying "bison - y" for YACC.

# yum install bison $ export YACC="bison -y" $ ./configure

n-isaka avatar Feb 09 '18 05:02 n-isaka

There will be a PR to fix that, soon; as a workaround: touch ocesql/scanner.c ocesql/parser.c config.h.in configure ocesql/Makefile.in dblib/Makefile.in, so make won't try to recreate those.

GitMensch avatar Jul 19 '21 06:07 GitMensch

looks this can be closed, at least after #22 is done.

GitMensch avatar Apr 13 '22 10:04 GitMensch