Error while building GiNaC-1.2.1

Kai Ludwig kai.ludwig at uni-tuebingen.de
Tue Jun 8 14:17:41 CEST 2004


Hi,

seems that bison/flex (yacc/lex) have to be installed
on the system, before GiNaC can be compiled.

Nothing is said about that in the README/INSTALL files.
The configure script checks it, but does not fail.

Anyway, after providing them, g++-3.3 compiles
GiNaC-1.2.1 fine.

Cheers,
Kai


-------- Original Message --------
Subject: Error while building GiNaC-1.2.1
From: "Kai Ludwig" <kai.ludwig at uni-tuebingen.de>
Date: Tue, June 8, 2004 9:42 am
To: <ginac-devel at ginac.de>

Hi All,

First of all: You're doing a great job with GiNaC!

I've tried to compile the GiNaC-1.2.1 version with
g++-3.3.3-41 under a SuSE9.1 Linux system.

Got the following:

 g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT input_lexer.lo -MD -MP -MF
 .deps/input_lexer.Tpo -c input_lexer.cc  -fPIC -DPIC -o
 .libs/input_lexer.oIn file included from
/home/cbauer/projects/GiNaC-1.2/ginac/input_lexer.ll:35:input_lexer.h:43:
error: conflicting types for `char ginac_yytext[]' input_lexer.cc:446:
error: previous declaration as `char*ginac_yytext' input_lexer.h:43:
error: storage size of `ginac_yytext' isn't known input_lexer.h:43:
error: storage size of `ginac_yytext' isn't known make[2]: ***
[input_lexer.lo] Error 1
make[2]: Leaving directory `/usr/local/src/ginac/GiNaC-1.2.1/ginac'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ginac/GiNaC-1.2.1'
make: *** [all] Error 2


Cheers,
Kai

-- 
http://echempp.sourceforge.net

Kai Ludwig
Institut für Organische Chemie
Auf der Morgenstelle 18
72076 Tübingen
Tel.: 07071/29-73049
Mail: kai.ludwig at uni-tuebingen.de


-- 
http://echempp.sourceforge.net

Kai Ludwig
Institut für Organische Chemie
Auf der Morgenstelle 18
72076 Tübingen
Tel.: 07071/29-73049
Mail: kai.ludwig at uni-tuebingen.de





More information about the GiNaC-list mailing list