ignoring prerequisites on suffix rule definition
时间: 2024-03-02 14:54:04 浏览: 51
这个警告是由于 Makefile 中的一个后缀规则定义中,前提条件(prerequisites)被忽略了。通常,后缀规则的格式为:
```
.suffix1.suffix2: dependencies
command
```
其中,`.suffix1.suffix2` 表示要生成的目标文件,`dependencies` 表示生成目标文件所依赖的文件列表,`command` 表示生成目标文件的命令。
警告提示你忽略了 `dependencies` 部分,这意味着如果没有依赖关系,Makefile 将无法正确地构建目标文件。为了消除该警告,你需要检查 Makefile 中的后缀规则,确保每个规则都有正确的依赖关系。如果你不需要依赖关系,可以在规则中添加空的依赖列表,例如:
```
.suffix1.suffix2:
command
```
这样就可以消除该警告了。
相关问题
nohup ignoring input
您好!关于 "nohup ignoring input" 的问题,这是一个常见的警告消息,它意味着使用了 nohup 命令执行的程序将忽略任何输入。这通常是因为程序不需要读取标准输入,或者在后台运行时没有终端可供输入。
这个警告不会影响程序的正常运行,只是告诉您输入将被忽略。如果您希望程序能够接受输入,请确保程序正确地处理输入流。如果您并不需要程序接受输入,那么可以安全地忽略这个警告。
如果您还有其他问题,请随时提问!
nohup: ignoring input
nohup: ignoring input是nohup命令的一种提示信息,意味着该命令忽略了输入。
当在Linux中使用nohup命令时,如果不指定输入,nohup命令会自动忽略输入,并将输出记录到nohup.out文件中。
在默认情况下,nohup命令会在当前目录下生成一个名为nohup.out的文件来存储输出信息。如果当前目录的nohup.out文件不可写,则输出会被重定向到$HOME/nohup.out文件中。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [nohup: ignoring input and appending output to ‘nohup.out](https://blog.csdn.net/qq_51066068/article/details/124542326)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [nohup 命令之 nohup: ignoring input and appending output to ‘nohup.out’](https://blog.csdn.net/qq_45956730/article/details/124712224)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]