Closed henkhoo closed 6 years ago
Use stable version of libmodbus. Error happens because libmodbus changed API in its unstable version.
Yup, very good. Thanks for fast response.
what i did wrong here ; i installed it with first with apt install libmodbus-dev or libmodbus5 that didn't work, so i cloned it with git. both seems to be not working with check_modbus.
after your hint i removed all i had installed., downloaded the stable via http://libmodbus.org/releases/libmodbus-3.0.6.tar.gz compiled it and after that i compiled your check_modbus without problem.
Thanks for your work.
Installtion of libmodbus-dev and libmodbus5 should be enough. Most GNU/Linux distros ship stable version of libmodbus. I've checked it right now on Debian 9/10 system and it works. What exactly didn't work with distro packages? What distro are you using? Which version of libmodbus was in the package?
I fix problem with unstable version of libmodbus later. Thanks for the report.
I'll leave the issue open until the problem with unstable version of libmodbus is fixed.
trying to make /install i get this error. looks like src need to be updated i think. i have not enough skills in doing so.
can someone with the skills have a look at the src please.
i get this error,