upgrading versions of xenomai 2.2
-----Original Message-----
From: [email protected]
[mailto:[email protected] Behalf Of
[email protected]
Sent: Friday, June 30, 2006 1:02 PM
To: [email protected]
Subject: Xenomai-help Digest, Vol 9, Issue 19
Send Xenomai-help mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://mail.gna.org/listinfo/xenomai-help
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific than "Re: Contents of Xenomai-help digest..."
Today's Topics:
1. static linking of posix demo ([email protected])
2. Re: static linking of posix demo (Gilles Chanteperdrix)
3. pthread_mutex_destroy in 2.2 rc2 (Landau, Bracha)
4. Re: pthread_mutex_destroy in 2.2 rc2 (Gilles Chanteperdrix)
5. Re: [Adeos-main] User space, level triggered interrupt
(Jan Kiszka)
----------------------------------------------------------------------
Message: 1
Date: Thu, 29 Jun 2006 15:50:35 +0200
From: <[email protected]>
Subject: [Xenomai-help] static linking of posix demo
To: <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="US-ASCII"
when I try to link the posix demo satch.c statically by inserting a "-static" option to the LDFLAGS ( %_rt: LDFLAGS= -static $(LDFLAGS_RT) ) I get a lot of Errors about undefined references :
e.g.:
undefined reference to `__wrap_timer_settime'
relocation truncated to fit: R_PPC_REL24 __wrap_timer_settime
Does anybody know what I have done wrong, or is static linking not supposed to be used.
Thank you for your help
Roderik
------------------------------
Message: 2
Date: Thu, 29 Jun 2006 17:20:59 +0200
From: Gilles Chanteperdrix <[email protected]>
Subject: Re: [Xenomai-help] static linking of posix demo All,
I have encountered trouble upgrading from xenomai-2.2 rc2 to xenomai 2.2 rc3.
If the "prepare-script" file encounters a kernel which already has the "xenomai" directories included (from a previous version of xenomai), the "prepare-kernel" script will not do anything.
In order to bypass this problem I had to search for all the "xenomai" subdirectories in the linux tree and rename them. (I searched for the "patch_link" commands inside "prepare-kernel" in order to know what had to be re-patched.)
Is there a way you can indicate that you want to upgrade your kernel?
Also, for some reason I had to comment out "unset CDPATH" in the "prepare-kernel" script (2nd line) to get it to do anything.
Bracha
***********************************************************************************
This email message and any attachments thereto are intended only for use by the addressee(s) named above, and may contain legally privileged and/or confidential information. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the [email protected] and destroy the original message.
***********************************************************************************
Quoted 6 lines · Bracha
I have encountered trouble upgrading from xenomai-2.2 rc2 to xenomai 2.2 rc3.
If the "prepare-script" file encounters a kernel which already has the "xenomai" directories included (from a previous version of xenomai), the "prepare-kernel" script will not do anything.In order to bypass this problem I had to search for all the "xenomai" subdirectories in the linux tree and rename them. (I searched for the "
patch_link" commands inside "prepare-kernel" in order to know what had to be re-patched.)Is there a way you can indicate that you want to upgrade your kernel?
This problem is due to my usage scenario of the prepare-kernel.sh script. Maybe we can try to come to a better solution. In the mean-time, you can use the --forcelink switch.
Signature · 1 line
Gilles Chanteperdrix.
Quoted 6 lines · Bracha
I have encountered trouble upgrading from xenomai-2.2 rc2 to xenomai 2.2 rc3.
If the "prepare-script" file encounters a kernel which already has the "xenomai" directories included (from a previous version of xenomai), the "prepare-kernel" script will not do anything.In order to bypass this problem I had to search for all the "xenomai" subdirectories in the linux tree and rename them. (I searched for the "
patch_link" commands inside "prepare-kernel" in order to know what had to be re-patched.)Is there a way you can indicate that you want to upgrade your kernel?
Revision 1298 should fix this. See attached patch.
Quoted 2 lines
Also, for some reason I had to comment out "unset CDPATH" in the "prepare-kernel" script (2nd line) to get it to do anything.
Do you experience this problem even when passing fully qualified pathes ?
Signature · 1 line
Gilles Chanteperdrix.
prepare-kernel.sh +3 -1
@@ -113,7 +113,9 @@ d=`dirname $f` if test "x$output_patch" = "x"; then mkdir -p $linux_tree/$link_dir/$d - if test x$forcelink = x1 -o ! -h $linux_tree/$link_dir/$f; then + if test x$forcelink = x1 -o \ + ! $xenomai_root/$target_dir/$f -ef $linux_tree/$link_dir/$f; + then ln -sf $xenomai_root/$target_dir/$f $linux_tree/$link_dir/$f fi else