sorry, I meant Michael.

On Fri, Jan 11, 2013 at 2:37 PM, Ruben Louw <lfxciii@gmail.com> wrote:
Hi Tim

I'm trying to get my mind wrapped around this.

I ran your command and this is what it outputs:

Dynamic section at offset 0x3f1df8 contains 25 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libncurses.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libtinfo.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000f (RPATH)              Library rpath: [/home/orbit/OSELAS.Toolchain-2012.12.0/platform-arm-v4t-linux-gnueabi-gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/sysroot-host/lib:/this/is/a/long/path/to/make/host/tools/relocateable/with/chrpath/when/using/dev/packages]
 0x000000000000000c (INIT)               0x4046b0
 0x000000000000000d (FINI)               0x6a0218
 0x000000006ffffef5 (GNU_HASH)           0x400298
 0x0000000000000005 (STRTAB)             0x401e88
 0x0000000000000006 (SYMTAB)             0x400388
 0x000000000000000a (STRSZ)              2803 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000003 (PLTGOT)             0x9f1fe8
 0x0000000000000002 (PLTRELSZ)           6312 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x402e08
 0x0000000000000007 (RELA)               0x402ca0
 0x0000000000000008 (RELASZ)             360 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x402bc0
 0x000000006fffffff (VERNEEDNUM)         3
 0x000000006ffffff0 (VERSYM)             0x40297c
 0x0000000000000000 (NULL)               0x0

its not linking to Python right? if i then install python, do i have to make the link myself?

Thanks

Ruben


On Fri, Jan 11, 2013 at 2:30 PM, Michael Olbrich <m.olbrich@pengutronix.de> wrote:
Hi,

On Fri, Jan 11, 2013 at 12:57:45PM +0200, Ruben Louw wrote:
> Thanks for the advice. Just to be sure. Python was not enabled (default)
> then as the helper? Could it be I was correct? So then I need to rebuild
> the toolchain, with Python enabled (example below)? Or is there a quick
> hack for me to try without rebuilding the toolchain, cos then I have to
> rebuild everything and I just want to quick test if this is the solution.
>
> Do I understand this correctly, or am I way off?

The default is autodetect. Run 'readelf -d
/path/to/toolchain/bin/<prefix>-gdb' and see if it links to
libpython2.7.so.1.0 or something like that.

If not, then you need to istall python-dev or something like that.

Michael

--
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

--
ptxdist mailing list
ptxdist@pengutronix.de