xieweizhi007
V2EX  ›  问与答

为什么 make 出错了

  •  1
     
  •   xieweizhi007 · Nov 6, 2015 · 2053 views
    This topic created in 3842 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   ·   3241 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 13:32 · PVG 21:32 · LAX 06:32 · JFK 09:32
    ♥ Do have faith in what you're doing.