在vim下输入:make命令,得到类似于如下去结果:
[chen@localhost base_module]$ vim base.c
base.c:1:1: error: lexical error: illegal character \x{2f}
base.c:1:2: error: syntax error: "*" unexpected
base.c:4:18: error: lexical error: illegal character \x{32}
base.c:5:3: error: lexical error: illegal character \x{2f}
base.c:51:2: error: lexical error: illegal character \x{2f}
base.c:52:28: error: lexical error: '>' expected
base.c:53:8: error: lexical error: '>' expected
base.c:55:47: error: lexical error: '>' expected
base.c:55:53: error: syntax error: "[" expected, ")" found
base.c:58:4: error: lexical error: illegal character \x{2f}
base.c:60:1: error: lexical error: illegal character \x{2f}
base.c:61:2: error: lexical error: illegal character \x{2f}
base.c:64:31: error: lexical error: '>' expected
base.c:66:2: error: syntax error: "[" expected, identifier found
。。。。
似乎是编码上的问题。从源代码编译的vim没有问题,arch源里的vim也没有问题。