dynamic loading in 4.11

Oleg Moroz oleg.moroz at aol.com
Fri Dec 2 12:11:40 UTC 2011


i'm trying to build test app:

./waf configure --rtems=/opt/rtems-4.10-nt/ 
--rtems-tools=/opt/rtems-4.10-nt/ --rtems-version=4.10

and after this:
./waf

Waf: Entering directory 
`/tmp/rtl-20111005/rtl-20111005/build/sparc-rtems4.10-leon3'
[20/20] cprogram: build/sparc-rtems4.10-leon3/init.c.4.o 
build/sparc-rtems4.10-leon3/main.c.4.o 
build/sparc-rtems4.10-leon3/fs-root-tarfile.o 
build/sparc-rtems4.10-leon3/dlfcn.c.1.o 
build/sparc-rtems4.10-leon3/dlfcn-shell.c.1.o 
build/sparc-rtems4.10-leon3/rtl.c.1.o 
build/sparc-rtems4.10-leon3/rtl-chain-iterator.c.1.o 
build/sparc-rtems4.10-leon3/rtl-debugger.c.1.o 
build/sparc-rtems4.10-leon3/rtl-elf.c.1.o 
build/sparc-rtems4.10-leon3/rtl-error.c.1.o 
build/sparc-rtems4.10-leon3/rtl-obj.c.1.o 
build/sparc-rtems4.10-leon3/rtl-obj-cache.c.1.o 
build/sparc-rtems4.10-leon3/rtl-shell.c.1.o 
build/sparc-rtems4.10-leon3/rtl-sym.c.1.o 
build/sparc-rtems4.10-leon3/rtl-trace.c.1.o 
build/sparc-rtems4.10-leon3/rtl-mdreloc-sparc.c.1.o 
build/sparc-rtems4.10-leon3/rtld-gsyms.c.1.o -> 
build/sparc-rtems4.10-leon3/rtld
init.c.4.o:(.data+0x30): undefined reference to `Init'


How can i fix this?

P.S. When i'm building rtl-host i have some errors about missing 
"native-elf-format.h" (i've copied it to build-linux2 directory, and it 
fixed the problem)

On 02.12.2011 13:42, Oleg Moroz wrote:
> Thank you so much. I will try to use it.
>
> On 02.12.2011 12:15, Chris Johns wrote:
>> On 2/12/11 9:01 PM, Oleg Moroz wrote:
>>> Thanks for this full answer. Are this tools can work only with 
>>> rtems-4.11?
>>
>> No. It will be merged into the 4.11 tree but you could create a base 
>> image (application) with this code on 4.10 and use it. There is 
>> nothing specific in 4.11 you need. Put another way, it could be a 3rd 
>> party library for 4.10.
>>
>> Chris
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users




More information about the users mailing list