在Google搜到你的问题,我也碰到同样的问题(5分钟前),然后通过其他的搜索结果找到答案,不知道你是否跟我一样,出现以下的错误:

... 
clang: error: unknown argument: '-R.' [-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]: *** [t4] Error 1
make: *** [all] Error 1

如果是的话,解决方法就是:
编辑apue.3e/db/Makefile,把

ifeq "$(PLATFORM)" "macos"

EXTRALD=-R.

改成:

ifeq "$(PLATFORM)" "macos"

EXTRALD=-R

也就是说,把“-R.”改成“-R”,去掉最后的“.”,然后返回到apue.3e目录,再次执行make all,完成,祝成功!

相关文章:

  • 2021-11-11
  • 2022-02-02
  • 2022-01-21
  • 2021-08-14
  • 2021-12-23
  • 2021-08-28
  • 2021-08-17
  • 2022-12-23
猜你喜欢
  • 2021-06-10
  • 2021-05-30
  • 2021-06-05
  • 2021-09-01
  • 2021-08-29
  • 2021-10-26
  • 2022-01-25
相关资源
相似解决方案