KMLM List
View email archives for the history of this mailing list.
|
|
|
|
systemc-forum - Re: [systemc-forum] face problem in compilation of code
|
Message Thread:
Previous |
Next
|
- To: mitul nagar <mitul.nagar.08ec@xxxxxxxxx>
- From: Aneesh Bhasin <contact.aneesh@xxxxxxxxx>
- Date: Tue, 28 Feb 2012 13:14:40 +0530
- Cc: systemc-forum@xxxxxxxxxxxxxxxxxxx
- Send Email to systemc-forum@lists.accellera.org:
- Send new message
- Reply to this message
|
Hi Mitul..
On Tue, Feb 28, 2012 at 12:31 PM, mitul nagar
<mitul.nagar.08ec@xxxxxxxxx> wrote:
>
> dear friends,
>
> i am finding problem in compilation of systemc code
> please guide me for this problem
>
> ./Testbench/main.o: In function `ei_wic::ei_wic(sc_core::sc_module_name)':
> main.cpp:(.text._ZN6ei_wicC2EN7sc_core14sc_module_nameE[_ZN6ei_wicC5EN7sc_core14sc_module_nameE]+0x684):
> undefined reference to `ei_wic::wic_pwr()'
> ./Testbench/main.o: In function `ei_pmu::ei_pmu(sc_core::sc_module_name)':
> main.cpp:(.text._ZN6ei_pmuC2EN7sc_core14sc_module_nameE[_ZN6ei_pmuC5EN7sc_core14sc_module_nameE]+0x531):
> undefined reference to
> `ei_pmu::pwr_mng_unt()'
It's difficult without looking at a sample code, but from the error
its clear that the linker cannot find the correct definition of
functions ei_wic::wic_pwr() and ei_pmu::pwr_mng_unt() - maybe you have
declared and defined these with different return types or function
parameters, or maybe, you have not made these functions a part of the
ei_pmu class..
hope that helps..
thanks and regards,
Aneesh
|
|