Skip Nav
Home » Forums » SystemC Forum

Icon - KMLM List KMLM List

View email archives for the history of this mailing list.

List Home All Archives Dates Threads Authors Subjects
systemc-forum - System C Error Message Thread: Previous | Next
  • To: <systemc-forum@xxxxxxxxxxxxxxxxx>
  • From: vince vince <vincekoskesh@xxxxxxxxxxx>
  • Date: Fri, 4 Dec 2009 00:50:24 -0500
Send Email to systemc-forum@lists.systemc.org:
Send new message
Reply to this message

HI all,

I get the following error:
g++ -I. -I/home/vinnyp/systemc-2.2.0/include -I./common_constants 
-I./cache_protocol -I./cache_protocol/state -I./cache_protocol/protocol 
-I./cache_share_protocol -I./cache -I./memory_controller_arbiter 
-I./memory_controller -I./network_logic -I./app_engine -I./msg/msg 
-I./msg/app_cache_msg -I./msg/cache_cache_msg -I./msg/cache_mem_msg 
-I./msg/cache_data_table_msg -I./error -L. 
-L/home/vinnyp/systemc-2.2.0/lib-linux  -o run sim/sc_main.cpp -lsystemc -lm 
In file included from sim/sc_main.cpp:2:
./cache/cache.cpp: In member function ‘bool Cache::write_netif(msg)’:
./cache/cache.cpp:75: error: no matching function for call to 
‘sc_core::sc_fifo_out_if<cache_cache_msg>::nb_write(msg&)’
/home/vinnyp/systemc-2.2.0/include/sysc/communication/sc_fifo_ifs.h:142: note: 
candidates are: bool sc_core::sc_fifo_nonblocking_out_if<T>::nb_write(const T&) 
[with T = cache_cache_msg]
make: *** [sys] Error 1

I attached the cache.cpp, msg.h and cache_cache_msg.h files.

I'm loosing my hair over this :-)

Thank you,
Vince
                                          
_________________________________________________________________
Ready. Set. Get a great deal on Windows 7. See fantastic deals on Windows 7 now
http://go.microsoft.com/?linkid=9691818

Attachment: cache.cpp
Description: Text Data

Attachment: cache_cache_msg.h
Description: Text Data

Attachment: msg.h
Description: Text Data


By Date: Previous | Next Current Thread By Thread: Previous | Next