dragino/openwrt_lede-18.06

Cant enable hello package in the utility \ "make menuconfig" fails

Opened this issue · 1 comments

Hi, im trying to get the hello word example running on my dragino.
Im following the steps:

Download the LEDE-SDK

wget http://www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/openwrt-sdk-8-29-Linux-x86_64.tar.bz2

Extra the SDK to Linux OS.

tar -xjvf openwrt-sdk-8-29-Linux-x86_64.tar.bz2

Download the demo hello package and put it in the lede-sdk/package/
Enable hello package by running make menuconfig in lede-sdk. and enable hello package in the utility

but when i run make menuconfig i get the following errors:

      awk: include/scan.awk: line 21: function asort never defined
      awk: include/scan.awk: line 21: function asort never defined
      make[1]: *** No rule to make target 'package/lora-gateway/Makefile', needed by '/home/rodrigo/Documents/openwrt-sdk-8-29-   Linux-x86_64/tmp/info/.packageinfo-lora-gateway'.  Stop.
      /home/rodrigo/Documents/openwrt-sdk-8-29-Linux-x86_64/include/toplevel.mk:83: recipe for target 'prepare-tmpinfo' failed
      make: *** [prepare-tmpinfo] Error 2

so i updated the packages:
./scripts/feeds update -i

and deleted /tmp folder :

   cd ~/openwrt/
    rm -rf tmp
    make menuconfig

and now im able to get make menuconfig working but i cant find any package to activate even hello package. how can i compile it?

Screenshot from 2021-01-07 12-27-59

anybody can help me?

Hi, have you copy the package such as hello package to the sdk package folder ?
Check type command:
cd ~/openwrt
ls package