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

修改了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” 删掉,问题解决。

 

posted @ 2016-01-08 14:39  hbg-rohens  阅读(1775)  评论(0编辑  收藏  举报