Hei hei, Am Thu, Mar 09, 2023 at 10:29:06AM +0100 schrieb Michael Olbrich: > On Thu, Mar 09, 2023 at 10:08:50AM +0100, Juergen Borleis wrote: > > With change a08638d93d19624cf3c20d033ea8f61b96c43408 > > "libmodbus: version bump 2.0.4 -> 3.0.8" > > libmodbus changed from 2.x.x to 3.0.x version like libmodbus3 did. > > > > And with change a76b31d5b637bc89ca26e7fa81503cbc7632b666 > > "libmodbus3: version bump 3.0.6 -> 3.1.4" > > libmodbus3 switched to the recent to 3.1.x version. > > Hmmm, it feels like there were supposed to be for two packages, one for > version 2.x and one for 3.x, at least it started that way. > I don't really know anything about libmodbus. Are the two versions > incompatible?
Yes, 3.0.x and 3.1.x have incompatible APIs and probably ABIs. 3.0.x has .so version 5 and 3.1.x has .so version 6, at least to my notes and the code trying to distinguish this. Greets Alex > > Ladislav, you touched it last, you did the "2.0.4 -> 3.0.8". Do you have > any insight here? > > Michael > > > > Signed-off-by: Juergen Borleis <j...@pengutronix.de> > > --- > > rules/libmodbus.in | 4 ++-- > > rules/libmodbus3.in | 4 ++-- > > 2 files changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/rules/libmodbus.in b/rules/libmodbus.in > > index f4f71fc..89ab189 100644 > > --- a/rules/libmodbus.in > > +++ b/rules/libmodbus.in > > @@ -4,7 +4,7 @@ config LIBMODBUS > > prompt "libmodbus" > > help > > libmodbus is a library that implements the Modbus/RTU protocol > > - (TCP and serial). > > + (TCP and serial) (Version 3.0.x). > > > > - WWW: https://launchpad.net/libmodbus > > + WWW: https://libmodbus.org/ > > > > diff --git a/rules/libmodbus3.in b/rules/libmodbus3.in > > index 3a950d7..d69a882 100644 > > --- a/rules/libmodbus3.in > > +++ b/rules/libmodbus3.in > > @@ -4,7 +4,7 @@ config LIBMODBUS3 > > prompt "libmodbus3" > > help > > libmodbus is a library that implements the Modbus protocol > > - (TCP and serial) (Version 3.0.x). > > + (TCP and serial) (Version 3.1.x). > > > > - WWW: http://http://libmodbus.org/ > > + WWW: https://libmodbus.org/ > > > > -- > > 2.30.2 > > > > > > > > -- > Pengutronix e.K. | | > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | >