运行MakeFile时出现的问题
我正在尝试学习/使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Makefile 不适合由 sh 或朋友运行。 运行来调用它。
您可以通过在 makefile 所在的目录中
Makefiles are not intended to be run by sh or friends. You invoke it by running
in the directory the makefile is in.