From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49FFD480.8010106@domain.hid> Date: Mon, 04 May 2009 22:54:08 -0700 From: Thomas Lockhart MIME-Version: 1.0 References: <846584.44873.qm@domain.hid> In-Reply-To: <846584.44873.qm@domain.hid> Content-Type: multipart/alternative; boundary="------------040906030800040606090202" Subject: Re: [Xenomai-help] shared library in xenomai ? List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: luan dinh Cc: "xenomai@xenomai.org" This is a multi-part message in MIME format. --------------040906030800040606090202 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > after that i write TEST program and use fuctions which my library > support. i can build and run TEST program but some functions in my > library doen't work .... What does "doesn't work" mean? If the test program is willing to run then it is finding all symbols in the library and (I think) the library is finding all symbols it needs. > how to build and use my shared library in xenomai? Did you try running ldd on your built library to make sure that the linking is finding all of the dependencies? Or please clarify what does not seem to be working for you... hth - Tom -- Thomas Lockhart Supervisor, Distributed and Real-time Group Instrument Software and Science Data Systems Caltech/JPL --------------040906030800040606090202 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > after that i write TEST program and use fuctions which my library
> support. i can build and run TEST program but some functions in my
> library doen't work ....

What does "doesn't work" mean? If the test program is willing to run then it is finding all symbols in the library and (I think) the library is finding all symbols it needs.

> how to build and use my shared library in xenomai?


Did you try running ldd on your built library to make sure that the linking is finding all of the dependencies? Or please clarify what does not seem to be working for you...

hth

                                   - Tom

--
Thomas Lockhart
Supervisor, Distributed and Real-time Group
Instrument Software and Science Data Systems
Caltech/JPL

--------------040906030800040606090202--