<div dir="ltr">Hi,<div><br></div><div>would you please have a try using rap format? does your elf  file symbol table contain the "puts" symbol?</div><div>If using rap format, you can use rtems-syms to check it. I am not sure whether your command is right since i did not work on  this for a long time, I just downloaded the source code yesterday, and rebegin do something:)<br>
<div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-30 20:15 GMT+08:00 Mihaela Panescu <span dir="ltr"><<a href="mailto:mihaela.panescu@gmail.com" target="_blank">mihaela.panescu@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><font face="georgia, serif"><br></font></div><div><font face="georgia, serif">Hi,</font></div>
<div>

<font face="georgia, serif">I have a problem load a dynamic library using rtems and rtl.</font></div><div><font face="georgia, serif">I have a basic dynamic library which should print "hello" using printf, but when the library is loaded with dlopen(), the "global symbol nout found: puts" message is returned.</font></div>


<div><font face="georgia, serif"><br></font></div><div><font face="georgia, serif">I compile the library in a similar way as rtld test: </font></div><div>

<font face="georgia, serif"><span style="white-space:pre-wrap"> </span>arm-rtems4.11-ar -rcs libbasic_math.a basic_math.o</font></div><div><font face="georgia, serif"><span style="white-space:pre-wrap">      </span>rtems-ra --lib basic_math --output-path ./ --no-stdlibs --cc arm-rtems4.11-gcc -Wl,-static  -L$(RTEMS_TOOLCHAIN)/arm-rtems4.11/lib -l c</font></div>


<div><font face="georgia, serif"><span style="white-space:pre-wrap">      </span>arm-rtems4.11-ar x libbasic_math.ra</font></div><div><font face="georgia, serif"><br>

</font></div><div><font face="georgia, serif">I also tried to compile it with:</font></div><div><font face="georgia, serif"><span style="white-space:pre-wrap">     </span>rtems-ld -o basic_math.elf -O a -n -b dll.exe -e Init --cc arm-rtems4.11-gcc basic_math.o -L$(RTEMS_TOOLCHAIN)/arm-rtems4.11/lib -l c</font></div>


<div><font face="georgia, serif">, but no luck:</font></div><div><font face="georgia, serif"><br></font></div><div><font face="georgia, serif">Thank you,</font></div>

<div><font face="georgia, serif">Mihaela</font></div></div></div>
<br>_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br></blockquote></div><br></div></div></div>