----- Original Message -----
From: saurabh jain <
saurabh.jain.bits@xxxxxxxxx>
Date: Tuesday, January 31, 2012 11:53 pm
Subject: Re: [systemc-forum] New to SystemC and Need some help
To: Parav Pandit <
paravpandit@xxxxxxxxx>
Cc:
systemc-forum@xxxxxxxxxxxxxxxxxxx, "balyusuf @
iastate.edu" <
balyusuf@xxxxxxxxxxx>
> Hi Parav,
>
> Thanks for listing down the steps. I tried installing SystemC-2.2.0 but
> currently stuck at following error after doing "make all":
>
> make[3]: Entering directory
> `/home/saurabh/SystemC/systemc-2.2.0/src/sysc/communication'
> g++ -I. -I. -I. -I../../../src -Wall -DSC_INCLUDE_FX -O3 -c -o
> sc_signal.o `test -f 'sc_signal.cpp' || echo './'`sc_signal.cpp
> In file included from ../../../src/sysc/datatypes/bit/sc_bv_base.h:50:0,
> from ../../../src/sysc/datatypes/bit/sc_lv_base.h:56,
> from sc_signal.cpp:102:
> ../../../src/sysc/datatypes/bit/sc_bit_proxies.h:716:16: error: reference
> ‘m_obj’ cannot be declared ‘mutable’ [-fpermissive]
> ../../../src/sysc/datatypes/bit/sc_bit_proxies.h:1193:18: error: reference
> ‘m_left’ cannot be declared ‘mutable’ [-fpermissive]
> ../../../src/sysc/datatypes/bit/sc_bit_proxies.h:1194:18: error: reference
> ‘m_right’ cannot be declared ‘mutable’ [-fpermissive]
> ../../../src/sysc/datatypes/bit/sc_bit_proxies.h:1196:18: error: reference
> ‘m_refs’ cannot be declared ‘mutable’ [-fpermissive]
> In file included from sc_signal.cpp:102:0:
> ../../../src/sysc/datatypes/bit/sc_lv_base.h: In member function
> ‘sc_dt::sc_logic_value_t sc_dt::sc_lv_base::get_bit(int) const’:
> ../../../src/sysc/datatypes/bit/sc_lv_base.h:310:33: warning: suggest
> parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
>
> Could you please suggest on how to resolve these errors?
>
> Regards,
> Saurabh
>
> On Tue, Jan 31, 2012 at 9:47 PM, Parav Pandit <
paravpandit@xxxxxxxxx>
> wrote:
>
> > Hi,
> >
> > You can start easily with Linux.
> > Follow below simple steps and get your examples rolling.
> > 1. Download open source SystemC libraries from,
> >
> >
http://www.accellera.org/members/download_files/check_file?agreement=systemc_2-2-0_07-03-14
> >
> > 2. Run ./configure; make all; make install
> >
> > 3. Run examples from examples and start with it.
> >
> > Once you get familiar with SystemC, syntax etc, you can start with
> TLM or
> > analog or mix signaling etc learning.
> >
> > Regards,
> > Parav Pandit
> >