收藏官网首页
查看: 63863|回复: 38

GoKit-SoC-ESP8266开发环境搭建、源码编译及固件下载

2

主题

22

帖子

320

积分

中级会员

Rank: 3Rank: 3

积分
320
楼主
发表于 2017-8-27 09:56:06 | 显示全部楼层
教您5分钟接入机智云,实现傻瓜式开发
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ls
driver        gen_misc.sh  Makefile                      user
gen_misc.bat  include      model two-dimension code.jpg
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ./gen_misc.sh
bash: ./gen_misc.sh: /bin/bash^M: bad interpreter: No such file or directory
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app#  ./gen_misc.sh
bash: ./gen_misc.sh: /bin/bash^M: bad interpreter: No such file or directory
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# make
make[1]: Entering directory '/home/zencloud/Desktop/share/Gagent_8266/app/user'
make[1]: ** No rule to make target '../include/gagent_list.h', needed by '.output/eagle/debug/obj/mqttbase.o'.  Stop.
make[1]: Leaving directory '/home/zencloud/Desktop/share/Gagent_8266/app/user'
../Makefile:310: recipe for target '.subdirs' failed
make: ** [.subdirs] Error 2
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# make
make[1]: Entering directory '/home/zencloud/Desktop/share/Gagent_8266/app/user'
make[1]: ** No rule to make target '../include/gagent_list.h', needed by '.output/eagle/debug/obj/mqttbase.o'.  Stop.
make[1]: Leaving directory '/home/zencloud/Desktop/share/Gagent_8266/app/user'
../Makefile:310: recipe for target '.subdirs' failed
make: ** [.subdirs] Error 2

2

主题

22

帖子

320

积分

中级会员

Rank: 3Rank: 3

积分
320
沙发
发表于 2017-8-27 09:57:42 | 显示全部楼层
这是什么原因呢?是我固件的问题?还是环境搭建的问题?

2

主题

22

帖子

320

积分

中级会员

Rank: 3Rank: 3

积分
320
板凳
发表于 2017-8-27 10:02:11 | 显示全部楼层
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ls driver        gen_misc.sh  Makefile                      user gen_misc.bat  include      model two-dimension code.jpg root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ./gen_misc.sh  bash: ./gen_misc.sh: /bin/bash^M: bad interpreter: No such file or directory root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app#  ./gen_misc.sh bash: ./gen_misc.sh: /bin/bash^M: bad interpreter: No such file or directory root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# make make[1]: Entering directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' make[1]: ** No rule to make target '../include/gagent_list.h', needed by '.output/eagle/debug/obj/mqttbase.o'.  Stop. make[1]: Leaving directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' ../Makefile:310: recipe for target '.subdirs' failed make: ** [.subdirs] Error 2 root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# make make[1]: Entering directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' make[1]: ** No rule to make target '../include/gagent_list.h', needed by '.output/eagle/debug/obj/mqttbase.o'.  Stop. make[1]: Leaving directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' ../Makefile:310: recipe for target '.subdirs' failed make: ** [.subdirs] Error 2

2

主题

22

帖子

320

积分

中级会员

Rank: 3Rank: 3

积分
320
地板
发表于 2017-8-27 10:03:26 | 显示全部楼层
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ls driver        gen_misc.sh  Makefile                      user gen_misc.bat  include      model two-dimension code.jpg root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ./gen_misc.sh  bash: ./gen_misc.sh: /bin/bash^M: bad interpreter: No such file or directory root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app#  ./gen_misc.sh bash: ./gen_misc.sh: /bin/bash^M: bad interpreter: No such file or directory root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# make make[1]: Entering directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' make[1]: ** No rule to make target '../include/gagent_list.h', needed by '.output/eagle/debug/obj/mqttbase.o'.  Stop. make[1]: Leaving directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' ../Makefile:310: recipe for target '.subdirs' failed make: ** [.subdirs] Error 2 root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# make make[1]: Entering directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' make[1]: ** No rule to make target '../include/gagent_list.h', needed by '.output/eagle/debug/obj/mqttbase.o'.  Stop. make[1]: Leaving directory '/home/zencloud/Desktop/share/Gagent_8266/app/user' ../Makefile:310: recipe for target '.subdirs' failed make: ** [.subdirs] Error 2这是环境搭建的问题吗?还是固件的问题

点评

很奇怪, /app$ ./gen_misc.sh后回车 出现: bash: ./gen_misc.sh: Permission denied  详情 回复 发表于 2017-8-30 14:04
最近有开发者反应自动生成的ESP8266 SoC下载后无法编译通过,会有下面报错: 该问题是由于gen_misc.sh文件编码引起的,可以用下面方法解决。 应用自:GoKit3(S) 二次开发--开发环境搭建 另外有开发者直接在根目录直  详情 回复 发表于 2017-8-28 17:38

2

主题

22

帖子

320

积分

中级会员

Rank: 3Rank: 3

积分
320
5#
发表于 2017-8-30 14:04:34 | 显示全部楼层
汉枫LPB120模块
知莫 发表于 2017-8-27 10:03
root@ubuntu:/home/zencloud/Desktop/share/Gagent_8266/app# ls driver        gen_misc.sh  Makefile     ...

很奇怪,
/app$ ./gen_misc.sh后回车
出现:
bash: ./gen_misc.sh: Permission denied
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

加入Q群 返回顶部

版权与免责声明 © 2006-2024 Gizwits IoT Technology Co., Ltd. ( 粤ICP备11090211号 )

快速回复 返回顶部 返回列表