[overture] Overture compiling error

Hello Everybody,
    Could you please help me to figure the following errors:

gjyadi@yangsiqi-desktop:~/code/overture/overture/Overture.v23$ sudo make
-----------------------------------------------------------------------
type <make help> for help. Run the configure script before running make
-----------------------------------------------------------------------
rm -rf A++; rm -f OpenGL; rm -f HDF; ln -s  A++; ln -s  OpenGL; ln -s  HDF
make[1]: Entering directory
`/home/gjyadi/code/overture/overture/Overture.v23/DataBase'
perl ../config/makeDepend -f depend -Y -- -I/include -I.   -DUSE_MESA
-I/include -I/include -I/include  -DBL_USE_DOUBLE -DBL_Solaris
-I/usr/lib/perl/5.10/CORE -- GenericDataBase.C HDF_DataBase.C
DataBaseBuffer.C  ListOfHDF_DataBaseRCData.C
run makedepend ...
...done
touch depend_date
g++ -fPIC -I/include -I.   -DUSE_MESA -I/include -I/include -I/include
-DBL_USE_DOUBLE -DBL_Solaris -I/usr/lib/perl/5.10/CORE   -g -I/include -c
GenericDataBase.C HDF_DataBase.C DataBaseBuffer.C ListOfHDF_DataBaseRCData.C
GenericDataBase.C:1:29: error: GenericDataBase.h: No such file or directory
GenericDataBase.C:3: error: ‘GenericDataBase’ does not name a type
GenericDataBase.C:5: error: ‘GenericDataBase’ has not been declared
GenericDataBase.C:8: error: ISO C++ forbids declaration of ‘aString’ with no
type
GenericDataBase.C:8: error: expected ‘,’ or ‘...’ before ‘&’ token
GenericDataBase.C: In function ‘int gdbError(int)’:
GenericDataBase.C:10: error: ‘cout’ was not declared in this scope
GenericDataBase.C:10: error: ‘func’ was not declared in this scope
GenericDataBase.C: At global scope:
GenericDataBase.C:17: error: ‘GenericDataBase’ has not been declared
GenericDataBase.C:18: error: ISO C++ forbids declaration of
‘GenericDataBase’ with no type
GenericDataBase.C: In function ‘int GenericDataBase()’:
GenericDataBase.C:27: error: ‘className’ was not declared in this scope
GenericDataBase.C:28: error: ‘OvertureVersion’ was not declared in this
scope
GenericDataBase.C:28: error: ‘OVERTURE_VERSION’ was not declared in this
scope
GenericDataBase.C:30: error: ‘mode’ was not declared in this scope
GenericDataBase.C:30: error: ‘normalMode’ was not declared in this scope
GenericDataBase.C:31: error: ‘issueWarnings’ was not declared in this scope
GenericDataBase.C:32: error: ‘referenceCountingList’ was not declared in
this scope
GenericDataBase.C:32: error: ‘NULL’ was not declared in this scope
GenericDataBase.C:34: error: ‘Communication_Manager’ has not been declared
GenericDataBase.C:35: error: ‘min’ was not declared in this scope
..................
..................
HDF_DataBase.C:32: error: ‘FALSE’ was not declared in this scope
HDF_DataBase.C: At global scope:
HDF_DataBase.C:36: error: ‘HDF_DataBase’ is not a class or namespace
HDF_DataBase.C:37: error: ISO C++ forbids declaration of ‘HDF_DataBase’ with
no type
HDF_DataBase.C:37: error: expected ‘,’ or ‘...’ before ‘&’ token
HDF_DataBase.C:37: error: ISO C++ forbids declaration of ‘HDF_DataBase’ with
no type
HDF_DataBase.C: In function ‘int HDF_DataBase(int)’:
HDF_DataBase.C:47: error: ‘rcData’ was not declared in this scope
HDF_DataBase.C:47: error: ‘NULL’ was not declared in this scope
HDF_DataBase.C:48: error: invalid use of ‘this’ in non-member function
HDF_DataBase.C:48: error: ‘db’ was not declared in this scope
HDF_DataBase.C: At global scope:
HDF_DataBase.C:52: error: ‘HDF_DataBase’ is not a class or namespace
HDF_DataBase.C:53: error: ISO C++ forbids declaration of ‘GenericDataBase’
with no type
HDF_DataBase.C:53: error: expected ‘,’ or ‘...’ before ‘&’ token
HDF_DataBase.C:53: error: ISO C++ forbids declaration of ‘HDF_DataBase’ with
no type
HDF_DataBase.C: In function ‘int HDF_DataBase(int)’:
HDF_DataBase.C:52: error: redefinition of ‘int HDF_DataBase(int)’
HDF_DataBase.C:36: error: ‘int HDF_DataBase(int)’ previously defined here
HDF_DataBase.C:63: error: ‘db’ was not declared in this scope
HDF_DataBase.C:65: error: ‘rcData’ was not declared in this scope
HDF_DataBase.C:65: error: ‘NULL’ was not declared in this scope
HDF_DataBase.C:66: error: invalid use of ‘this’ in non-member function
HDF_DataBase.C:66: error: ISO C++ forbids declaration of ‘type name’ with no
type
HDF_DataBase.C:66: error: ISO C++ forbids declaration of ‘type name’ with no
type
HDF_DataBase.C:66: error: expected primary-expression before ‘const’
HDF_DataBase.C:66: error: expected ‘)’ before ‘const’
HDF_DataBase.C:70: error: ‘cout’ was not declared in this scope
HDF_DataBase.C: At global scope:
HDF_DataBase.C:75: error: expected constructor, destructor, or type
conversion before ‘*’ token
HDF_DataBase.C:83: error: expected constructor, destructor, or type
conversion before ‘&’ token
HDF_DataBase.C:116: error: expected constructor, destructor, or type
conversion before ‘&’ token
DataBaseBuffer.C:2:28: error: OvertureDefine.h: No such file or directory
DataBaseBuffer.C:4:28: error: DataBaseBuffer.h: No such file or directory
DataBaseBuffer.C:5:29: error: ParallelUtility.h: No such file or directory
DataBaseBuffer.C:8: error: ‘aString’ does not name a type
DataBaseBuffer.C:11: error: expected initializer before ‘&’ token
DataBaseBuffer.C:14: error: ‘DataBaseBuffer’ has not been declared
DataBaseBuffer.C:15: error: ISO C++ forbids declaration of ‘DataBaseBuffer’
with no type
DataBaseBuffer.C: In function ‘int DataBaseBuffer()’:
DataBaseBuffer.C:20: error: only constructors take base initializers
DataBaseBuffer.C:22: error: ‘streamIs’ was not declared in this scope
DataBaseBuffer.C:22: error: ‘notOpen’ was not declared in this scope
DataBaseBuffer.C:23: error: ‘OvertureVersion’ was not declared in this scope
DataBaseBuffer.C:23: error: ‘OVERTURE_VERSION’ was not declared in this
scope
DataBaseBuffer.C: At global scope:
DataBaseBuffer.C:26: error: expected constructor, destructor, or type
conversion before ‘::’ token
DataBaseBuffer.C:32: error: ‘DataBaseBuffer’ is not a class or namespace
DataBaseBuffer.C:33: error: non-member function ‘bool isOpen()’ cannot have
cv-qualifier
DataBaseBuffer.C: In function ‘bool isOpen()’:
DataBaseBuffer.C:36: error: ‘streamIs’ was not declared in this scope
DataBaseBuffer.C:36: error: ‘notOpen’ was not declared in this scope
DataBaseBuffer.C: At global scope:
DataBaseBuffer.C:39: error: ‘DataBaseBuffer’ is not a class or namespace
DataBaseBuffer.C:40: error: variable or field ‘openBuffer’ declared void
DataBaseBuffer.C:40: error: ‘GenericDataBase’ was not declared in this scope
DataBaseBuffer.C:40: error: ‘db’ was not declared in this scope
DataBaseBuffer.C:40: error: expected primary-expression before ‘const’
ListOfHDF_DataBaseRCData.C:5:26: error: HDF_DataBase.h: No such file or
directory
ListOfHDF_DataBaseRCData.C:6:38: error: ListOfHDF_DataBaseRCData.h: No such
file or directory
ListOfHDF_DataBaseRCData.C:12: error: ‘ListOfHDF_DataBaseRCData’ has not
been declared
ListOfHDF_DataBaseRCData.C:12: error: ISO C++ forbids declaration of
‘ListOfHDF_DataBaseRCData’ with no type
ListOfHDF_DataBaseRCData.C: In function ‘int ListOfHDF_DataBaseRCData()’:
ListOfHDF_DataBaseRCData.C:21: error: ‘listLength’ was not declared in this
scope
ListOfHDF_DataBaseRCData.C:22: error: ‘aList’ was not declared in this scope
ListOfHDF_DataBaseRCData.C:23: error: ‘memAlloc’ was not declared in this
scope
ListOfHDF_DataBaseRCData.C: At global scope:
ListOfHDF_DataBaseRCData.C:28: error: ‘ListOfHDF_DataBaseRCData’ is not a
class or namespace
ListOfHDF_DataBaseRCData.C:28: error: ISO C++ forbids declaration of
‘ListOfHDF_DataBaseRCData’ with no type
ListOfHDF_DataBaseRCData.C:28: error: expected ‘,’ or ‘...’ before ‘&’ token
ListOfHDF_DataBaseRCData.C:28: error: ISO C++ forbids declaration of
‘ListOfHDF_DataBaseRCData’ with no type
ListOfHDF_DataBaseRCData.C: In function ‘int ListOfHDF_DataBaseRCData(int)’:
ListOfHDF_DataBaseRCData.C:37: error: ‘listLength’ was not declared in this
scope
ListOfHDF_DataBaseRCData.C:37: error: ‘X’ was not declared in this scope
ListOfHDF_DataBaseRCData.C:40: error: ‘aList’ was not declared in this scope
ListOfHDF_DataBaseRCData.C:41: error: ‘memAlloc’ was not declared in this
scope
ListOfHDF_DataBaseRCData.C:42: error: return-statement with no value, in
function returning ‘int’
ListOfHDF_DataBaseRCData.C:45: error: ‘aList’ was not declared in this scope
ListOfHDF_DataBaseRCData.C:45: error: ‘HDF_DataBaseRCData’ was not declared
in this scope
ListOfHDF_DataBaseRCData.C:45: error: expected type-specifier before
‘HDF_DataBaseRCData’
ListOfHDF_DataBaseRCData.C:45: error: expected ‘)’ before
‘HDF_DataBaseRCData’
ListOfHDF_DataBaseRCData.C:45: error: expected ‘;’ before
‘HDF_DataBaseRCData’
ListOfHDF_DataBaseRCData.C:46: error: ‘memAlloc’ was not declared in this
scope
ListOfHDF_DataBaseRCData.C: At global scope:
ListOfHDF_DataBaseRCData.C:54: error: expected constructor, destructor, or
type conversion before ‘::’ token
ListOfHDF_DataBaseRCData.C:66: error: expected constructor, destructor, or
type conversion before ‘&’ token
make[1]: *** [DataBase_date] Error 1
make[1]: Leaving directory
`/home/gjyadi/code/overture/overture/Overture.v23/DataBase'
make: *** [all] Error 2
gjyadi@yangsiqi-desktop:~/code/overture/overture/Overture.v23$

Best Wishes

gjy

Other related posts: