未定义的符号___ctzdi2

Jam*_*mes 0 makefile undefined-symbol

我试图在OSX 10.11.2上安装一个名为Valgrind的调试器.

运行make时,我收到以下错误

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
Run Code Online (Sandbox Code Playgroud)

你知道怎么解决这个问题吗?

Jas*_*ler 5

这可能适用于您,也可能不适合您,因为我在以下环境中操作:

我收到了与OP相同的错误,直到我使用了以下额外的configure参数:

./configure --enable-only64bit