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/



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.