Hi Philippe,
Below are the snippets compiled with -fPIC in the DSO. If I don't compile with
-fPIC, I get this error:
# bin/vxapp
bin/vxapp: error while loading shared libraries: /usr/xenomai/lib/libscs750.so:
R_PPC_REL24 relocation at 0x0ffacec4 for symbol `munmap' out of range
If I do
On 04/19/2018 01:02 AM, Pham, Phong wrote:
> “This is likely happening because the default auto-init glue module for
> a final executable is mentioned in the flags, you either want to pass
> --auto-init-solib if you do need auto-init for bootstrapping a DSO, or
> --no-auto-init if you don't care
“This is likely happening because the default auto-init glue module for a final
executable is mentioned in the flags, you either want to pass --auto-init-solib
if you do need auto-init for bootstrapping a DSO, or --no-auto-init if you
don't care about auto-bootstrap, along with --ldflags to
On 04/18/2018 09:33 PM, Pham, Phong wrote:
>
> Hi,
>
> Instead of symbol `mmap' out of range, I now have symbol `malloc' out of
> range. I removed all the -fPIC in my environment. I have to recompile
> libc??? I never compiled libc and wants to avoid it.
Of course not.
>
> Any
Hi,
Instead of symbol `mmap' out of range, I now have symbol `malloc' out of
range. I removed all the -fPIC in my environment. I have to recompile
libc??? I never compiled libc and wants to avoid it.
Any suggestion on
R_PPC_REL24 relocation at 0x0ffacd3c for symbol `mmap/malloc' out of
Hi Philippe and all,
Regarding "Your app may be missing symbol wrapping. Please check out this doc:
https://xenomai.org/documentation/xenomai-3/html/xeno3prm/group__cobalt__api.html;
Thanks for the tip. In the Makefile fragment from this link:
On 04/10/2018 09:03 PM, Pham, Phong wrote:
>
> Hi,
>
> According to page 651
> https://xenomai.org/documentation/xenomai-3/pdf/xeno3prm.pdf
>
>
> This will make such region accessible via the mapper device using the
> following sequence of code, via
> the default ->mmap() handler from the UDD