简体   繁体   English

什么Makefile(90):致命错误U1000是什么意思?

[英]what does Makefile(90) : fatal error U1000 mean?

I'm trying to do this from the command prompt: 我正在尝试从命令提示符执行此操作:

C:/>nmake makefile

But I keep getting this error 但我一直收到这个错误

Makefile(90) : fatal error U1000: syntax error : ')' missing in macro invocation

What does the number 90 refer to? 数字90指的是什么?

Any one can help? 任何人都可以帮忙吗?

If any one would like to see the Makefile it's here Makefile 如果有人想看Makefile,那就是Makefile

ps: I use windows 7 ps:我使用的是Windows 7

Line 90 of the Makefile is: Makefile的第90行是:

LDSHARED = $(CC) -shared $(if $(filter-out -g -g0,$(debugflags)),,-s)

90 is the line-number of the error. 90是错误的行号。 I suspect this makefile isn't meant to be used in nmake , since the syntax resembles gnu-make more than nmake . 我怀疑这个makefile并不适合在nmake ,因为语法类似于gnu-make而不是nmake

You will probably have more luck if you run gnumake ( gmake or possibly simply make ). 如果你运行gnumake( gmake或者可能只是make ),你可能会有更多的运气。

Or, you could try to rewrite the makefile using the preprocessor macros, but it will require understanding what they are supposed to do. 或者,您可以尝试使用预处理器宏重写makefile,但它需要了解它们应该执行的操作。

http://msdn.microsoft.com/en-US/library/7y32zxwh%28v=vs.80%29.aspx http://msdn.microsoft.com/en-US/library/7y32zxwh%28v=vs.80%29.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM