V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
xieweizhi007
V2EX  ›  问与答

为什么 make 出错了

  •  1
     
  •   xieweizhi007 · Nov 6, 2015 · 2033 views
    This topic created in 3833 days ago, the information mentioned may be changed or developed.

    make 的错误信息:

    config.mk.local:2: *** 遗漏分隔符 。 停止。
    

    config.mk.local:

    LDFLAGS += -L/home/xieweizhi/.linuxbrew/Cellar/binutils/2.24/lib
    /home/xieweizhi/.linuxbrew/Cellar/binutils/2.24/include/libiberty
    

    是 make 文件有问题吗?

    2 replies    2015-11-06 15:51:46 +08:00
    easing
        1
    easing  
       Nov 6, 2015
    最后要有 '\'
    xieweizhi007
        2
    xieweizhi007  
    OP
       Nov 6, 2015
    ```perl -pi -e 's/^ */\t/' filename``` 解决了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2704 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 09:53 · PVG 17:53 · LAX 02:53 · JFK 05:53
    ♥ Do have faith in what you're doing.