[GiNaC-list] Error compiling GiNaC 1.3.0

Sheplyakov Alexei varg at thsun1.jinr.ru
Sun Nov 14 11:47:04 CET 2004


Hello!

On Sun, Nov 14, 2004 at 11:15:44AM +0100, Roberto Bagnara wrote:
> 
> Here is what happens on a Fedora Core 3 system, CLN 1.1.9
> and GCC 3.4.3:
[snip]
> input_lexer.h:43: error: conflicting declaration 'char ginac_yytext[]'
> input_lexer.cc:446: error: 'ginac_yytext' has a previous declaration as `char*ginac_yytext'
> input_lexer.h:43: error: type mismatch with previous external decl of `char ginac_yytext[]'
> input_lexer.cc:446: error: previous external decl of `char*ginac_yytext'
> input_lexer.h:43: error: declaration of `char ginac_yytext[]'
> input_lexer.cc:446: error: conflicts with previous declaration `char*ginac_yytext'
[snip]

It looks like flex and/or bison are missing on your system.

Check the output of `configure', if those utilities are *installed*,
there should be lines like these:

checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y


Best regards,
	Alexei.




More information about the GiNaC-list mailing list