Paradoxxa wrote:
 > 
 > Am Dienstag, den 20.05.2008, 17:16 +0200 schrieb Gilles Chanteperdrix:
 > 
 > > 
 > > I would say there is something wrong with your installation: your
 > > toolchain links with some library which are not present on your target
 > > system (for instance you have ld-linux.so.2 on your target whereas the
 > > binaries generated by your toolchain links to ld-linux.so.3). To know
 > > if this is the case, could you try to compile a simple "hello world"
 > > program using the same toolchain as the one you use to compile Xenomai
 > > user-space libraries ?
 > > 
 > I built the helloworld. The readelf output is:
 > --------------------------------------------------
 > Dynamic section at offset 0x9f8 contains 27 entries:
 >   Tag        Type                         Name/Value
 > 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
 > 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 > 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 > 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 > 0x0000000c (INIT)                       0x84bc
 > 0x0000000d (FINI)                       0x8940
 > 0x00000019 (INIT_ARRAY)                 0x109e8
 > 0x0000001b (INIT_ARRAYSZ)               8 (bytes)
 > 0x0000001a (FINI_ARRAY)                 0x109f0
 > 0x0000001c (FINI_ARRAYSZ)               4 (bytes)
 > 0x00000004 (HASH)                       0x8168
 > 0x00000005 (STRTAB)                     0x8294
 > 0x00000006 (SYMTAB)                     0x81b4
 > 0x0000000a (STRSZ)                      339 (bytes)
 > 0x0000000b (SYMENT)                     16 (bytes)
 > 0x00000015 (DEBUG)                      0x0
 > 0x00000003 (PLTGOT)                     0x10af8
 > 0x00000002 (PLTRELSZ)                   72 (bytes)
 > 0x00000014 (PLTREL)                     REL
 > 0x00000017 (JMPREL)                     0x8474
 > 0x00000011 (REL)                        0x8464
 > 0x00000012 (RELSZ)                      16 (bytes)
 > 0x00000013 (RELENT)                     8 (bytes)
 > 0x6ffffffe (VERNEED)                    0x8404
 > 0x6fffffff (VERNEEDNUM)                 3
 > 0x6ffffff0 (VERSYM)                     0x83e8
 > 0x00000000 (NULL)                       0x0
 > --------------------------------------------------
 > 
 > Additionly i searched for the ld-linux.so*. On the Target is
 > ld-slinux-so.2 and on the host is ld-linux.so.3 (Sourcery Toolchain).
 > The rootfs is also distributed from the vendor. I think i should build a
 > own one. What do you use for building a rootfs?
 > I built also a own Toolchain with crossdev (ld-linux.so.2) and with it i
 > seems to work. I can build the kernel and the user-space support an both
 > of them run on the target.  

I am afraid these questions are completely out of the scope of Xenomai
mailing lists. Personally, I make my rootfs on an NFS shared directory
by copying the libc files from the toolchain, just adding a few other
programs such as busybox, gdbserver, strace, tcpdump, etc... This is
suitable for a test rootfs, but probably not realistic for serious use.

-- 


                                            Gilles.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to