rtems dynamic loading with waf
salpha.2004 at gmail.com
Wed Dec 28 18:28:14 UTC 2016
> 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.
Not this very specific "puts" not found error but I've encountered symbol
not found errors in general. I usually dump the final executable file (
*objdump* command) or extract the symbol table (*nm* command) and debug.
Your case but, I believe, is a bit different because a standard function
can't be found. Which object is calling puts, your base object or the
> xuelin.tian at qkmtech.com
> *From:* Saeed Ehteshamifar <salpha.2004 at gmail.com>
> *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:
> 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
>> xuelin.tian at qkmtech.com
>> users mailing list
>> users at rtems.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users