运行MakeFile时出现的问题

发布于 2024-12-05 23:54:18 字数 1365 浏览 0 评论 0原文

我正在尝试学习/使用 inject_and_interpose 项目。

我遇到 make 文件 的问题。当我尝试在终端上执行 make 文件时,收到以下错误消息。

i686-apple-darwin10-gcc-4.2.1: ?=: No such file or directory
i686-apple-darwin10-gcc-4.2.1: gcc: No such file or directory
i686-apple-darwin10-gcc-4.2.1: no input files
ARCH: Can't find any plists for ARCH
i686-apple-darwin10-gcc-4.2.1: no input files
./Makefile: line 3: findstring: command not found
./Makefile: line 3: ifeq: command not found
ARCH: Can't find any plists for ARCH
./Makefile: line 5: endif: command not found
./Makefile: line 7: all:: command not found
./Makefile: line 9: testlib.dylib:: command not found
i686-apple-darwin10-gcc-4.2.1: no input files
ARCH: Can't find any plists for ARCH
./Makefile: line 10: -dynamiclib: command not found
./Makefile: line 11: tester:: command not found
i686-apple-darwin10-gcc-4.2.1: no input files
./Makefile: line 12: -O3: command not found
./Makefile: line 13: testputs:: command not found
i686-apple-darwin10-gcc-4.2.1: no input files
./Makefile: line 14: -o: command not found
./Makefile: line 15: clean:: command not found
rm: tester: is a directory

有人可以解释一下我需要做哪些更改才能正确运行这个 make 文件吗?或者我做错了什么吗?

I am trying to learn/use inject_and_interpose project.

I am facing problems with make file. When I try to execute make file on terminal, I get following error message.

i686-apple-darwin10-gcc-4.2.1: ?=: No such file or directory
i686-apple-darwin10-gcc-4.2.1: gcc: No such file or directory
i686-apple-darwin10-gcc-4.2.1: no input files
ARCH: Can't find any plists for ARCH
i686-apple-darwin10-gcc-4.2.1: no input files
./Makefile: line 3: findstring: command not found
./Makefile: line 3: ifeq: command not found
ARCH: Can't find any plists for ARCH
./Makefile: line 5: endif: command not found
./Makefile: line 7: all:: command not found
./Makefile: line 9: testlib.dylib:: command not found
i686-apple-darwin10-gcc-4.2.1: no input files
ARCH: Can't find any plists for ARCH
./Makefile: line 10: -dynamiclib: command not found
./Makefile: line 11: tester:: command not found
i686-apple-darwin10-gcc-4.2.1: no input files
./Makefile: line 12: -O3: command not found
./Makefile: line 13: testputs:: command not found
i686-apple-darwin10-gcc-4.2.1: no input files
./Makefile: line 14: -o: command not found
./Makefile: line 15: clean:: command not found
rm: tester: is a directory

Can somebody please explain me what changes I have do to run this make file properly? Or Am I doing anything wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

三生池水覆流年 2024-12-12 23:54:19

Makefile 不适合由 sh 或朋友运行。 运行来调用它。

$ make

您可以通过在 makefile 所在的目录中

Makefiles are not intended to be run by sh or friends. You invoke it by running

$ make

in the directory the makefile is in.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文