[esnacc-bugs] Error during compiling of esnacc-ng - conflicting types for ‘yytext’
Michael Szerencsits
michael.szerencsits at gmx.at
Mon Oct 24 10:31:00 UTC 2016
Hello @all,
i've downloaded esnacc-ng via GIT.
I've run successfully the './boot.sh' and './configure' commands.
When I now run the 'make' to compile the program it fails with the
following error messages:
In file included from compiler/core/lex-asn1.l:36:0:
compiler/core/lex-stuff.h:41:13: error: conflicting types for ‘yytext’
extern char yytext[];
^
<stdout>:2246:7: note: previous declaration of ‘yytext’ was here
<stdout>: In function ‘yylex’:
<stdout>:2550:3: error: ‘yytext’ has an incomplete type
<stdout>: In function ‘yy_get_next_buffer’:
<stdout>:4260:2: error: ‘yytext’ has an incomplete type
<stdout>: In function ‘yyunput’:
<stdout>:4356:2: error: ‘yytext’ has an incomplete type
<stdout>: In function ‘yy_load_buffer_state’:
<stdout>:4493:2: error: ‘yytext’ has an incomplete type
Makefile:2879: recipe for target
'compiler/core/compiler_esnacc-lex-asn1.o' failed
make[1]: *** [compiler/core/compiler_esnacc-lex-asn1.o] Error 1
make[1]: Leaving directory '/home/fedora/esnacc-ng'
Makefile:1251: recipe for target 'all' failed
make: *** [all] Error 2
OS: Linux server 4.4.14-200.fc22.x86_64 #1 SMP Fri Jun 24 21:19:33 UTC
2016 x86_64 x86_64 x86_64 GNU/Linux
bison -V:
bison (GNU Bison) 3.0.2
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
flex -V:
flex 2.6.0
How can I fix this issue.
Thanks and regards
Michael
More information about the bugs
mailing list