本文介绍了在 mac 上安装 valgrind 时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在 Mac 10.6.8 上安装 valgrind,我进入 valgrind 目录并运行以下命令
i am installing valgrind on my mac 10.6.8, i go the valgrind directory and run the following commands
>> ./autogen-sh
>> ./configure
它工作正常,但是当我运行时
its working fine but when i run
>> make
它给错误很多错误,最后一部分错误是
its giving the error alot of errors the last part of error is
ld: symbol(s) not found
make[3]: *** [memcheck-amd64-darwin] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
谁能给出解决方案,我搜索了很多但没有找到任何东西
can anyone give the solution for it i searched alot but did not find anything
推荐答案
您也可以使用 Homebrew:
You can also use Homebrew:
brew install valgrind
重要提示: Valgrind 仅在 OS X Mavericks 和旧版本中稳定.
Important: Valgrind is only stable in OS X Mavericks and older versions.
这篇关于在 mac 上安装 valgrind 时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!