[CWB] Failure to install developer version

Xiaoyan Tang 2011txy at gmail.com
Sat May 2 07:23:28 CEST 2015


Dear All,

I successfully installed CWB 3.0 but got the following error message when I
tried to install developer version.

parser.y: In function ‘yyparse’:
> parser.y:527:124: error: expected ‘;’ before ‘}’ token
>  TranslateExpr:  FROM_SYM CID TO_SYM ID { if (query_lock)
> {warn_query_lock_violation(); YYABORT;} $$ = do_translate($2, $4) }
>
>                                                   ^
> parser.y:815:23: warning: variable ‘ok’ set but not used
> [-Wunused-but-set-variable]
>                    int ok;
>                        ^
> parser.tab.c:4144:18: warning: passing argument 1 of ‘yyerror’ discards
> ‘const’ qualifier from pointer target type
>          yyerror (yymsgp);
>                   ^
> parser.y:70:6: note: expected ‘char *’ but argument is of type ‘const char
> *’
>  void yyerror (char *s)
>       ^
> /home/chris/cwb/cwb-dev/cqp/../definitions.mk:278: recipe for target
> 'parser.tab.o' failed
> make[1]: *** [parser.tab.o] Error 1
> make[1]: Leaving directory '/home/chris/cwb/cwb-dev/cqp'
> Makefile:82: recipe for target 'all' failed
> make: *** [all] Error 2


I am not familiar with Ubuntu and failed to find a solution by googling.
Could you please help me to solve the problem?

Thanks in advance.

Best regards,
Xiaoyan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20150502/c1b97358/attachment.html>


More information about the CWB mailing list