Perrine Martignoni wrote:
...
> -Wl,--wrap,close -Wl,--wrap,shm_open -Wl,--wrap,shm_unlink -Wl,--wrap,mmap
> -Wl,--wrap,munmap -L/usr/xenomai_arm-2.3.1uClibc/lib essai_mutex_rt.o
> -lpthread_rt -lpthread -lrt -o essai_mutex_rt

I think to remember the ordering makes a difference here: Try to put
essai_mutex_rt.o after the libs. That's also what happens when using the
Xenomai provided flags.

Apropos: Use `<xenomai-installation-path>/xeno-config --posix-ldflags`
(also for --posix-cflags) to make your life easier. There is generally
no need to maintain all the flags on your own - and it's error-prone.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to