#3 configure problem

closed-fixed
nobody
None
5
2001-02-14
2001-02-13
Anonymous
No

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.

regards, Mark

Discussion

  • Nobody/Anonymous

    Contact info is mark@northforknet.com

     
  • John Levon

    John Levon - 2001-02-14
    • status: open --> closed-fixed
     
  • John Levon

    John Levon - 2001-02-14

    The dl/liberty problem is fixed in current CVS.

    The other part needs resubmitting, with kernel
    version, if it happens in current CVS.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks