Dear Andreas

Thank you for your response. Before I read it, however, I tried compiling
with the modified comm_monitor.cc again and it worked! Strange. I still do
not know what the problem was with the original file.

And yes, you are right about the functionality of comm monitor, but since I
needed to also see the relevant data, I had to modify the file a little.

Best regards
Azadeh

On Wed, Jun 3, 2015 at 5:57 PM, Andreas Hansson <[email protected]>
wrote:

>  Hi Azadeh,
>
>  It sounds like you’ve got something wrong with the comm_monitor.cc file.
> Make sure you have the appropriate version (hg revert
> src/mem/comm_monitor.cc). Also, you do not need to change the comm monitor
> to trace packets. It’s already part of its functionality.
>
>  Andreas
>
>   From: Azadeh Shirvanian <[email protected]>
> Reply-To: gem5 users mailing list <[email protected]>
> Date: Wednesday, 3 June 2015 04:57
> To: "[email protected]" <[email protected]>
> Subject: [gem5-users] Error: Undefined reference to `vtable for
> CommMonitor'
>
>  Dear all
>
>  I was using CommMonitor to trace the packets between CPU and L1 cache so
> far. Now I do not need to trace them. So I replaced the modified
> *BaseCPU.py* and *comm_monitor.cc* files with the *original ones*.
>
>  However, when I compile gem5 with the following command:
>
>  scons build/X86/gem5.opt -j2
>
>  I get the following error:
>
> build/X86/mem/comm_monitor.o: In function `CommMonitor':
> /home/azadeh/gem5/build/X86/mem/comm_monitor.cc:59: undefined reference to
> `vtable for CommMonitor'
> /home/azadeh/gem5/build/X86/mem/comm_monitor.cc:59: undefined reference to
> `vtable for CommMonitor'
> collect2: ld returned 1 exit status
> scons: *** [build/X86/gem5.opt] Error 1
> scons: building terminated because of errors.
>
>  I would really like to know how I can have a successful compile again
> and would appreciate any help.
>
>  Best regards
>  Azadeh
>
>
> -- IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>
> ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
> Registered in England & Wales, Company No: 2557590
> ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
> Registered in England & Wales, Company No: 2548782
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to