All of lore.kernel.org
 help / color / mirror / Atom feed
From: luan dinh <dinhluanbmt@domain.hid>
To: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: [Xenomai-help] shared library in xenomai ?
Date: Mon, 4 May 2009 22:45:42 -0700 (PDT)	[thread overview]
Message-ID: <846584.44873.qm@domain.hid> (raw)

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

Dear all.
i finished build a program and run it in xenomai. now i want to build it as shared library.
i use following commands  to create library file (.so ) from object file (.o)    
    gcc -shared -Wl,-soname,libctest.so.1 -o libctest.so.1.0   *.o
    mv libctest.so.1.0 /opt/lib
    ln -sf /opt/lib/libctest.so.1.0 /opt/lib/libctest.so
    ln -sf /opt/lib/libctest.so.1.0 /opt/lib/libctest.so.1
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 ....
how to build and use my shared library in xenomai?
Thanks for any help.
Luan Dinh




      

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

             reply	other threads:[~2009-05-05  5:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-05  5:45 luan dinh [this message]
2009-05-05  5:54 ` [Xenomai-help] shared library in xenomai ? Thomas Lockhart
  -- strict thread matches above, loose matches on Subject: below --
2009-05-05  6:36 luan dinh
2009-05-05  7:55 ` Gilles Chanteperdrix
2009-05-06  6:09 luan dinh
2009-05-06  6:27 ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=846584.44873.qm@domain.hid \
    --to=dinhluanbmt@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.