Exact Compile parameters
Posted: Friday 20 September 2019 9:57
Hi
In the wiki, it is written
But once I compile with those parameters on my raspberry Pi, the executable is making 11Mo instead of 14Mo for the current one (I just change 1 line in 1 source file). I am compiling it on a Raspberry Pi with Buster and trying to execute it on a Raspberry Pi with Stretch
When I tried to execute, it crashed due to version of GLIBC that was not recent enough. So I think I need to compile with GLIBC statically linked but probably some other library too.
As Domoticz new version is always working in any Raspbian version, I guess Domoticz is using more compiler switch than the one in the Wiki.
Any idea?
In the wiki, it is written
Code: Select all
cd dev-domoticz
git pull
cmake -DCMAKE_BUILD_TYPE=Release CMakeLists.txt -DUSE_OPENSSL_STATIC="NO"
make
When I tried to execute, it crashed due to version of GLIBC that was not recent enough. So I think I need to compile with GLIBC statically linked but probably some other library too.
As Domoticz new version is always working in any Raspbian version, I guess Domoticz is using more compiler switch than the one in the Wiki.
Any idea?