Getting following errors while compiling Ruby.
Please suggest me any solution.
Regards,
Anup Mnadvariya
***********************************************************
Ruby: Generating ruby objects
make x86-linux/generated/MOSI_SMP_bcast/bin/tester.exec
make[1]: Entering directory `/home/anup/workspace/gems-2.0/ruby'
/usr/bin/g++ -o
x86-linux/generated/MOSI_SMP_bcast/obj/LazyTransactionVersionManager.o -c
log_tm/LazyTransactionVersionManager.C -DSPARC -DADD_ARCH_TO_API
-DSIMICS30 -DIS_RUBY -DTARGET_SPARC_V9 -DTARGET_VA_BITS=64
-DTARGET_PA_BITS=64 -Wall -W -Wwrite-strings -Woverloaded-virtual
-Wno-unused -march=i686 -g -ggdb -g3 -O2 -finline-functions
-DNO_VECTOR_BOUNDS_CHECKS -DMULTIFACET_NO_OPT_WARN -DRUBY_DEBUG=false
-Inetwork/simple -I. -I../common -I../common/gzstream -Ibuffers -Icommon
-Islicc_interface -Iprofiler -Iconfig -Ieventqueue -Isystem -Iinterfaces
-Isimics -Itester -Irecorder -Ilog_tm -Igenerated/MOSI_SMP_bcast
-I../common/ioutil -Inetwork -I/opt/virtutech/simics-3.0.30/src/include
-I/opt/virtutech/simics-3.0.30/src/include/simics
-I/opt/virtutech/simics-3.0.30/src/include/simics/core
-I/opt/virtutech/simics-3.0.30/src/include/simics/arch
-I/opt/virtutech/simics-3.0.30/src/include/simics/util
log_tm/LazyTransactionVersionManager.C: In member function `void
LazyTransactionVersionManager::issueWriteRequests(int)':
log_tm/LazyTransactionVersionManager.C:242: type specifier omitted for
parameter `CacheRequestType_ST_XACT'
log_tm/LazyTransactionVersionManager.C:243: type specifier omitted for
parameter `SIMICS_get_program_counter()'
log_tm/LazyTransactionVersionManager.C:244: type specifier omitted for
parameter `AccessModeType_UserMode'
log_tm/LazyTransactionVersionManager.C:245: type specifier omitted for
parameter `g_DATA_BLOCK_BYTES'
log_tm/LazyTransactionVersionManager.C:246: type specifier omitted for
parameter `PrefetchBit_No'
log_tm/LazyTransactionVersionManager.C:247: type specifier omitted for
parameter
log_tm/LazyTransactionVersionManager.C:247: parse error before numeric
constant
log_tm/LazyTransactionVersionManager.C:250: parse error before `->' token
log_tm/LazyTransactionVersionManager.C:253: no matching function for call
to `
Sequencer::makeRequest(CacheMsg (&)(...))'
system/Sequencer.h:138: candidates are: void Sequencer::makeRequest(const
CacheMsg&)
log_tm/LazyTransactionVersionManager.C:254: no match for `
Vector<Vector<Map<physical_address_t, uint8> > >& [CacheMsg&]' operator
../common/Vector.h:108: candidates are: const TYPE&
Vector<TYPE>::operator[](int) const [with TYPE =
Vector<Map<physical_address_t, uint8> >]
../common/Vector.h:109: TYPE& Vector<TYPE>::operator[](int)
[with TYPE = Vector<Map<physical_address_t, uint8> >]
log_tm/LazyTransactionVersionManager.C:257: base operand of `->' has
non-pointer type `CacheMsg'
log_tm/LazyTransactionVersionManager.C:257: no matching function for call
to `
LazyTransactionVersionManager::getLogicalProcID(CacheMsg&)'
log_tm/LazyTransactionVersionManager.C:99: candidates are: int
LazyTransactionVersionManager::getLogicalProcID(int) const
log_tm/LazyTransactionVersionManager.C:259: no matching function for call
to `
LazyTransactionVersionManager::getLogicalProcID(CacheMsg&)'
log_tm/LazyTransactionVersionManager.C:99: candidates are: int
LazyTransactionVersionManager::getLogicalProcID(int) const
log_tm/LazyTransactionVersionManager.C:261: base operand of `->' has
non-pointer type `CacheMsg'
log_tm/LazyTransactionVersionManager.C:261: no matching function for call
to `
LazyTransactionVersionManager::getLogicalProcID(CacheMsg&)'
log_tm/LazyTransactionVersionManager.C:99: candidates are: int
LazyTransactionVersionManager::getLogicalProcID(int) const
log_tm/LazyTransactionVersionManager.C:263: no matching function for call
to `
LazyTransactionVersionManager::getLogicalProcID(CacheMsg&)'
log_tm/LazyTransactionVersionManager.C:99: candidates are: int
LazyTransactionVersionManager::getLogicalProcID(int) const
make[1]: ***
[x86-linux/generated/MOSI_SMP_bcast/obj/LazyTransactionVersionManager.o]
Error 1
make[1]: Leaving directory `/home/anup/workspace/gems-2.0/ruby'
make: *** [all] Error 2
[anup@localhost ruby]$
************************************
|