From: Maynard J. <may...@us...> - 2011-04-09 22:14:52
|
On 04/09/2011 7:28 AM, durga prasad wrote: > Hi All, > > I am trying to cross compile the oprofile for ARMv7 for cortex A9. > I am facing issue while croos compiling the oprofile for target. > > I am using oprofile-0.96 and compiling on ubuntu-10.10 ,target is armv7 cortex A9 > > Always I am getting an below error message > *"checking for poptGetContext in -lpopt... no"* > *"configure: error: popt library not found"* > > I was unable to complie the oprofile for x86 arch also.Its giving the same error > message for x86 also. > * > libpopt.so.0 is present in the path /usr/lib/ * This is a runtime library. You need a devel library -- either the archive (libpopt.a) or shared lib (libpopt.so). The *.so libs are usually contained in a companion <pkg-name>-devel package, although I don't know how Ubuntu packages things. NOTE: the *.so files are typically symlinks to the runtime library. I added Richard Purdie to the "To" list. If you have further issues building/running on ARM, he's the guy who can help. -Maynard > > > I specified the command as > *./configure --with-kernel-support --with-extra-libs=/usr/lib/* for x86 machine > > *"./configure --build=i686-linux --host=arm-linux" *for the target > > Can anyone help me how to solve this issue and what steps to follow to cross > compile the oprofile for the target or a link to cross compile the oprofile. > > Thanks in Advance, > Durga Prasad. > > > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > > > > _______________________________________________ > oprofile-list mailing list > opr...@li... > https://lists.sourceforge.net/lists/listinfo/oprofile-list |