Blog and contact: neucrack.com
neutree / gprs_build Goto Github PK
View Code? Open in Web Editor NEWdocker builder for Ai-Thinker A9/A9G GPRS module ( RDA8955)
docker builder for Ai-Thinker A9/A9G GPRS module ( RDA8955)
Blog and contact: neucrack.com
user@computer:~$ sudo docker pull neucrack/gprs_build
Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io: no such host
嘗試在已載入 neutree/gprs 映像的 docker container 內跑 coolwatcher, 結果如下:
root@86ff0416ff71:/A9/GPRS_C_SDK# coolwatcher
coolwatcher: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
曾嘗試用以下方法將所欠的 libfontconfig.so.1 補上:
[root@xxx ~]# docker cp /usr/lib/libfontconfig.so.1.11.1 gprs_builder:/opt//GPRS_CSDTK/CSDTK/lib/
[root@xxx ~]# docker cp /usr/lib/libfontconfig.so.1 gprs_builder:/opt//GPRS_CSDTK/CSDTK/lib/
結果:
coolwatcher: error while loading shared libraries: libaudio.so.2: cannot open shared object file: No such file or directory
請教:
是否有誰曾在docker環境內成功將譯好的源碼燒錄(下載)到A9開發版? 有否遇上同樣問題? 怎生解決?
I pulled and rant your docker container but I can not find /projects/GPRS_C_SDK
to build !!
I cloned the GPRS_C_SDK recusivly. Then download this docker image and ran as mentioned in docs. But I get this error:
hermanstander$ docker run -it --name gprs_builder -v ~/apps:/apps neucrack/gprs_build /bin/bash
root@5ec91bfd7412:/# cd apps/GPRS_C_SDK
root@5ec91bfd7412:/apps/GPRS_C_SDK# ./build.sh app
[MAKE] init
[AR] libinit_debug.a
[MAKE] libs
[MAKE] libs/gps
[MAKE] libs/gps/minmea
=============================================================
root@871e759b5e40:/projects/GPRS_C_SDK# ./build.sh demo mqtt
[MAKE] init
[CC] sdk_init.o <== sdk_init.c
cc1: error: /projects/GPRS_C_SDK/include: Value too large for defined data type
cc1: error: /projects/GPRS_C_SDK/include/std_inc: Value too large for defined data type
cc1: error: /projects/GPRS_C_SDK/include/api_inc: Value too large for defined data type
cc1: error: src: Value too large for defined data type
cc1: error: /projects/GPRS_C_SDK/include: Value too large for defined data type
cc1: error: src/sdk_init.c: Value too large for defined data type
/projects/GPRS_C_SDK/platform/compilation/cust_rules.mk:1005: recipe for target '/projects/GPRS_C_SDK/build/mqtt/init/obj/debug/sdk_init.o' failed
make[4]: *** [/projects/GPRS_C_SDK/build/mqtt/init/obj/debug/sdk_init.o] Error 1
/projects/GPRS_C_SDK/platform/compilation/cust_rules.mk:834: recipe for target '/projects/GPRS_C_SDK/build/mqtt/init/lib/libinit_debug.a' failed
make[3]: *** [/projects/GPRS_C_SDK/build/mqtt/init/lib/libinit_debug.a] Error 2
/projects/GPRS_C_SDK/platform/compilation/cust_rules.mk:1030: recipe for target 'dependencies' failed
make[2]: *** [dependencies] Error 2
/projects/GPRS_C_SDK/platform/compilation/cust_rules.mk:748: recipe for target '/projects/GPRS_C_SDK/build/mqtt//mqtt.srec' failed
make[1]: *** [/projects/GPRS_C_SDK/build/mqtt//mqtt.srec] Error 2
/projects/GPRS_C_SDK/platform/compilation/cust_rules.mk:395: recipe for target 'lod' failed
make: *** [lod] Error 2
====== Build Time: 0s complete at 2020-04-11 08:38:35 =======
!!!!!!!!!!!!!!!!!!!!
BUILD FAILED
!!!!!!!!!!!!!!!!!!!!
root@97989386fa7d:/# cd /projects/GPRS_C_SDK
bash: cd: /projects/GPRS_C_SDK: No such file or directory
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.