请选择 进入手机版 | 继续访问电脑版
论坛
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 245|回复: 5

A9G SDK 下载不全,编译失败

[复制链接]

2

主题

6

帖子

28

积分

新手上路

Rank: 1

积分
28
发表于 2019-6-30 11:40:07 | 显示全部楼层 |阅读模式
如题,按照GPRS_S_SDK DOC 文档下载和Git克隆都回出现文件不全的问题,请问怎么解决,求大神支招
回复

使用道具 举报

2

主题

6

帖子

28

积分

新手上路

Rank: 1

积分
28
 楼主| 发表于 2019-6-30 12:22:57 | 显示全部楼层
PS C:\Users\LISIXI\GPRS_C_SDK> ./build.bat demo gpio
CSDTK PATH: D:\CSDTK42
build folder exist
number of processors: 8
-- System Version : WINDOWS
---------------------------------------------------


[MAKE]  init

[CC]   sdk_init.o                  <== sdk_init.c
[AR]   libinit_debug.a



[MAKE]  libs


[MAKE]  libs/gps


[MAKE]  libs/gps/minmea

[CPP]  %-27s <== %s\n minmea.asm minmea.S
mips-elf-gcc: src/minmea.S: No such file or directory
mips-elf-gcc: no input files
C:/Users/LISIXI/GPRS_C_SDK/platform/compilation/cust_rules.mk:997: recipe for target 'C:/Users/LISIXI/GPRS_C_SDK/build/gpio/libs/gps/minmea/obj/debug/minmea.o' failed
make[6]: *** [C:/Users/LISIXI/GPRS_C_SDK/build/gpio/libs/gps/minmea/obj/debug/minmea.o] Error 1
C:/Users/LISIXI/GPRS_C_SDK/platform/compilation/cust_rules.mk:834: recipe for target 'C:/Users/LISIXI/GPRS_C_SDK/build/gpio/libs/gps/minmea/lib/libminmea_debug.a' failed
make[5]: *** [C:/Users/LISIXI/GPRS_C_SDK/build/gpio/libs/gps/minmea/lib/libminmea_debug.a] Error 2
C:/Users/LISIXI/GPRS_C_SDK/platform/compilation/cust_rules.mk:1030: recipe for target 'dependencies' failed
make[4]: *** [dependencies] Error 2
C:/Users/LISIXI/GPRS_C_SDK/platform/compilation/cust_rules.mk:1030: recipe for target 'dependencies' failed
make[3]: *** [dependencies] Error 2
C:/Users/LISIXI/GPRS_C_SDK/platform/compilation/cust_rules.mk:1030: recipe for target 'dependencies' failed
make[2]: *** [dependencies] Error 2
C:/Users/LISIXI/GPRS_C_SDK/platform/compilation/cust_rules.mk:748: recipe for target 'C:/Users/LISIXI/GPRS_C_SDK/build/gpio//gpio.srec' failed
make[1]: *** [C:/Users/LISIXI/GPRS_C_SDK/build/gpio//gpio.srec] Error 2
C:/Users/LISIXI/GPRS_C_SDK/platform/compilation/cust_rules.mk:395: recipe for target 'lod' failed
make: *** [lod] Error 2
grep: build\gpio\gpio.map: No such file or directory
grep: build\gpio\gpio.map: No such file or directory
grep: build\gpio\gpio.map: No such file or directory
找不到操作数。
找不到操作数。
-------------------------------------------------
ROM    total:1048576 Bytes     used: Bytes
RAM    total:1048576 Bytes     used: Bytes
=================================================
Start Time : 12:23:00.14
End   Time : 12:23:06.10
Build Time : 5.996s
=================================================
PS C:\Users\LISIXI\GPRS_C_SDK>
回复

使用道具 举报

2

主题

6

帖子

28

积分

新手上路

Rank: 1

积分
28
 楼主| 发表于 2019-6-30 12:25:22 | 显示全部楼层
子模块获取到了,编译报错
回复

使用道具 举报

2

主题

6

帖子

28

积分

新手上路

Rank: 1

积分
28
 楼主| 发表于 2019-6-30 17:14:18 | 显示全部楼层
LISIXI@DESKTOP-5BF6REV MINGW64 ~
$ git clone https://github.com/Ai-Thinker-Open/GPRS_C_SDK.git --recursive
Cloning into 'GPRS_C_SDK'...
remote: Enumerating objects: 4060, done.
remote: Total 4060 (delta 0), reused 0 (delta 0), pack-reused 4060
Receiving objects: 100% (4060/4060), 30.10 MiB | 106.00 KiB/s, done.
Resolving deltas: 100% (1939/1939), done.
Checking out files: 100% (462/462), done.
Submodule 'libs/aliyun/iotkit-embedded' (https://github.com/aliyun/iotkit-embedded.git) registered for path 'libs/aliyun/iotkit-embedded'
Submodule 'libs/gps/minmea/src' (https://github.com/kosma/minmea.git) registered for path 'libs/gps/minmea/src'
Submodule 'libs/lvgl/src' (https://github.com/littlevgl/lvgl.git) registered for path 'libs/lvgl/src'
Submodule 'platform/csdk' (https://github.com/Ai-Thinker-Open/GPRS-C-SDK-LIB.git) registered for path 'platform/csdk'
Cloning into 'C:/Users/LISIXI/GPRS_C_SDK/libs/aliyun/iotkit-embedded'...
remote: Enumerating objects: 409, done.
remote: Counting objects: 100% (409/409), done.
remote: Compressing objects: 100% (281/281), done.
remote: Total 32799 (delta 193), reused 289 (delta 124), pack-reused 32390
Receiving objects: 100% (32799/32799), 86.02 MiB | 30.00 KiB/s, done.
Resolving deltas: 100% (12584/12584), done.
Cloning into 'C:/Users/LISIXI/GPRS_C_SDK/libs/gps/minmea/src'...
remote: Enumerating objects: 524, done.
remote: Total 524 (delta 0), reused 0 (delta 0), pack-reused 524
Receiving objects: 100% (524/524), 195.58 KiB | 66.00 KiB/s, done.
Resolving deltas: 100% (334/334), done.
Cloning into 'C:/Users/LISIXI/GPRS_C_SDK/libs/lvgl/src'...
remote: Enumerating objects: 347, done.
remote: Counting objects: 100% (347/347), done.
remote: Compressing objects: 100% (205/205), done.
remote: Total 19427 (delta 198), reused 199 (delta 142), pack-reused 19080
Receiving objects: 100% (19427/19427), 14.41 MiB | 17.00 KiB/s, done.
Resolving deltas: 100% (15332/15332), done.
Cloning into 'C:/Users/LISIXI/GPRS_C_SDK/platform/csdk'...
remote: Enumerating objects: 344, done.
fatal: early EOFs:  25% (87/344), 24.92 MiB | 30.00 KiB/s
fatal: the remote end hung up unexpectedly
fatal: index-pack failed
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: clone of 'https://github.com/Ai-Thinker-Open/GPRS-C-SDK-LIB.git' into submodule path 'C:/Users/LISIXI/GPRS_C_SDK/platform/csdk' failed
Failed to clone 'platform/csdk'. Retry scheduled
Cloning into 'C:/Users/LISIXI/GPRS_C_SDK/platform/csdk'...
remote: Enumerating objects: 344, done.
remote: Total 344 (delta 0), reused 0 (delta 0), pack-reused 344
Receiving objects: 100% (344/344), 170.61 MiB | 725.00 KiB/s, done.
Resolving deltas: 100% (154/154), done.
error: Server does not allow request for unadvertised object e6bd3556039538ac504c005f0c31dbdd0e906658
Fetched in submodule path 'libs/aliyun/iotkit-embedded', but it did not contain e6bd3556039538ac504c005f0c31dbdd0e906658. Direct fetching of that commit failed.

LISIXI@DESKTOP-5BF6REV MINGW64 ~
回复

使用道具 举报

2

主题

6

帖子

28

积分

新手上路

Rank: 1

积分
28
 楼主| 发表于 2019-6-30 17:16:06 | 显示全部楼层
大牛帮忙支支招
回复

使用道具 举报

0

主题

3

帖子

18

积分

新手上路

Rank: 1

积分
18
发表于 2019-7-16 09:23:04 | 显示全部楼层
我也遇到同样的问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|安信可论坛    

GMT+8, 2019-8-25 21:08 , Processed in 0.019619 second(s), 12 queries , Redis On.

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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