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.

DB

Confidentiality Notice: This message (including attachments) is a private communication solely for use of the intended recipient(s). If you are not the intended recipient(s) or believe you received this message in error, notify the sender immediately and then delete this message. Any other use, retention, dissemination or copying is prohibited and may be a violation of law, including the Electronic Communication Privacy Act of 1986."
Index: src/bsdl/bsdl_bison.y
===================================================================
--- src/bsdl/bsdl_bison.y	(revision 2039)
+++ src/bsdl/bsdl_bison.y	(working copy)
@@ -119,6 +119,7 @@
 
 %pure-parser
 %parse-param {urj_bsdl_parser_priv_t *priv_data}
+%lex-param {urj_bsdl_parser_priv_t *priv_data}
 %defines
 %name-prefix="urj_bsdl_"
 
Index: src/bsdl/vhdl_bison.y
===================================================================
--- src/bsdl/vhdl_bison.y	(revision 2039)
+++ src/bsdl/vhdl_bison.y	(working copy)
@@ -119,6 +119,7 @@
 
 %pure-parser
 %parse-param {urj_vhdl_parser_priv_t *priv_data}
+%lex-param {urj_vhdl_parser_priv_t *priv_data}
 %defines
 %name-prefix="urj_vhdl_"
 
Index: src/svf/svf_bison.y
===================================================================
--- src/svf/svf_bison.y	(revision 2039)
+++ src/svf/svf_bison.y	(working copy)
@@ -27,6 +27,7 @@
 %pure-parser
 %parse-param {urj_svf_parser_priv_t *priv_data}
 %parse-param {urj_chain_t *chain}
+%lex-param {urj_chain_t *chain}
 %name-prefix="urj_svf_"
 %locations
 
------------------------------------------------------------------------------
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