Skip to contentSkip to conversation

xenomai release check

Xenomai-help Stéphane ANCELOT 3 participants 6 messages Jul 12, 2007 – Jul 13, 2007

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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, but usr/xenomai/libs were 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.
#2 lore raw
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_CODE and friends in nucleus/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, but usr/xenomai/libs were 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

#3 lore raw
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_CODE and friends in nucleus/version.h

I 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, but usr/xenomai/libs were 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.
#4 lore raw
In reply to Jan Kiszka
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_CODE and friends in nucleus/version.h

I 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, but usr/xenomai/libs were 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

#5 lore raw
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_CODE and friends in nucleus/version.h

I 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, but usr/xenomai/libs were 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.