From: Ferran P. <i_p...@re...> - 2000-11-28 16:53:12
|
I'm interested in using the cobol compile in my Debina GNU/Linux 2.2 Potato system. When I try to make the compile on my machine I get this error whith yacc. hommer:~/tinycobol-0.3$ make Making all in compiler make[1]: Entering directory `/home/ferran/tinycobol-0.3/compiler' yacc -dv htcobol.y htcobol.y:185: invalid input: %{ htcobol.y:186: ill-formed rule: initial symbol not followed by colon htcobol.y:186: invalid input: ( htcobol.y:186: ill-formed rule: initial symbol not followed by colon htcobol.y:186: invalid input: * htcobol.y:186: ill-formed rule: initial symbol not followed by colon htcobol.y:186: invalid input: , htcobol.y:186: ill-formed rule: initial symbol not followed by colon htcobol.y:186: invalid input: * htcobol.y:186: ill-formed rule: initial symbol not followed by colon htcobol.y:186: invalid input: ) htcobol.y:186: invalid input: ; htcobol.y:187: invalid input: %} htcobol.y:240: type clash (`' `ival') on default action htcobol.y:377: type clash (`' `sval') on default action htcobol.y:642: type clash (`' `ival') on default action htcobol.y:862: $2 of `search' has no declared type htcobol.y:863: $4 of `search' has no declared type htcobol.y:867: $2 of `search' has no declared type htcobol.y:873: $4 of `search' has no declared type htcobol.y:874: $2 of `search' has no declared type htcobol.y:925: $3 of `search_opt_at_end' has no declared type htcobol.y:939: $3 of `search_when' has no declared type htcobol.y:965: $4 of `search_all_when' has no declared type htcobol.y:1030: type clash (`' `sval') on default action htcobol.y:2262: symbol yyunion is used, but is not defined as a token and has no rules make[1]: *** [htcobol.c] Error 1 make[1]: Leaving directory `/home/ferran/tinycobol-0.3/compiler' Making all in lib make[1]: Entering directory `/home/ferran/tinycobol-0.3/lib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/ferran/tinycobol-0.3/lib' Making all in utils make[1]: Entering directory `/home/ferran/tinycobol-0.3/utils' Making all in cobpp make[2]: Entering directory `/home/ferran/tinycobol-0.3/utils/cobpp' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/ferran/tinycobol-0.3/utils/cobpp' make[1]: Leaving directory `/home/ferran/tinycobol-0.3/utils' hommer:~/tinycobol-0.3$ Please, somebody can help me with it. The yacc version I'm using is : hommer:~/tinycobol-0.3$ yacc --version GNU Bison version 1.28 hommer:~/tinycobol-0.3$ I 'don't know if I'm doing something wrong or I have a bad yacc version,. Thanks in advance Ferran Pegueroles |