I'm using redhat 7.0 with oprofile-0.0.2.
The configure script did not find CONFIG_X86_LOCAL_APIC
initially. I ran autoconf and it worked. I've got
autoconf-2.13-9 installed. Perhaps you oprofile-0.0.2
is using an older version?
libiberty was not detected because it needed symbols from
libdl which was detected after libiberty. Changing the
ordering of these 2 in configure.in fixes the problem:
AC_CHECK_LIB(popt, poptGetContext,, AC_MSG_ERROR(popt library not found))
AC_CHECK_LIB(dl, dlopen,, AC_MSG_ERROR(dl library not found))
AC_CHECK_LIB(iberty, cplus_demangle,, AC_MSG_ERROR(liberty library not found))
AC_CHECK_LIB(bfd, bfd_openr,, AC_MSG_ERROR(bfd library not found))
I hope these notes are useful. Feel free to contact me
if you need any further information.
Log in to post a comment.