MySensors error upon Make

Moderator: leecollings

Post Reply
ricorico94
Posts: 108
Joined: Monday 26 October 2015 10:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

MySensors error upon Make

Post by ricorico94 »

Hi, I'm trying to install MySensors on my domoticz on a fresh domoticz installation on Trixie (Raspberry Pi 3B+), but I face an error on the sudo make step.

I first followed the steps:
git clone https://github.com/mysensors/MySensors.git --branch master
cd MySensors
./configure --my-transport=rf24 --my-rf24-irq-pin=15
sudo make

but this gives an error on stropts.h, so I deleted the MySensors folder and restarted with the development branch as advised by some forum posts:
git clone https://github.com/mysensors/MySensors.git --branch development
cd MySensors
./configure --my-transport=rf24 --my-rf24-irq-pin=15
sudo make

but now I get another eror:
./drivers/CircularBuffer/CircularBuffer.h: At global scope:
./hal/architecture/Linux/MyHwLinuxGeneric.h:106:50: error: ambiguating new declaration of ‘uint8_t __hwLock()’
106 | #define ATOMIC_BLOCK for ( ATOMIC_BLOCK_CLEANUP, __hwLock(); \
and
make: *** [Makefile:99: build/examples_linux/mysgw.o] Error 1
I couldn't find any help on that error... Any idea ?
Post Reply