> Von: Xenomai [mailto:xenomai-boun...@xenomai.org] Im Auftrag von Leopold 
> Palomo-Avellaneda
> Gesendet: Montag, 19. September 2016 22:45
> 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

Here is an answer to a similar problem: 
It says to use the compiler flags -Wformat=0 or/and -Wno-format-security; 
perhaps it helps also in your case.
Best regards,
manroland web systems GmbH -- Managing Director: Alexander Wassermann
Registered Office: Augsburg -- Trade Register: AG Augsburg -- HRB-No.: 26816 -- 
VAT: DE281389840

Confidentiality note:
This eMail and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you are not the intended recipient, you are hereby notified that any use or 
dissemination of this communication is strictly prohibited. If you have 
received this eMail in error, then please delete this eMail.

Xenomai mailing list

Reply via email to