[Coral-dev] Compilation problems

vilela@ravel.ufrj.br vilela@ravel.ufrj.br
Mon, 31 Mar 2003 12:36:37 -0300


Hi, I´m trying to install coralreef in a Linux RedHat with gcc 2.95.3 and perl 5.6.1 and I´m getting the following message. Someone know how to resolve this problem? 
Thanks,
Guilherme Vilela

...
/usr/local/bin/g++ -DHAS_BOOL -c -g -O2  -I../.. -I../../libsrc/libcoral -I../../libsrc/hashtab -I/usr/local/perl5.6/lib/5.6.1/i686-linux/CORE  Tables.cc
In file included from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/stl_alloc.h:56,
                 from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/alloc.h:21,
                 from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/std/bastring.h:39,
                 from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/string:6,
                 from ../ASFinder/pat_func.h:47,
                 from IP_Table.h:61,
                 from Tables.cc:514:
/usr/include/assert.h:32: warning: `assert' redefined
/usr/local/perl5.6/lib/5.6.1/i686-linux/CORE/perl.h:2183: warning: this is the location of the previous definition
In file included from Tables.cc:469:
String_Table.h: In method `int String_Table::save_text(FILE *, int = 1)':
String_Table.h:747: parse error before string constant
String_Table.h:752: parse error before string constant
String_Table.h: In method `char * String_Table::load_text(FILE *)':
String_Table.h:803: parse error before `,'
String_Table.h:810: parse error before `,'
String_Table.h:817: parse error before `,'
In file included from Tables.cc:484:
String_Matrix.h: In method `int String_Matrix::save_text(FILE *, int = 1)':
String_Matrix.h:762: parse error before string constant
String_Matrix.h:767: parse error before string constant
String_Matrix.h: In method `char * String_Matrix::load_text(FILE *)':
String_Matrix.h:824: parse error before `,'
String_Matrix.h:831: parse error before `,'
String_Matrix.h:838: parse error before `,'
In file included from Tables.cc:499:
Length_Table.h: In method `int Length_Table::save_text(FILE *, int = 1)':
Length_Table.h:743: parse error before string constant
Length_Table.h:748: parse error before string constant
Length_Table.h: In method `char * Length_Table::load_text(FILE *)':
Length_Table.h:799: parse error before `,'
Length_Table.h:806: parse error before `,'
Length_Table.h:813: parse error before `,'
...