./i2cdetect: line 1: syntax error: unexpected word (expecting ")")

  运行 ./i2cdetect: line 1: syntax error: unexpected word (expecting ")") 怎么回事?奇葩啊,再看看


后来搜索一下网上人遇到的问题

#CC     ?= gcc
MVTOOL_PREFIX=../prebuilts/uclibc/bin/arm-buildroot-linux-uclibcgnueabihf-
CC =            $(MVTOOL_PREFIX)gcc

发现是我 gcc 的路径不对导致的

MVTOOL_PREFIX=../prebuilts/uclibc/bin/arm-buildroot-linux-uclibcgnueabihf- 这个改成正确的就可以了。


你可能感兴趣的:(./i2cdetect: line 1: syntax error: unexpected word (expecting ")"))