<div dir="ltr">In the long run, I think that we should never build orocos.rb with xenomai enabled, it makes no sense. Which means that we should always build a gnulinux RTT *and* a xenomai RTT when under xenomai. Unfortunately, I don't know if anybody would have the time to implement / test this.<div>
<br></div><div>It would even make sense to allow selecting which components should be built with Xenomai and which should not, but that would be an awful lot of work to get right. </div><div><br></div><div>For what it's worth, Xenomai support is in a poor state in Rock because LinuxRT is nowadays really really good even for demanding applications. But YMMV.</div>
<div><br></div><div>Sylvain</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 2, 2014 at 9:10 AM, Matthias Goldhoorn <span dir="ltr"><<a href="mailto:matthias.goldhoorn@dfki.de" target="_blank">matthias.goldhoorn@dfki.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Ok, got the problem -- solved --<br>
<br>
It's related to this:<br>
<a href="http://www.kieltech.de/uweswiki/Xenomai" target="_blank">http://www.kieltech.de/uweswiki/Xenomai</a> -> Testing Xenomai<br>
you have to build the xenomai packages with "
--enable-dlopen-skins"<br>
If you have done (and reinstalled) this, you have to add yourself
to the xenomai group if you have followed this xenomai
instructions
<a href="http://www.stanley.gatech.edu/skelly/uncategorized/installing-xenomai-on-ubuntu-12-04/" target="_blank">http://www.stanley.gatech.edu/skelly/uncategorized/installing-xenomai-on-ubuntu-12-04/</a>.<br>
<br>
Afterward for me everything seems to work fine,<br>
Best,<br>
Matthias<br>
<br>
P.S. error to search for:<br>
<pre>rb(main):001:0> require 'rorocos_ext'
LoadError: libnative.so.3: shared object cannot be dlopen()ed -
</pre><div class="">
<br>
On 30.06.2014 13:57, Matthias Goldhoorn wrote:<br>
</div></div><div><div class="h5">
<blockquote type="cite">
<pre>I got the same on my xenomai version of rock.
I cc the rock-dev therefore.
If there noone give's a hint, i will take a look during this week...
Best,
Matthias
On 30.06.2014 13:50, Tavakoli Siavash wrote:
</pre>
<blockquote type="cite">
<pre>Recreating and resourcing the env.sh didn't help. Irb outputs some additional info:
NotImplementedError: method `backtrace' called on unexpected T_NODE object (0x00000002b56bf0 flags=0x381c klass=0x0)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from (irb):1
from /usr/bin/irb1.9.1:12:in `<main>'
Best,
Siavash
________________________________________
From: Matthias Goldhoorn [<a href="mailto:matthias.goldhoorn@dfki.de" target="_blank">matthias.goldhoorn@dfki.de</a>]
Sent: Monday, June 30, 2014 2:18 PM
To: Tavakoli Siavash
Cc: <a href="mailto:rock-users@dfki.de" target="_blank">rock-users@dfki.de</a>
Subject: Re: [Rock-users] Unable to start component by ruby
If the suggestion from below (and rebuilding) does not help
try:
source env.sh
irb
> require 'orocos'
and post (if hopefully) the additional error msg.
Best,
Matthias
On 30.06.2014 13:02, Sascha Arnold wrote:
</pre>
<blockquote type="cite">
<pre>Hello,
I think to remember, that I solved this error once by recreate the
env.sh with
</pre>
<blockquote type="cite">
<pre>autoproj envsh
</pre>
</blockquote>
<pre>and resource the environment
</pre>
<blockquote type="cite">
<pre>. env.sh
</pre>
</blockquote>
<pre>Maybe that helps.
Best,
Sascha
On 30.06.2014 12:12, Tavakoli Siavash wrote:
</pre>
<blockquote type="cite">
<pre>Hi,
Thanks for your reply.
So I did:
rm -r tools/orocos.rb/
autoproj update
amake
but the error is still there. Maybe it was fixed in next or master?
________________________________________
From: Matthias Goldhoorn [<a href="mailto:matthias.goldhoorn@dfki.de" target="_blank">matthias.goldhoorn@dfki.de</a>]
Sent: Monday, June 30, 2014 12:05 PM
To: <a href="mailto:rock-users@dfki.de" target="_blank">rock-users@dfki.de</a>; Tavakoli Siavash
Subject: Re: [Rock-users] Unable to start component by ruby
Hi,
Please try to delete the whole orocos.rb folder and then run a update &&
build again.
We had some problems in the past with rebuilding of ruby packages.
Best,
Matthias
On 30.06.2014 10:25, Tavakoli Siavash wrote:
</pre>
<blockquote type="cite">
<pre>Hello,
I have created a component and wrote a script to run it by using the ruby interface but running the script fails with an error:
Cannot require orocos.rb's Ruby/C extension
If you are using Rock, this should have been done automatically.
Run
amake orocos.rb
and try again
rebuilding orocos.rb doesn't help and I get the same error again. I'm running the stable branch and target is Xenomai.
Thanks,
Siavash
_______________________________________________
Rock-users mailing list
<a href="mailto:Rock-users@dfki.de" target="_blank">Rock-users@dfki.de</a>
<a href="http://www.dfki.de/mailman/cgi-bin/listinfo/rock-users" target="_blank">http://www.dfki.de/mailman/cgi-bin/listinfo/rock-users</a>
</pre>
</blockquote>
<pre>--
Dipl.-Inf. Matthias Goldhoorn
Space and Underwater Robotic
Universität Bremen
FB 3 - Mathematik und Informatik
AG Robotik
Robert-Hooke-Straße 1
28359 Bremen, Germany
Zentrale: <a href="tel:%2B49%20421%20178%2045-6611" value="+49421178456611" target="_blank">+49 421 178 45-6611</a>
Besuchsadresse der Nebengeschäftstelle:
Robert-Hooke-Straße 5
28359 Bremen, Germany
Tel.: <a href="tel:%2B49%20421%20178%2045-4193" value="+49421178454193" target="_blank">+49 421 178 45-4193</a>
Empfang: <a href="tel:%2B49%20421%20178%2045-6600" value="+49421178456600" target="_blank">+49 421 178 45-6600</a>
Fax: <a href="tel:%2B49%20421%20178%2045-4150" value="+49421178454150" target="_blank">+49 421 178 45-4150</a>
E-Mail: <a href="mailto:matthias.goldhoorn@informatik.uni-bremen.de" target="_blank">matthias.goldhoorn@informatik.uni-bremen.de</a>
Weitere Informationen: <a href="http://www.informatik.uni-bremen.de/robotik" target="_blank">http://www.informatik.uni-bremen.de/robotik</a>
_______________________________________________
Rock-users mailing list
<a href="mailto:Rock-users@dfki.de" target="_blank">Rock-users@dfki.de</a>
<a href="http://www.dfki.de/mailman/cgi-bin/listinfo/rock-users" target="_blank">http://www.dfki.de/mailman/cgi-bin/listinfo/rock-users</a>
</pre>
</blockquote>
</blockquote>
<pre>--
Dipl.-Inf. Matthias Goldhoorn
Space and Underwater Robotic
Universität Bremen
FB 3 - Mathematik und Informatik
AG Robotik
Robert-Hooke-Straße 1
28359 Bremen, Germany
Zentrale: <a href="tel:%2B49%20421%20178%2045-6611" value="+49421178456611" target="_blank">+49 421 178 45-6611</a>
Besuchsadresse der Nebengeschäftstelle:
Robert-Hooke-Straße 5
28359 Bremen, Germany
Tel.: <a href="tel:%2B49%20421%20178%2045-4193" value="+49421178454193" target="_blank">+49 421 178 45-4193</a>
Empfang: <a href="tel:%2B49%20421%20178%2045-6600" value="+49421178456600" target="_blank">+49 421 178 45-6600</a>
Fax: <a href="tel:%2B49%20421%20178%2045-4150" value="+49421178454150" target="_blank">+49 421 178 45-4150</a>
E-Mail: <a href="mailto:matthias.goldhoorn@informatik.uni-bremen.de" target="_blank">matthias.goldhoorn@informatik.uni-bremen.de</a>
Weitere Informationen: <a href="http://www.informatik.uni-bremen.de/robotik" target="_blank">http://www.informatik.uni-bremen.de/robotik</a>
</pre>
</blockquote>
<pre>
</pre>
</blockquote>
<br>
<br>
<pre cols="72">--
Dipl.-Inf. Matthias Goldhoorn
Space and Underwater Robotic
Universität Bremen
FB 3 - Mathematik und Informatik
AG Robotik
Robert-Hooke-Straße 1
28359 Bremen, Germany
Zentrale: <a href="tel:%2B49%20421%20178%2045-6611" value="+49421178456611" target="_blank">+49 421 178 45-6611</a>
Besuchsadresse der Nebengeschäftstelle:
Robert-Hooke-Straße 5
28359 Bremen, Germany
Tel.: <a href="tel:%2B49%20421%20178%2045-4193" value="+49421178454193" target="_blank">+49 421 178 45-4193</a>
Empfang: <a href="tel:%2B49%20421%20178%2045-6600" value="+49421178456600" target="_blank">+49 421 178 45-6600</a>
Fax: <a href="tel:%2B49%20421%20178%2045-4150" value="+49421178454150" target="_blank">+49 421 178 45-4150</a>
E-Mail: <a href="mailto:matthias.goldhoorn@informatik.uni-bremen.de" target="_blank">matthias.goldhoorn@informatik.uni-bremen.de</a>
Weitere Informationen: <a href="http://www.informatik.uni-bremen.de/robotik" target="_blank">http://www.informatik.uni-bremen.de/robotik</a></pre>
</div></div></div>
<br>_______________________________________________<br>
Rock-dev mailing list<br>
<a href="mailto:Rock-dev@dfki.de">Rock-dev@dfki.de</a><br>
<a href="http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev" target="_blank">http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev</a><br>
<br></blockquote></div><br></div>