All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] xenomai 2.6.0:Linkage Error.
@ 2012-02-29 16:16 teoman cengiz
  2012-02-29 16:19 ` teoman cengiz
  2012-02-29 17:53 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 3+ messages in thread
From: teoman cengiz @ 2012-02-29 16:16 UTC (permalink / raw)
  To: xenomai-help

[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]

Hello;

   I was using Xenomai 2.4.8 .  My applications were running and I had no
linkage or run time errors.

   Due to some necessities ,xenomai 2.6.0. But I can even not  run
xenomai-2.6.0 default examples such as latency:

robotlab@domain.hid$ sudo
./latency
/usr/src/xenomai-2.6.0/src/testsuite/latency/.libs/lt-latency: symbol
lookup error: /usr/src/xenomai-2.6.0/src/skins/native/.libs/libnative.so.3:
undefined symbol: xeno_current


Also I get errors in rtdm in xenomai-head examples  :

robotlab@domain.hid$
./tut01-skeleton-app
./tut01-skeleton-app: symbol lookup error: /usr/xenomai/lib/librtdm.so.1:
undefined symbol: xeno_bind_skin_opt

I get same error from my own application too,

*I am sure, my flags are correct !

The makefiles finds all rtdm and native *libraries or what else required..

So it is not a xeno-config fault. I also tried by hand and edited makefiles
properly.


My last option is recompilation of xenomai-2.6.0 and the kernel, then
reinstallation...


Can anybody help, what else can I try to solve the problem, my platform is
2.6.38.8-xenomai-2.6 ?


Regards..



Teoman.

[-- Attachment #2: Type: text/html, Size: 1293 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] xenomai 2.6.0:Linkage Error.
  2012-02-29 16:16 [Xenomai-help] xenomai 2.6.0:Linkage Error teoman cengiz
@ 2012-02-29 16:19 ` teoman cengiz
  2012-02-29 17:53 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 3+ messages in thread
From: teoman cengiz @ 2012-02-29 16:19 UTC (permalink / raw)
  To: xenomai-help

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

I forgot to say, gcc version is:gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1,
Ubuntu 11.04

2012/2/29 teoman cengiz <teoman.ondin@domain.hid>

> Hello;
>
>    I was using Xenomai 2.4.8 .  My applications were running and I had no
> linkage or run time errors.
>
>    Due to some necessities ,xenomai 2.6.0. But I can even not  run
> xenomai-2.6.0 default examples such as latency:
>
> robotlab@domain.hid$
> sudo ./latency
> /usr/src/xenomai-2.6.0/src/testsuite/latency/.libs/lt-latency: symbol
> lookup error: /usr/src/xenomai-2.6.0/src/skins/native/.libs/libnative.so.3:
> undefined symbol: xeno_current
>
>
> Also I get errors in rtdm in xenomai-head examples  :
>
> robotlab@domain.hid$
> ./tut01-skeleton-app
> ./tut01-skeleton-app: symbol lookup error: /usr/xenomai/lib/librtdm.so.1:
> undefined symbol: xeno_bind_skin_opt
>
> I get same error from my own application too,
>
> *I am sure, my flags are correct !
>
> The makefiles finds all rtdm and native *libraries or what else required..
>
> So it is not a xeno-config fault. I also tried by hand and edited
> makefiles properly.
>
>
> My last option is recompilation of xenomai-2.6.0 and the kernel, then
> reinstallation...
>
>
> Can anybody help, what else can I try to solve the problem, my platform is
> 2.6.38.8-xenomai-2.6 ?
>
>
> Regards..
>
>
>
> Teoman.
>
>
>
>
>
>
>
>
>
>
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 1741 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] xenomai 2.6.0:Linkage Error.
  2012-02-29 16:16 [Xenomai-help] xenomai 2.6.0:Linkage Error teoman cengiz
  2012-02-29 16:19 ` teoman cengiz
@ 2012-02-29 17:53 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2012-02-29 17:53 UTC (permalink / raw)
  To: teoman cengiz; +Cc: xenomai-help

On 02/29/2012 05:16 PM, teoman cengiz wrote:
> Hello;
> 
>    I was using Xenomai 2.4.8 .  My applications were running and I had no
> linkage or run time errors.
> 
>    Due to some necessities ,xenomai 2.6.0. But I can even not  run
> xenomai-2.6.0 default examples such as latency:
> 
> robotlab@domain.hid$ sudo
> ./latency
> /usr/src/xenomai-2.6.0/src/testsuite/latency/.libs/lt-latency: symbol
> lookup error: /usr/src/xenomai-2.6.0/src/skins/native/.libs/libnative.so.3:
> undefined symbol: xeno_current

Do you have the same problem if you run make install and run the
installed latency?

> Also I get errors in rtdm in xenomai-head examples  :
> 
> robotlab@domain.hid$
> ./tut01-skeleton-app
> ./tut01-skeleton-app: symbol lookup error: /usr/xenomai/lib/librtdm.so.1:
> undefined symbol: xeno_bind_skin_opt

You are trying to compile xenomai-head examples with xenomai 2.6. This
will not work. You should try and compile xenomai 2.6 examples. Please
pick them from the git repository as the makefiles were broken in
xenomai 2.6.0 as well. Alternatively, you can apply the following patch:
http://git.xenomai.org/?p=xenomai-2.6.git;a=commitdiff;h=689e0433ab907958f162181d9b8c3b49012dd67a;hp=b10443b256dcc57a6a200572def4adda567d473a

> 
> I get same error from my own application too,
> 
> *I am sure, my flags are correct !
> 
> The makefiles finds all rtdm and native *libraries or what else required..
> 
> So it is not a xeno-config fault. I also tried by hand and edited makefiles
> properly.

It is the makefiles fault: the xeno-config usage has changed in xenomai
2.6. So, you should, as I already told you in three separate mails,
some of which even private, run xeno-config --help to understand the syntax.

The next time you ask the same question, you will either be flamed, or
simply ignored, depending on my mood at the time.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-29 17:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-29 16:16 [Xenomai-help] xenomai 2.6.0:Linkage Error teoman cengiz
2012-02-29 16:19 ` teoman cengiz
2012-02-29 17:53 ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.