报错Syntax error:
背景
- Platform: M55S
- OS: Linux
- Kernel: 4
问题
我自己编译没问题,同事在他的虚拟机里编译我的代码时报错:
Syntax error: end of file unexpected
主要log如下:
CODE
./make_all.sh: 5: ./make_all.sh: source: not found
...
/opt/vtcs_toolchain/vienna/usr/bin/arm-linux-gcc: 2: /opt/vtcs_toolchain/vienna/usr/bin/arm-linux-gcc: Syntax error: end of file unexpected