rtems dynamic loading with waf

xuelin.tian at qkmtech.com xuelin.tian at qkmtech.com
Wed Dec 28 12:47:09 UTC 2016

Dear Saeed,
Thank you for your share. The version of RTEMS for this method should be 4.12, and mine is 4.11. I want to keep it unchanged with my other colleagues. 
And today, I tried to generate my loadable RAP via rtems-ld, and got an error "dlopen failed: global symbol not found: puts" when I loaded my RAP into system. Have you ever encountered such a situation? Any ideas on this? Thank you.

xuelin.tian at qkmtech.com
From: Saeed Ehteshamifar
Date: 2016-12-28 18:36
To: xuelin.tian at qkmtech.com
CC: users at rtems.org
Subject: Re: rtems dynamic loading with waf
Dear Xuelin,

I share the pointers I emailed you here. Maybe it'd be useful for someone else too.
Instructions on how to build a DL app via WAF can be found at: http://rtems-fi.blogspot.com/2016/08/dynamic-linking-in-rtems.html
Disclaimer: An "unresolved external" error was encountered at run-time, after building the DL app via the above instructions. 
The link also encompasses instructions on how to build a DL app via OMK, as an alternative to WAF. The OMK DL app ran without an error.

It'd be nice if you, or anyone who successfully builds a DL app via WAF, share the code/instructions here because AFAIK there's no such example in the RTEMS repository/wiki.

Best Regards,

On Mon, Dec 26, 2016 at 7:42 AM, xuelin.tian at qkmtech.com <xuelin.tian at qkmtech.com> wrote:
Dear all,
Does any one use dynamic loading (i.e, dlopen ...) with waf instead of makefile? 

xuelin.tian at qkmtech.com

users mailing list
users at rtems.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20161228/4d46c0ef/attachment-0002.html>

More information about the users mailing list