Here is the problem. make command to compile ruby: make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast
I use Linux Redhat9, gcc version 3.2.2. The following error information is given:
......
/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 -Inetwork/garnet-flexible-pipeline -I. -Inetwork/garnet-fixed-pipeline -Inetwork/orion -I../common -I../common/gzstream -Ibuffers -Icommon -Islicc_interface -Iprofiler -Iconfig -Ieventqueue -Isystem -Iinterfaces -Isimics -Itester -Irecorder -Ilog_tm -Irock -Igenerated/MOSI_SMP_bcast -I../common/ioutil -Inetwork -I/opt/virtutech/simics-3.0.31/src/include -I/opt/virtutech/simics-3.0.31/src/include/simics -I/opt/virtutech/simics-3.0.31/src/include/simics/core -I/opt/virtutech/simics-3.0.31/src/include/simics/arch -I/opt/virtutech/simics-3.0.31/src/include!
/s!
imics/util
log_tm/LazyTransactionVersionManager.C: In member function `void
LazyTransactionVersionManager::issueWriteRequests(int)':
log_tm/LazyTransactionVersionManager.C:287: type specifier omitted for
parameter `CacheRequestType_ST_XACT'
log_tm/LazyTransactionVersionManager.C:288: type specifier omitted for
parameter `SIMICS_get_program_counter()'
log_tm/LazyTransactionVersionManager.C:289: type specifier omitted for
parameter `AccessModeType_UserMode'
log_tm/LazyTransactionVersionManager.C:290: type specifier omitted for
parameter `g_DATA_BLOCK_BYTES'
log_tm/LazyTransactionVersionManager.C:291: type specifier omitted for
parameter `PrefetchBit_No'
log_tm/LazyTransactionVersionManager.C:292: type specifier omitted for
parameter
log_tm/LazyTransactionVersionManager.C:292: parse error before numeric constant
log_tm/LazyTransactionVersionManager.C:295: parse error before `->' token
log_tm/LazyTransactionVersionManager.C:298: no matching function for call to `
Sequencer::makeRequest(CacheMsg (&)(...))'
system/Sequencer.h:138: candidates are: void Sequencer::makeRequest(const
CacheMsg&)
log_tm/LazyTransactionVersionManager.C:299: 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:302: base operand of `->' has
non-pointer type `CacheMsg'
log_tm/LazyTransactionVersionManager.C:302: no matching function for call to `
LazyTransactionVersionManager::getLogicalProcID(CacheMsg&)'
log_tm/LazyTransactionVersionManager.C:121: candidates are: int
LazyTransactionVersionManager::getLogicalProcID(int) const
log_tm/LazyTransactionVersionManager.C:304: no matching function for call to `
LazyTransactionVersionManager::getLogicalProcID(CacheMsg&)'
log_tm/LazyTransactionVersionManager.C:121: candidates are: int
LazyTransactionVersionManager::getLogicalProcID(int) const
log_tm/LazyTransactionVersionManager.C:306: base operand of `->' has
non-pointer type `CacheMsg'
log_tm/LazyTransactionVersionManager.C:306: no matching function for call to `
LazyTransactionVersionManager::getLogicalProcID(CacheMsg&)'
log_tm/LazyTransactionVersionManager.C:121: candidates are: int
LazyTransactionVersionManager::getLogicalProcID(int) const
log_tm/LazyTransactionVersionManager.C:308: no matching function for call to `
LazyTransactionVersionManager::getLogicalProcID(CacheMsg&)'
log_tm/LazyTransactionVersionManager.C:121: candidates are: int
LazyTransactionVersionManager::getLogicalProcID(int) const
make[1]: *** [x86-linux/generated/MOSI_SMP_bcast/obj/LazyTransactionVersionManager.o] Error 1
make: *** [all] Error 2
--------------
Yang Zhao
2008-06-10
>Please include the specific error message when posting in the future.
>
>That said, this error can arise when PROTOCOL= isn't properly specified
>on the make command line, or the protocol is misspelled. Look in
>$GEMS/protocols/ for valid protocol names -- any name that ends in
>.slicc is OK.
>
>Regards,
>Dan
>
>yzhao006 wrote:
>> Hello, all,
>>
>> I have a problem in compiling the ruby. In ruby/log_tm/LazyTransactionVersionManager.C file, line 283, the class CacheMsg is used but compilier can not found its definition (I do not find the head file "CacheMsg.h", either). I want to know how to solve this problem.
>>
>> Thank you!
>>
>> ----------------------------------------
>> Yang Zhao
>> 2008-06-10
>>
>> _______________________________________________
>> Gems-users mailing list
>> Gems-users@xxxxxxxxxxx
>> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>> Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
>>
>>
>>
>
>--
>http://www.cs.wisc.edu/~gibson [esc]:wq!
>
>_______________________________________________
>Gems-users mailing list
>Gems-users@xxxxxxxxxxx
>https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
>
|