Closed joelguittet closed 2 years ago
Hello, libtools/inc is alredy included in the makefile: https://github.com/Lora-net/sx1302_hal/blob/4b42025d1751e04632c0b04160e0d29dbbb222a5/libloragw/Makefile#L14
I'm not able to reproduce your building issue, testing with Raspberry Pi toolchain, native ubuntu gcc, or even Poky...
Hello,
Thanks for the answer. Yes I notice that but not working anyway on my side.
My environnement is a Yocto toolchain, dunfell release. Target is a raspberry pi compute module. GCC version in the toolchain is 9.3.0.
What is your environment ?
I have used the above command to build the packet forwarder and I have CFLAGS += "-Iinc -I../libtools/inc"
in my bitbake recipe. Else this fails with the above error.
Anyone else having the issue ?
Joel
I usually test on a RPi (v3 or v4) using the cross compilation toolchain from here: https://github.com/raspberrypi/tools
I also tried to compile with the gcc installed on my ubuntu machine, and with another cross-compilation toolchain (Yocto I think) that I have installed for a specific gateway vendor.
I could not see the issue in all 3 cases.
But that doesn't mean that there is no issue in our Makefile. ;)
@mcoracin yes sure! I have checked the Makefile myself and don't see what to change... So it's difficult to try solving something.
If the problem is not general, then no worries, I arrange myself with my config. You can do whatever you want with this issue.
Joel
@joelguittet As I never had such feedback and I'm unable to reproduce it, I'll close this issue for now. And re-open if the issue is confirmed later. Best regards
Hello
Just following the README to build the project, just after cloning:
Seems the libtoools\inc directory is not included ?
Joel
EDIT: make command below to pass over the issue:
Clearly a problem with Makefiles...