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' 

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,


Linux User 152692     GPG: 05F4A7A949A2D9AA
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.
Xenomai mailing list

Reply via email to