Hi,

Thanks for quick reply

On Wed, Jan 15, 2014 at 4:10 PM, Daniel Burr <db...@topcon.com> wrote:
> On 16/01/14 00:57, Anatol Pomozov wrote:
>>
>> I am trying to compile urjtag on HEAD and it seems broken because
>> Linux Arch that I use has newer version of bison.
>
>
> Newer versions of bison need lex-param to be specified.  The attached patch
> should do the trick, although I have only tested it to verify that it
> correctly compiles with bison 3.0.2.

I also have bison 3.0.2 but the compilation still fails. Note that
urjtag/src/svf/svf_bison.y has two %parse-param, could it be reason of
this compilation failure?

Also you can fix a bison warning by removing 'equals sign' after %name-prefix


$ bison -V
bison (GNU Bison) 3.0.2

====
  YACC     svf_bison.c
  CC       svf_flex.lo
  CC       svf_bison.lo
  CC       svf.lo
svf_bison.c: In function 'urj_svf_parse':
svf_bison.c:1494:7: error: too few arguments to function 'urj_svf_lex'
       yychar = yylex (&yylval, &yylloc);
       ^
svf_bison.c:64:25: note: declared here
 #define yylex           urj_svf_lex
                         ^
svf_bison.y:46:5: note: in expansion of macro 'yylex'
 #include "svf_bison.h"
     ^
Makefile:499: recipe for target 'svf_bison.lo' failed
make[3]: *** [svf_bison.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/anatol/sources/urjtag/urjtag/src/svf'
Makefile:590: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/anatol/sources/urjtag/urjtag/src'
Makefile:503: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/anatol/sources/urjtag/urjtag'
Makefile:433: recipe for target 'all' failed
make: *** [all] Error 2

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to