Hi Stephane,

Thanks. Yes, it is the problem.
 
Thanks!
Best
Junjie


________________________________
 From: Stephane Eranian <eran...@googlemail.com>
To: Junjie Qian <junjie.q...@yahoo.com> 
Cc: perfmon2-devel <perfmon2-devel@lists.sourceforge.net> 
Sent: Monday, August 19, 2013 4:29 AM
Subject: Re: Questions on libpfm4 error, incompatible libpfm.so with -lpfm
 







On Mon, Aug 19, 2013 at 5:27 AM, Junjie Qian <junjie.q...@yahoo.com> wrote:

Hi all,
>
>
>I am new to use libpfm4, and have one problem during use this tool.
>
>
>The question is, I am using one software JikesRVM is built with libpfm4, but 
>when I built it the following error happens.
>     [exec] /usr/bin/ld: skipping incompatible 
>/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../libpfm.so when searching for -lpfm
>>     [exec] /usr/bin/ld: skipping incompatible 
>>/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../libpfm.a when searching for -lpfm
>>     [exec] /usr/bin/ld: skipping incompatible /usr/local/lib/libpfm.so when 
>>searching for -lpfm
>>     [exec] /usr/bin/ld: skipping incompatible /usr/local/lib/libpfm.a when 
>>searching for -lpfm
>>     [exec] /usr/bin/ld: skipping incompatible /usr/lib/libpfm.so when 
>>searching for -lpfm
>>     [exec] /usr/bin/ld: skipping incompatible /usr/lib/libpfm.a when 
>>searching for -lpfm
>>     [exec] /usr/bin/ld: cannot find -lpfm
>I can build the examples in libpfm correctly, so libpfm4 should be installed 
>right. But no idea what this error is about?
>Please give me some hint on this.
> 
I bet JikesRVM is compiled as a 32-bit X86 binary and you have libpfm built as 
a 64-bit binary.
 

>
>Thanks!
>BestJunjie
>------------------------------------------------------------------------------
>Get 100% visibility into Java/.NET code with AppDynamics Lite!
>It's a free troubleshooting tool designed for production.
>Get down to code-level detail for bottlenecks, with <2% overhead.
>Download for free and get started troubleshooting in minutes.
>http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
>_______________________________________________
>perfmon2-libpfm4-commits mailing list
>perfmon2-libpfm4-comm...@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/perfmon2-libpfm4-commits
>
>
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to