On 08/11/17 16:12, Leopold Palomo-Avellaneda wrote:
> Hi,
> 
> 
> I'm trying to build Xenomai 3.0.5 in a Debian Stretch/Buster Amd64 env.
> I'm getting this error:
> 
> /usr/bin/ld: -r and -pie may not be used together
> 
> 
> It's because the default -pie in gcc. I have tried to investigate, but I
> have not found the "-r". probably because the wrap-link script.
> 
> Please, could you give me some idea how to solve it?

I'm answer myself. It seems that yesterday I was obfuscated. Just

export CFLAGS="$CFLAGS -no-pie"

solved the problem.

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?

_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai

Reply via email to