On 05/29/2017 11:19 PM, Fyleo wrote:
> Hello all,
> 
> I'm trying to port machinekit (machinekit.io) to xenomai 3.0.4 which
> support only xenomai 2.6.4 for the moment.
> 
> This software is design this way :
> 
> A : main executable
> 
> B : shared library abstracting thread API, with one library for posix,
> for xenomai, ...
> 
> The xenomai B library is linked against alchemy, copperplate, ...
> (xeno-config --ldflags --auto-init-solib --skin=alchemy)
> 
> The program works in a way that, at start time, it load with dlopen the
> configured API (B).
> 
> My problem is that dlopen(with RTLD_GLOBAL|RTLD_NOW) fail with the error
> : "/usr/lib/libcopperplate.so.0: undefined symbol: main"
> 

Could you pick the change below and retry? Feedback welcome.

http://git.xenomai.org/xenomai-3.git/commit/?id=48b2e57e29ca1c33eba14abb4b5eaa15431130fa

-- 
Philippe.

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

Reply via email to