Lora-net / packet_forwarder

A LoRa packet forwarder is a program running on the host of a LoRa gateway that forwards RF packets receive by the concentrator to a server through a IP/UDP link, and emits RF packets that are sent by the server. This project is associated to the lora_gateway repository for SX1301 chip. For SX1302/1303, the repository sx1302_hal must be used.
Other
724 stars 668 forks source link

No rule to make target #29

Closed wofof032 closed 7 years ago

wofof032 commented 7 years ago

I try to make the paket forwarder I get

pi@WLo-LoRa-GWY:~/packet_forwarder $ sudo make all make all -e -C lora_pkt_fwd make[1]: Entering directory '/home/pi/packet_forwarder/lora_pkt_fwd' make[1]: No rule to make target '../../lora_gateway/libloragw/inc/loragw_hal.h', needed by 'obj/lora_pkt_fwd.o'. Stop. make[1]: Leaving directory '/home/pi/packet_forwarder/lora_pkt_fwd' Makefile:11: recipe for target 'all' failed make: [all] Error 2 pi@WLo-LoRa-GWY:~/packet_forwarder $

Any ideas? Thanks

johanstokking commented 7 years ago

You need to make the lora_gateway first for your platform. Also, make sure that the relative path to lora_gateway is set correctly. If the header can be found at that location, make won't complain about a missing target.

mcoracin commented 7 years ago

This has been answered, thanks @johanstokking , I close the issue.