[Gems-users] Ruby compilation Error


Date: Sat, 27 Oct 2007 18:01:07 +0530 (IST)
From: anup_m@xxxxxxxxxxxxxxxxxxx
Subject: [Gems-users] Ruby compilation Error
Hi All,
Please help me out with the ruby compilation error as in attached file.

Regards,
Anup

[anup@localhost 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:63:23: interface.h: No such file or
directory
log_tm/LazyTransactionVersionManager.C: In member function `Vector<uint8>
   LazyTransactionVersionManager::forwardData(int, int, Address, int)':
log_tm/LazyTransactionVersionManager.C:186: `SIMICS_read_physical_memory'
   undeclared (first use this function)
log_tm/LazyTransactionVersionManager.C:186: (Each undeclared identifier is
   reported only once for each function it appears in.)
log_tm/LazyTransactionVersionManager.C: In member function `void
   LazyTransactionVersionManager::flushWriteBuffer(int, int)':
log_tm/LazyTransactionVersionManager.C:217: `SIMICS_write_physical_memory'
   undeclared (first use this function)
log_tm/LazyTransactionVersionManager.C:230: `SIMICS_processor_enabled'
   undeclared (first use this function)
log_tm/LazyTransactionVersionManager.C:231: `SIMICS_enable_processor'
   undeclared (first use this function)
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
log_tm/LazyTransactionVersionManager.C:263: `SIMICS_post_disable_processor'
   undeclared (first use this function)
[anup@localhost ruby]$
[← Prev in Thread] Current Thread [Next in Thread→]