'让' Mac OS X上的mdrpdt(软件)

时间:2014-08-03 07:06:40

标签: macos makefile

jcykdeMacBook-Pro:mdrpdt-2.0.1.21 jcyk$ make
Building bin/lib/serial/APPLE-64bit/g++/libutility.a 
clang: error: unknown argument: '-fforce-addr' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make[1]: *** [../../build/utility/serial/APPLE-g++/64bit/release/application.o] Error 1
make: *** [bin/lib/serial/APPLE-64bit/g++/libutility.a] Error 2

我从http://ritchielab.psu.edu/software/mdr-download获得了mdrpdt。 我该怎么做才能解决这个问题?

1 个答案:

答案 0 :(得分:0)

看起来您只需要从-fforce-addr的调用中删除clang,请参阅修补configure的示例here