downloaded valgrind package and tried to compile - getting this link error- any idea?
gcc -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement -fno-stack-protector -o memcheck-x86-linux -static -Wl,-defsym,valt_loa d_address=0x380 00000 -nodefaultlibs -nostartfiles -u _start -m32 -Wl,-T,../valt_load_addre ss_x86_linux.ld s memcheck_x86_li nux-mc_leakcheck.o memcheck_x86_li nux-mc_malloc_wrapp ers.o memcheck_x86_li nux-mc_main.o memcheck_x86_li nux-mc_translate.o memcheck_x86_li nux-mc_machine.o memcheck_x86_li nux-mc_errors.o ../coregrind/libcoregrind-x86-linux.a ../VEX/libvex-x86-linux.a -lgcc
../coregrind/libcoregrind-x86-linux.a(libcore grind_x86_linux _a-aspacemgr-linux.o): In function `vgPlain_am_do_ sync_check':
m_aspacemgr/aspacemgr-linux.c:1059: undefined reference to `parse_procself maps'
../coregrind/libcoregrind-x86-linux.a(libcore grind_x86_linux _a-aspacemgr-linux.o): In function `vgPlain_am_sta rtup':
m_aspacemgr/aspacemgr-linux.c:1683: undefined reference to `parse_procself maps'
collect2: ld returned 1 exit status
make[6]: *** [memcheck-x86-linux] Error 1
gcc -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement -fno-stack-protector -o memcheck-x86-linux -static -Wl,-defsym,valt_loa d_address=0x380 00000 -nodefaultlibs -nostartfiles -u _start -m32 -Wl,-T,../valt_load_addre ss_x86_linux.ld s memcheck_x86_li nux-mc_leakcheck.o memcheck_x86_li nux-mc_malloc_wrapp ers.o memcheck_x86_li nux-mc_main.o memcheck_x86_li nux-mc_translate.o memcheck_x86_li nux-mc_machine.o memcheck_x86_li nux-mc_errors.o ../coregrind/libcoregrind-x86-linux.a ../VEX/libvex-x86-linux.a -lgcc
../coregrind/libcoregrind-x86-linux.a(libcore grind_x86_linux _a-aspacemgr-linux.o): In function `vgPlain_am_do_ sync_check':
m_aspacemgr/aspacemgr-linux.c:1059: undefined reference to `parse_procself maps'
../coregrind/libcoregrind-x86-linux.a(libcore grind_x86_linux _a-aspacemgr-linux.o): In function `vgPlain_am_sta rtup':
m_aspacemgr/aspacemgr-linux.c:1683: undefined reference to `parse_procself maps'
collect2: ld returned 1 exit status
make[6]: *** [memcheck-x86-linux] Error 1
Comment