2016-10-28 106 views
0

我正在试图在OSX 10.11.2上安装名为Valgrind的调试器。未定义的符号___ctzdi2

在运行时许,我收到以下错误

Undefined symbols for architecture i386: 
    "___ctzdi2", referenced from: 
     _doRegisterAllocation in libvex-x86-darwin.a(libvex_x86_darwin_a-host_generic_reg_alloc2.o) 
ld: symbol(s) not found for architecture i386 
make[3]: *** [memcheck-x86-darwin] Error 1 
make[2]: *** [all-recursive] Error 1 
make[1]: *** [all-recursive] Error 1 
make: *** [all] Error 2 

你知道如何解决这一问题?

回答

5

这可能会或可能不会为你工作,因为我在以下环境中工作感到:

我收到了同样的错误作为OP,直到我用下面的额外配置参数:

./configure --enable-only64bit

+0

这工作,感谢你的帮助。 – James