[esnacc-bugs] Error during compiling of esnacc-ng - conflicting types for ‘yytext’

Aaron Conole aconole at bytheb.org
Mon Oct 24 14:04:19 UTC 2016


Michael Szerencsits <michael.szerencsits at gmx.at> writes:

> Hello @all,

Hi Michael,

> i've downloaded esnacc-ng via GIT.
>
>
> I've run successfully the './boot.sh' and './configure' commands.

Okay, can you send the output from running ./configure - possibly attach
or pastebin the config.log that exists at top level?

> When I now run the 'make' to compile the program it fails with the
> following error messages:

Yeah, this area needs a bit of re-write.  I think I started working on a
better token sharing system, but dropped it after I fixed (well, thought
anyway) the autoconf macro for determining if yytext was a pointer.

> 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.

09:59:05 aconole {master} ~/git/esnacc-ng$ bison -V
bison (GNU Bison) 3.0.4
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2015 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.

09:59:56 aconole {master} ~/git/esnacc-ng$ flex -V
flex 2.6.0

Note that we have the same flex version.  I don't see a similar issue.
Is it possible you ran ./configure before installing flex?  I think I've
seen that occur before.  I'm on Fedora 24, but the difference between
bison 3.0.2 and 3.0.4 shouldn't be big enough to matter.

Maybe it's better if we default to pointer, and only go to the array
definition when we don't find it?

-Aaron


More information about the bugs mailing list