All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Cannot create a share library linked against Xenomai libs
@ 2016-09-19 20:45 Leopold Palomo-Avellaneda
  2016-09-20  6:18 ` dietmar.schindler
  2016-09-20  7:04 ` Philippe Gerum
  0 siblings, 2 replies; 8+ messages in thread
From: Leopold Palomo-Avellaneda @ 2016-09-19 20:45 UTC (permalink / raw)
  To: Xenomai Users list

Hi,


I'm trying to build a shared library, using the posix skin with Xenomai 3.0.3. 
I have built xenomai with:

'--with-core=cobalt' '--enable-smp' '--enable-pshared' '--enable-fortify' 
'--enable-shared

I built withour any error. However, when I try to build a library (shared) 
that uses xenomai I got this error:

/usr/bin/ld: /usr/xenomai/lib/xenomai/bootstrap.o: relocation R_X86_64_32 
against `.rodata.str1.1' can not be used when making a shared object; 
recompile with -fPIC

Static libs build perfect. 

Any idea,

Best regards,

Leopold


-- 
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://xenomai.org/pipermail/xenomai/attachments/20160919/dc0a9371/attachment.sig>

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

end of thread, other threads:[~2016-09-21 10:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-19 20:45 [Xenomai] Cannot create a share library linked against Xenomai libs Leopold Palomo-Avellaneda
2016-09-20  6:18 ` dietmar.schindler
2016-09-20  6:37   ` Leopold Palomo-Avellaneda
2016-09-20  7:06     ` Philippe Gerum
2016-09-20  7:04 ` Philippe Gerum
2016-09-20 10:56   ` Leopold Palomo-Avellaneda
2016-09-21  8:30     ` Philippe Gerum
2016-09-21 10:41       ` Leopold Palomo-Avellaneda

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.