Re: oProfile building trouble

William Cohen <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <[email protected]>
On 02/15/2017 08:51 PM, [email protected] wrote:
> Hi all,
> 
>  
> 
> I met some trouble when I build oprofile.  It shows me "kernel supports perf_events... no“.
> 
>  
> 
> I have tried oprofile-1.0.0, oprofile-1.1.0, oprofile-0.9.6.
> 
>  
> 
> My building environment is kernel3.3.8, binutils-2.26 and popt-1.14.
> 
>  
> 
> I enclosed building log. Any help would be appreciated.
> 
>  
> 
> BestRegards,
> 
> Ryan
> 
> Date:10/10/2015

Hi Ryan,

The real problem seems to be:

checking for cplus_demangle in -liberty... no
configure: error: liberty library not found

The configure can't find the needed file ( libiberty.a) to build things with liberty.  On fedora these are supplied by binutils-devel.  I am not so sure what supplies them for the cross compile enviroment you are using.

-Will

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
oprofile-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oprofile-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.