RPI Gateway - !TSM:INIT:TSP FAIL
-
@maxdor looks like the same problem as reported in https://github.com/mysensors/MySensors/issues/955
Add --extra-cxxflags="-D__STDC_FORMAT_MACROS" to the configure command@mfalkvidd I have the same issue. Even with --extra-cxxflags="-D__STDC_FORMAT_MACROS".
-
@mfalkvidd I have the same issue. Even with --extra-cxxflags="-D__STDC_FORMAT_MACROS".
-
@mfalkvidd
./configure --my-transport=nrf24 --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1 --extra-cxxflags="-D__STDC_FORMAT_MACROS"gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1)
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" -
make clean
./configure --my-gateway=ethernet --my-port=5003
makeSame error after this.
-
@mfalkvidd
./configure --my-transport=nrf24 --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1 --extra-cxxflags="-D__STDC_FORMAT_MACROS"gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1)
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" -
I open an issue on github
https://github.com/mysensors/MySensors/issues/980Hope i will be able to fix it. I will try to reinstall a raspbian when i have some times
Thanks for the help
-
For the moment i am able to compile by going to previous commit
git checkout 9e5a1e32
make(I haven't test with a nrf24 but i can launch mysgw )
-
Same error here.
gcc version 4.9.2 (Raspbian 4.9.2-10)
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
Replacingprintf("bcm2835_delayMicroseconds %" PRIu64 "\n", micros);with
printf("bcm2835_delayMicroseconds %lld\n", micros);in file drivers/BCM/bcm2835.c fixed the issue.
EDIT:
It did compile, but it segfaults when I try to start mysgw
Time to get a fresh copy from gitEDIT2:
Fix from commit in bug report fixed it.