[brite-users] Fwd: installation problem, is there is any need of pre requirements to install BRITE

siva p sivap.eng at gmail.com
Wed Aug 13 06:55:42 EDT 2008


---------- Forwarded message ----------
From: siva p <sivap.eng at gmail.com>
Date: Wed, Aug 13, 2008 at 4:13 PM
Subject: installation problem, is there is any need of pre requirements to
install BRITE
To: brite-users at cs.bu.edu.


Hi all

i am siva ,i downloaded BRITE and tried  to install  but failed

i am using
                  redhat linux
any perequirements to instal please help me
the errors i am getting are



sivavm root]# cd siva
[root at sivavm siva]# *ls*
*BRITE  BRITE_CPP_GUI.tar*
[root at sivavm siva]# *cd BRITE*
[root at sivavm BRITE]# ls
C++  GUI  Makefile  README  startGUI

[root at sivavm BRITE]# *make c++*
make[1]: Entering directory `/root/siva/BRITE/C++'
g++ -Wall -c BriteMain.cc -g
In file included from /usr/include/c++/3.2.2/backward/strstream:51,
                 from Util.h:29,
                 from Parser.h:28,
                 from Brite.h:28,
                 from BriteMain.cc:28:
/usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning
This
file includes at least one deprecated or antiquated header. Please consider
using one of the 32 headers found in section 17.4.1.2 of the C++ standard.
Examples
include substituting the <X> header for the <X.h> header for C++ includes,
or <sstream> instead of the deprecated header <strstream.h>. To disable this
warning
use -Wno-deprecated.
In file included from Parser.h:28,
                 from Brite.h:28,
                 from BriteMain.cc:28:
Util.h:106: `vector' was not declared in this scope

Util.h:106: parse error before `>' token
In file included from Brite.h:28,
                 from BriteMain.cc:28:
Parser.h:248: parse error before `f'
Parser.h:251: parse error before `)' token
Parser.h:252: ISO C++ forbids defining types within return type
Parser.h:252: syntax error before `(' token
Parser.h: In function `int GetHS()':
Parser.h:253: `HS' undeclared (first use this function)
Parser.h:253: (Each undeclared identifier is reported only once for each
   function it appears in.)
Parser.h: In function `int GetLS()':
Parser.h:254: `LS' undeclared (first use this function)
Parser.h: In function `int GetBW()':
Parser.h:255: `BW' undeclared (first use this function)
Parser.h: In function `double GetBWMin()':
Parser.h:256: `BWmin' undeclared (first use this function)
Parser.h: In function `double GetBWMax()':
Parser.h:257: `BWmax' undeclared (first use this function)
Parser.h: At global scope:
Parser.h:259: parse error before `private'
Parser.h:262: 'FileFormat' is used as a type, but is not defined as a type.
Parser.h:263: `int HS' used prior to declaration
Parser.h:264: `int LS' used prior to declaration
Parser.h:265: `int BW' used prior to declaration
Parser.h:266: `double BWmin' used prior to declaration
Parser.h:267: `double BWmax' used prior to declaration
Parser.h:269: parse error before `}' token
Parser.h:286: type specifier omitted for parameter `string'
Parser.h:286: parse error before `)' token
Parser.h:287: `string' was not declared in this scope
Parser.h:287: parse error before `,' token
Parser.h:287: `void Parse::ParseError(...)' and `void
Parse::ParseError(...)'
   cannot be overloaded
Parser.h:294: 'ifstream' is used as a type, but is not defined as a type.
Parser.h:295: `string' was not declared in this scope
Parser.h:295: `a' was not declared in this scope
Parser.h:295: invalid data member initialization
Parser.h:295: (use `=' to initialize static data members)
Parser.h:296: `vector' was not declared in this scope
Parser.h:296: `string' was not declared in this scope
Parser.h:296: `a' was not declared in this scope
Parser.h:296: invalid data member initialization
Parser.h:297: `string' was not declared in this scope
Parser.h:297: `from' was not declared in this scope
Parser.h:297: parse error before `&' token
Parser.h:297: declaration of `int Parse::GetNextTokenList(...)'
Parser.h:296: conflicts with previous declaration `int
Parse::GetNextTokenList'
Parser.h:303: type specifier omitted for parameter `string'
Parser.h:303: parse error before `&' token
Parser.h:307: 'vector' is used as a type, but is not defined as a type.
Parser.h:308: 'vector' is used as a type, but is not defined as a type.
Parser.h: In member function `bool Parse::OutputBrite()':
Parser.h:289: `output_formats' undeclared (first use this function)
In file included from Models/Model.h:29,
                 from Brite.h:29,
                 from BriteMain.cc:28:
Graph.h: At global scope:
Graph.h:61: `vector' was not declared in this scope
Graph.h:61: parse error before `>' token
Graph.h:67: 'vector' is used as a type, but is not defined as a type.
Graph.h:68: 'list' is used as a type, but is not defined as a type.
Graph.h:69: `list' was not declared in this scope
Graph.h:69: parse error before `>' token
Graph.h:70: `list' was not declared in this scope
Graph.h:70: parse error before `*' token
Graph.h: In member function `int Graph::GetAdjListSize(int)':
Graph.h:54: `adjList' undeclared (first use this function)
Graph.h: In member function `int Graph::GetIncListSize(int)':
Graph.h:55: `incList' undeclared (first use this function)
Graph.h: In member function `int Graph::GetEdgeListSize()':
Graph.h:56: `edges' undeclared (first use this function)
       In file included from Brite.h:29,
                 from BriteMain.cc:28:
Models/Model.h: At global scope:
Models/Model.h:67: 'list' is used as a type, but is not defined as a type.
Models/Model.h:89: parse error before `)' token
Models/Model.h:111: ISO C++ forbids declaration of `vector' with no type
Models/Model.h:111: template-id `vector<PlaneRowAdjNode*>' used as a
declarator
Models/Model.h:111: parse error before `;' token
In file included from Brite.h:30,
                 from BriteMain.cc:28:
Models/RouterWaxmanModel.h:48: parse error before `)' token
In file included from Brite.h:31,
                 from BriteMain.cc:28:
Models/RouterBarabasiAlbertModel.h:50: parse error before `)' token
In file included from Brite.h:32,
                 from BriteMain.cc:28:
Models/ASWaxmanModel.h:49: parse error before `)' token
In file included from Brite.h:33,
                 from BriteMain.cc:28:
Models/ASBarabasiAlbertModel.h:40: parse error before `)' token
In file included from Brite.h:34,
                 from BriteMain.cc:28:
Models/ImportedFileModel.h:57: parse error before `)' token
Models/ImportedFileModel.h:66: `string' was not declared in this scope
  as a type.
Models/ImportedFileModel.h:69: 'string' is used as a type, but is not
defined
   as a type.
Models/ImportedFileModel.h:111: type specifier omitted for parameter
`string'
In file included from Brite.h:35,
                 from BriteMain.cc:28:
Models/TopDownHierModel.h:54: type specifier omitted for parameter
`vector<int>
   '
Models/TopDownHierModel.h:54: parse error before `&' token
Models/TopDownHierModel.h:55: type specifier omitted for parameter
`vector<int>
   '
Models/TopDownHierModel.h:55: parse error before `&' token
Models/TopDownHierModel.h:56: type specifier omitted for parameter
`vector<int>
   '
Models/TopDownHierModel.h:56: parse error before `&' token
Models/TopDownHierModel.h:57: type specifier omitted for parameter
`vector<int>
   '
Models/TopDownHierModel.h:57: parse error before `&' token
Models/TopDownHierModel.h:64: parse error before `)' token
Models/TopDownHierModel.h:69: 'vector' is used as a type, but is not defined
as
   a type.
Models/TopDownHierModel.h: In member function `void
   TopDownHierModel::SetModel(Model*, int)':
Models/TopDownHierModel.h:49: `models' undeclared (first use this function)
In file included from Brite.h:36,
                 from BriteMain.cc:28:
Models/BottomUpHierModel.h: At global scope:
Models/BottomUpHierModel.h:49: type specifier omitted for parameter `
   vector<Color>'
Models/BottomUpHierModel.h:49: parse error before `&' token
Models/BottomUpHierModel.h:54: parse error before `)' token
Models/BottomUpHierModel.h:60: 'vector' is used as a type, but is not
defined
   as a type.
BriteMain.cc: In member function `void BriteMain::InitSeeds(char*)':
BriteMain.cc:47: `ofstream' undeclared (first use this function)
BriteMain.cc:47: parse error before `;' token
BriteMain.cc:86: `last_seed_file' undeclared (first use this function)
BriteMain.cc: In member function `void BriteMain::OutputSeeds(char*)':
BriteMain.cc:129: `ofstream' undeclared (first use this function)
BriteMain.cc:129: parse error before `;' token
BriteMain.cc:130: `seed_file' undeclared (first use this function)
BriteMain.cc: In function `int main(int, char**)':
BriteMain.cc:261: no matching function for call to
`ImportedFilePar::GetFormat(
   )'
make[1]: *** [BriteMain.o] Error 1
make[1]: Leaving directory `/root/siva/BRITE/C++'
make: *** [c++] Error 2
[root at sivavm BRITE]#


thanks and regards
                  siva


-- INSERT
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cs-mailman.bu.edu/pipermail/brite-users/attachments/20080813/dbfc374c/attachment.html 


More information about the brite-users mailing list