[MPlayer-dev-eng] FW: Link error - Relocations in generic ELF (EM: 3)

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jun 5 22:35:14 CEST 2007


Hi!

Shapiro, Alex (OTTAWA <Alex.Shapiro <at> windriver.com> writes:

> I have a link error with my released version of mplayer package. At the
> end of compilation with (my arm toolchain) "ccache
> arm-wrs-linux-gnueabi-armv5tel-glibc_small-gcc", the link start, and
> immediately failed with the following error:

I don't have a cross compiler on my linux system (and I couldn't find anything
like "arm-wrs-linux-gnueabi-armv5tel-glibc_small-gcc" using Google), so I can't
try myself, but I think a few answers may help:

You mention "Makefile from workspace-nokia770_layer-dist-mplayer" - does this
mean you use a patched Makefile, not the one provided by svn checkout?

Does the compilation succeed if you use --disable-live (or don't provide the
necessary include directory)?

What configure line are you using?

[...]

> The path
> /home/dsodemo/WindRiver/gnu/3.4.4-wrlinux-1.5/x86-linux2/bin/../lib/gcc/
> arm-wrs-linux-gnueabi/3.4.4/../../../../arm-wrs-linux-gnueabi/bin/ is
> pointing to
> /home/dsodemo/WindRiver/gnu/3.4.4-wrlinux-1.5/x86-linux2/arm-wrs-linux-g
> nueabi/bin (it's  my  native Linux toolchain), when actually it should
> point to (my arm toolchain)  in:
> /home/dsodemo/WindRiver/gnu/3.4.4-wrlinux-1.5/x86-linux2/bin.

If I understand that correctly, you suspect the linking stage not using the
correct toolchain. Did you try to link manually by copying the line and changing
the beginning to use the correct path?

Carl Eugen




More information about the MPlayer-dev-eng mailing list