Thread: troubles compiling valgrind with ulibc

  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    42

    troubles compiling valgrind with ulibc

    Hi There,

    I would like to compile valgrind on a ulibC system but it's making me troubles and I can't figure out how to resolve them...
    The output i'm getting is like this:
    Code:
    ../coregrind/libcoregrind-x86-linux.a(libcoregrind_x86_linux_a-aspacemgr-linux.o): In function `vgPlain_am_do_sync_check':
    m_aspacemgr/aspacemgr-linux.c:1059: undefined reference to `parse_procselfmaps'
    ../coregrind/libcoregrind-x86-linux.a(libcoregrind_x86_linux_a-aspacemgr-linux.o): In function `vgPlain_am_startup':
    m_aspacemgr/aspacemgr-linux.c:1683: undefined reference to `parse_procselfmaps'
    collect2: ld returned 1 exit status
    make[4]: *** [memcheck-x86-linux] Error 1
    make[4]: Leaving directory `/home/ron/valgrind-3.5.0/memcheck'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/ron/valgrind-3.5.0/memcheck'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/ron/valgrind-3.5.0/memcheck'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/ron/valgrind-3.5.0'
    make: *** [all] Error 2
    and this is after using ./configure --enable-only32bit --enable-inner
    Does any one have a clue what I'm missing?
    Thank you!
    roN

  2. #2
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    What is ulibC? Do you mean uClibC? Are you cross compiling this, or compiling on the target?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Bug hunting with Valgrind
    By Smjert in forum C Programming
    Replies: 8
    Last Post: 11-06-2008, 04:21 AM
  2. Replies: 1
    Last Post: 12-01-2007, 02:06 AM
  3. Is valgrind always right?
    By g4j31a5 in forum Linux Programming
    Replies: 3
    Last Post: 07-16-2007, 10:39 PM
  4. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  5. WINOLDAP (Compiling troubles)
    By Magos in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 11-15-2001, 02:40 AM