Re: not able to build Oprofile on ubuntu 14.04
Michael Petlan <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <alpine.LRH.2.20.1701200221030.23295@Diego> |
Hi Shiva, I haven't understood why you copy libiberty.a and/or lrt.a anywhere... This shouldn't be necessary to be done. You just need to install packages: apt-get install libiberty-dev binutils-dev libpopt-dev libc6-dev The clock_gettime() function should be available in libc6-dev. Having that (and build-essentials), you should be able to proceed through the ./configure pass without any other problems. On Fri, 20 Jan 2017, Shiva M wrote: > Hi Michael, > Thank for your response. After copying libiberty.a to installed directory, Error "configure: error: liberty library not found" got solved. But I see > > configure: error: Unable to find clock_gettime function; required by ocount > > I checked configure.ac and pe_couting/Makefile.am. Both these files are latest. I tried copying lrt.a file to installed directory but its not working. > > Any help would really appreciated. > > Thanks, > Shiva > > On Thu, Jan 19, 2017 at 6:31 PM, Michael Petlan <[email protected]> wrote: > Hi Shiva, > > on Debian, the package you need is called "libiberty-dev". > I expect it will be the same on Ubuntu. > > Hope it helps. > > Cheers, > Michael > > On Thu, 19 Jan 2017, Shiva M wrote: > Hi > I am new to Oprofile tools. I have downloaded oprofile-1.1.0.tgz and ran ./configure but I see > > configure: error: liberty library not found > > > I have built the dependencies but somehow not able to build Oprofile. I have installed popt library and follwed binutils pass1 and pass2 from linux from > scratch website to build > bintutils-2.27 > > http://www.linuxfromscratch.org/lfs/view/development/chapter05/binutils-pass2.html > > Can someone help in building Oprofile-1.1.0. > > Thanks, > Shiva > > > > > ------------------------------------------------------------------------------ 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