Hi Uday,
How are you building your so file? Are you including libprotobuf in the process?
Andreas
From: <Ranga>, L Udaya <udayara...@ti.com<mailto:udayara...@ti.com>>
Reply-To: gem5 users mailing list
<gem5-users@gem5.org<mailto:gem5-users@gem5.org>>
Date: Thursday, 28 March 2013 04:41
To: "Ranga, L Udaya" <udayara...@ti.com<mailto:udayara...@ti.com>>, gem5 users
mailing list <gem5-users@gem5.org<mailto:gem5-users@gem5.org>>
Subject: Re: [gem5-users] protoc dependency
Andreas,
Is there a way I can disable usage of protoc?
I’m using RHEL machine, so one thing I can try is to install protobuf-devel
package too.
-Uday
From: Ranga, L Udaya
Sent: Wednesday, March 27, 2013 11:29 AM
To: 'gem5 users mailing list'
Subject: RE: [gem5-users] protoc dependency
Hi Andreas,
Yeah, I compiled and ran gem5.opt w/ hello_world successfully.
But, <gem5>.so still complains of the undefined symbol
_ZNK6google8protobuf7Message11GetTypeNameEv.
-Uday
From:gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org>
[mailto:gem5-users-boun...@gem5.org] On Behalf Of Andreas Hansson
Sent: Tuesday, March 26, 2013 3:38 PM
To: gem5 users mailing list
Subject: Re: [gem5-users] protoc dependency
Hi Uday,
I don't dare say what's going wrong in the last linking step, but in terms of
the gem5 warning, you should be fine with the steps you mention. If you compile
gem5 as an executable, does it work fine?
There have been other reports of protobuf 2.5.0 causing some issues, but that
could be completely unrelated.
Andreas
From: <Ranga>, L Udaya <udayara...@ti.com<mailto:udayara...@ti.com>>
Reply-To: gem5 users mailing list
<gem5-users@gem5.org<mailto:gem5-users@gem5.org>>
Date: Tuesday, 26 March 2013 09:58
To: gem5 users mailing list <gem5-users@gem5.org<mailto:gem5-users@gem5.org>>
Subject: [gem5-users] protoc dependency
Hi,
I get the following error upon trying to build gem5:
Warning: Protocol buffer compiler (protoc) not found.
Please install protobuf-compiler for tracing support.
I have compiled and installed protobuf, how do I indicate it to gem5 build
system?
I have tried:
1. Setting environment PROTOC to /<some_path>/protobuf-2.5.0/install/bin
2. Setting environment PKG_CONFIG_PATH to /<some_ path
>/protobuf-2.5.0/install/lib/pkgconfig
Build completes, but when I collect *.o into a <gem5.so> link it w/ an
executable, I get this error:
undefined symbol: _ZNK6google8protobuf7Message11GetTypeNameEv
I assume this arises because of the warning while gem5 build. How can I resolve
this?
Thanks,
Uday
-- 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.
-- 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.
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users