Giter VIP home page Giter VIP logo

dusun_gateway_api's People

Contributors

cliburnguo avatar dusuniot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dusun_gateway_api's Issues

error while running "make" command

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

Getting error while executing "make" command

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...!

Help me build api

i use command make. It says. How to fix?
make: *** No rule to make target 'Zigbee_test', needed by 'all'. Stop.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.