dusuniot / dusun_gateway_api Goto Github PK
View Code? Open in Web Editor NEWThis is a project that contains Dusun IoT gateway development APIs.
This is a project that contains Dusun IoT gateway development APIs.
Four years later and not answer on how to make the example... How sad...
Hi ,
we tried running the code from GITHUB path you had provided,but were getting folllowing error
make: *** No rule to make target 'Zigbee_test', needed by 'all'. Stop.
wanted to know how to run the make where it is searching for build folder.
kindly help us.also if you know kindly help us to know how we can run python in this.
regards
Ravi chandran
I am trying to program a Dusun Gateway for Door Sensor. I have followed steps from https://www.dusuniot.com/develop-application-ondusun-gateway but when I execute "sudo make" command on terminal I am getting following output with error:
mipsel-openwrt-linux-gcc -c /home/software/Dusun_Gateway_API/example/test.c -Wall -g -O2 -I/home/software/Dusun_Gateway_API/example/libs/osi/include -I/home/software/Dusun_Gateway_API/example/libs/other/include -I/home/software/Dusun_Gateway_API/example/../rbsdk/V1.0.3/include -fPIC -fpermissive -I/home/software/OpenWrt-SDK/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/software/OpenWrt-SDK/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/include -MMD -MP -MF"/home/software/Dusun_Gateway_API/example/build/test.d" -o /home/software/Dusun_Gateway_API/example/build/test.o
cc1: warning: command line option '-fpermissive' is valid for C++/ObjC++ but not for C [enabled by default]
mipsel-openwrt-linux-gcc -c /home/software/Dusun_Gateway_API/example/cmd.c -Wall -g -O2 -I/home/software/Dusun_Gateway_API/example/libs/osi/include -I/home/software/Dusun_Gateway_API/example/libs/other/include -I/home/software/Dusun_Gateway_API/example/../rbsdk/V1.0.3/include -fPIC -fpermissive -I/home/software/OpenWrt-SDK/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/software/OpenWrt-SDK/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/include -MMD -MP -MF"/home/software/Dusun_Gateway_API/example/build/cmd.d" -o /home/software/Dusun_Gateway_API/example/build/cmd.o
cc1: warning: command line option '-fpermissive' is valid for C++/ObjC++ but not for C [enabled by default]
mipsel-openwrt-linux-gcc -c /home/software/Dusun_Gateway_API/example/parse_argv.c -Wall -g -O2 -I/home/software/Dusun_Gateway_API/example/libs/osi/include -I/home/software/Dusun_Gateway_API/example/libs/other/include -I/home/software/Dusun_Gateway_API/example/../rbsdk/V1.0.3/include -fPIC -fpermissive -I/home/software/OpenWrt-SDK/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/software/OpenWrt-SDK/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/include -MMD -MP -MF"/home/software/Dusun_Gateway_API/example/build/parse_argv.d" -o /home/software/Dusun_Gateway_API/example/build/parse_argv.o
cc1: warning: command line option '-fpermissive' is valid for C++/ObjC++ but not for C [enabled by default]
mipsel-openwrt-linux-gcc /home/software/Dusun_Gateway_API/example/build/test.o /home/software/Dusun_Gateway_API/example/build/cmd.o /home/software/Dusun_Gateway_API/example/build/parse_argv.o /home/software/Dusun_Gateway_API/example/../rbsdk/V1.0.3/lib/librbsdk.a -lm -lrt -ldl -lpthread -ljson-c -lubox -lblobmsg_json -lubus -lcares -lmosquitto -lssl -lcrypto -lstdc++ -L/home/software/OpenWrt-SDK/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/software/OpenWrt-SDK/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/lib/ -o /home/software/Dusun_Gateway_API/example/build/test
/home/software/OpenWrt-SDK/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: cannot find -ljson-c
/home/software/OpenWrt-SDK/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: cannot find -lubox
/home/software/OpenWrt-SDK/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: cannot find -lblobmsg_json
/home/software/OpenWrt-SDK/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: cannot find -lubus
/home/software/OpenWrt-SDK/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: cannot find -lcares
/home/software/OpenWrt-SDK/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: cannot find -lmosquitto
/home/software/OpenWrt-SDK/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: cannot find -lssl
/home/software/OpenWrt-SDK/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
Makefile:22: recipe for target 'test' failed
make: *** [test] Error 1
and cmd.o, cmd.h, parse_argv.d, parse_argv.o, test.d and test.o files are created in "build" folder.
But there is no "test" folder created...!
i use command make. It says. How to fix?
make: *** No rule to make target 'Zigbee_test', needed by 'all'. Stop.
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.