使用make编译的时候,遇到了报错package/games/xboard/xboard.mk:13: *** missing separator. Stop.
make[1]: Entering directory '/home/samba/wrt/art/Trunk/build/buildroot-2009.08'
#
# configuration written to .config
#
#
# make dependencies written to .auto.deps
# ATTENTION buildroot devels!
# See top of this file before playing with this auto-preprequisites!
#
make[1]: Leaving directory '/home/samba/wrt/art/Trunk/build/buildroot-2009.08'
make[1]: Entering directory '/home/samba/wrt/art/Trunk/build/buildroot-2009.08'
package/games/xboard/xboard.mk:13: *** missing separator. Stop.
make[1]: Leaving directory '/home/samba/wrt/art/Trunk/build/buildroot-2009.08'
Makefile:444: recipe for target 'toolchain_build' failed
make: *** [toolchain_build] Error 2
打开xboard.mk +13看到
XBOARD_CONF_OPT --prefix=/usr
没怎么了解过这个,但是我16.04的编译不过,同事的14.04的能编译过,一直想--prefix是什么意思, 百度也没找到,后面找到是configure的东西,然后看到make是4.几的,看了下同事的是3.81的
1)在这里下载3.81的make
2)解压
tar -xvf make-3.81.tar.gz
3)编译
cd make-3.81/
./configure
make
4)加到环境变量里去
export PATH=make-3.81的目录/:$PATH
或者可以加到etc下去