by seb.mcmahon » Fri Mar 14, 2008 11:34 am
Hi Michel
Thanks for the quick reply.
I ran "make" in the "preprocessor" folder and there was indded an error:
uname: illegal option -- o
usage: uname [-amnprsv]
uname: illegal option -- o
usage: uname [-amnprsv]
make -C macro
uname: illegal option -- o
usage: uname [-amnprsv]
g++ -Wall -O3 -MD -I include -c MacroFlex.cc
g++ -Wall -O3 -MD -I include -c MacroBison.cc
g++ -Wall -O3 -MD -I include -c MacroDriver.cc
g++ -Wall -O3 -MD -I include -c MacroValue.cc
ar crs libmacro.a MacroFlex.o MacroBison.o MacroDriver.o MacroValue.o
g++ -Wall -O3 -MD -I include -c DynareFlex.cc
g++ -Wall -O3 -MD -I include -c DynareBison.cc
g++ -Wall -O3 -MD -I include -c ComputingTasks.cc
g++ -Wall -O3 -MD -I include -c ModelTree.cc
ModelTree.cc: In member function ‘void
ModelTree::writeModelStaticEquationsOrdered_M(std::ostream&,
Model_Block*, const std::string&) const’:
ModelTree.cc:878: warning: ‘IM’ may be used uninitialized in this
function
g++ -Wall -O3 -MD -I include -c NumericalConstants.cc
g++ -Wall -O3 -MD -I include -c NumericalInitialization.cc
g++ -Wall -O3 -MD -I include -c Shocks.cc
g++ -Wall -O3 -MD -I include -c SigmaeInitialization.cc
SigmaeInitialization.cc: In member function ‘virtual void
SigmaeStatement::writeOutput(std::ostream&, const std::string&) const’:
SigmaeInitialization.cc:65: warning: ‘ir1’ may be used uninitialized
in this function
SigmaeInitialization.cc:64: warning: ‘ic1’ may be used uninitialized
in this function
g++ -Wall -O3 -MD -I include -c SymbolTable.cc
SymbolTable.cc: In member function ‘void SymbolTable::addSymbol(const
std::string&, Type, const std::string&)’:
SymbolTable.cc:41: warning: ‘id’ may be used uninitialized in this
function
g++ -Wall -O3 -MD -I include -c TmpSymbolTable.cc
g++ -Wall -O3 -MD -I include -c VariableTable.cc
g++ -Wall -O3 -MD -I include -c ParsingDriver.cc
g++ -Wall -O3 -MD -I include -c DataTree.cc
DataTree.cc: In member function ‘ExprNode*
DataTree::AddPlus(ExprNode*, ExprNode*)’:
DataTree.cc:75: warning: control may reach end of non-void function
‘ExprNode* DataTree::AddMinus(ExprNode*, ExprNode*)’ being inlined
g++ -Wall -O3 -MD -I include -c ModFile.cc
g++ -Wall -O3 -MD -I include -c Statement.cc
g++ -Wall -O3 -MD -I include -c ExprNode.cc
g++ -Wall -O3 -MD -I include -c ModelNormalization.cc
g++ -Wall -O3 -MD -I include -c ModelBlocks.cc
g++ -Wall -O3 -MD -I include -c BlockTriangular.cc
g++ -Wall -O3 -MD -I include -c Model_Graph.cc
Model_Graph.cc: In function ‘void IM_to_model_graph_new(List_IM*, int,
int, int*, int*, t_model_graph*, int*, int*, double**, int*)’:
Model_Graph.cc:749: warning: ‘u_count_per_period’ may be used
uninitialized in this function
g++ -Wall -O3 -MD -I include -c SymbolGaussElim.cc
g++ -Wall -O3 -MD -I include -c DynareMain.cc
g++ -Wall -O3 -MD -I include -c DynareMain2.cc
g++ -Wall -O3 -MD -I include -c InterfaceMatlab.cc
g++ -Wall -O3 -o dynare_m DynareFlex.o DynareBison.o ComputingTasks.o
ModelTree.o NumericalConstants.o NumericalInitialization.o Shocks.o
SigmaeInitialization.o SymbolTable.o TmpSymbolTable.o VariableTable.o
ParsingDriver.o DataTree.o ModFile.o Statement.o ExprNode.o
ModelNormalization.o ModelBlocks.o BlockTriangular.o Model_Graph.o
SymbolGaussElim.o DynareMain.o DynareMain2.o InterfaceMatlab.o -Lmacro
-lmacro
ld: warning in macro/libmacro.a, file is not of required architecture
Undefined symbols:
"MacroDriver::parse(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::basic_ostream<char,
std::char_traits<char> >&)", referenced from:
_main in DynareMain.o
"MacroDriver::MacroDriver()", referenced from:
_main in DynareMain.o
"MacroDriver::~MacroDriver()", referenced from:
_main in DynareMain.o
_main in DynareMain.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [dynare_m] Error 1
I hope this helps.
Sébastien