xenomai release check
Hi,
Is it possible to setup a function that returns the xeno version string ?
In cross compiled environment, this will permit to check at runtime that you are running the program with the expected xeno libraries !!!
We have had following problem on the target we setted up:
kernel modules were right, but usr/xenomai/libs were coming from an older xeno release !!
at runtime , our program had some bad issues !
Best Regards
Steph
Quoted 4 lines · Stéphane ANCELOT
Hi,
Is it possible to setup a function that returns the xeno version string ?
Have a look at XENO_VERSION_CODE and friends in nucleus/version.h
Quoted 16 lines
In cross compiled environment, this will permit to check at runtime that you are running the program with the expected xeno libraries !!!
We have had following problem on the target we setted up:
kernel modules were right, butusr/xenomai/libswere coming from an older xeno release !!
at runtime , our program had some bad issues !Best Regards
Steph_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.
Quoted 7 lines · Philippe Gerum
Quoted 4 lines · Stéphane ANCELOT
Hi,
Is it possible to setup a function that returns the xeno version string ?
Have a look at
XENO_VERSION_CODEand friends innucleus/version.h
I think Stephan has a different problem:
Quoted 8 lines
Quoted 8 lines
In cross compiled environment, this will permit to check at runtime that you are running the program with the expected xeno libraries !!!
We have had following problem on the target we setted up:
kernel modules were right, butusr/xenomai/libswere coming from an older xeno release !!
at runtime , our program had some bad issues !
He dynamically linked against some old Xenomai lib over a new kernel, right? That should be caught by the ABI check on library init these days. Stephan, can you tell us which versions where involved here?
Jan
Quoted 15 lines · Jan Kiszka
Quoted 7 lines · Philippe Gerum
Quoted 4 lines · Stéphane ANCELOT
Hi,
Is it possible to setup a function that returns the xeno version string ?
Have a look at
XENO_VERSION_CODEand friends innucleus/version.hI think Stephan has a different problem:
Quoted 4 lines
Quoted 4 lines
In cross compiled environment, this will permit to check at runtime that you are running the program with the expected xeno libraries !!!
Quoted 9 lines
Quoted 4 lines
Quoted 4 lines
We have had following problem on the target we setted up:
kernel modules were right, butusr/xenomai/libswere coming from an older xeno release !!
at runtime , our program had some bad issues !He dynamically linked against some old Xenomai lib over a new kernel, right? That should be caught by the ABI check on library init these days. Stephan, can you tell us which versions where involved here?
Not if the ABI numbers haven't changed, so the real question is: which discrepancy did actually caused the issue, and does it reveal a lack in updating the ABI revs, or a plain application issue.
Quoted 2 lines
Jan
Signature · 1 line
Philippe.
Quoted 18 lines · Jan Kiszka
Quoted 6 lines · Philippe Gerum
Quoted 4 lines · Stéphane ANCELOT
Hi,
Is it possible to setup a function that returns the xeno version string ?
Have a look at
XENO_VERSION_CODEand friends innucleus/version.hI think Stephan has a different problem:
Quoted 7 lines
Quoted 7 lines
In cross compiled environment, this will permit to check at runtime that you are running the program with the expected xeno libraries !!!
We have had following problem on the target we setted up:
kernel modules were right, butusr/xenomai/libswere coming from an older xeno release !!
at runtime , our program had some bad issues !
YES, YOU ARE RIGHT , we linked 2.3.0 compiled programs against 2.1.2 libs
Quoted 6 lines
He dynamically linked against some old Xenomai lib over a new kernel, right? That should be caught by the ABI check on library init these days. Stephan, can you tell us which versions where involved here?
Jan
Quoted 14 lines · Stéphane ANCELOT
Quoted 13 lines · Jan Kiszka
Quoted 6 lines · Philippe Gerum
Quoted 4 lines · Stéphane ANCELOT
Hi,
Is it possible to setup a function that returns the xeno version string ?
Have a look at
XENO_VERSION_CODEand friends innucleus/version.hI think Stephan has a different problem:
Quoted 3 lines
Quoted 3 lines
In cross compiled environment, this will permit to check at runtime that you are running the program with the expected xeno libraries !!!
Quoted 8 lines
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
We have had following problem on the target we setted up:
kernel modules were right, butusr/xenomai/libswere coming from an older xeno release !!
at runtime , our program had some bad issues !YES, YOU ARE RIGHT , we linked 2.3.0 compiled programs against 2.1.2 libs
Unfortunately, our ABI revs between those versions are wrong then.
Quoted 8 lines
Quoted 6 lines
He dynamically linked against some old Xenomai lib over a new kernel, right? That should be caught by the ABI check on library init these days. Stephan, can you tell us which versions where involved here?
Jan
Signature · 1 line
Philippe.