修改了snmp里面的包Makefile,出现了如下问题:

Makefile:130: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.

源代码如下:

 tunnel \
 ucd-snmp/disk \
 ucd-snmp/dlmod \
 ucd-snmp/extensible \
 ucd-snmp/loadave \
 ucd-snmp/memory \
 ucd-snmp/pass \
 ucd-snmp/proc \
 ucd-snmp/vmstat \
 util_funcs \
 utilities/execute \
#add by hbg, 2016-1-8
    agentx \

 

问题解决:

将agentx前面的空格删掉,使用tab键代替,问题解决。

 

 

但是出现了新的问题,如下:

Makefile:130: *** recipe commences before first target.  Stop.

 

问题解决如下:

将前面的注释代码“#add by hbg, 2016-1-8” 删掉,问题解决。

 

相关文章:

  • 2022-12-23
  • 2021-12-20
  • 2021-07-07
  • 2021-11-08
  • 2022-02-25
  • 2022-02-05
  • 2021-08-27
  • 2021-06-24
猜你喜欢
  • 2022-12-23
  • 2021-07-26
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案