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

Shapiro, Alex (OTTAWA) Alex.Shapiro at windriver.com
Wed Jun 6 16:58:19 CEST 2007


Hi Carl,

My libmpdemux.a Makefile has the following line:
SRCS_COMMON-$(STREAMING_LIVE555)       += demux_rtp.cpp
demux_rtp_codec.cpp 

I tried with libmpdemux.a containing demux_rtp.o and demux_rtp_codec.o


SRCS_COMMON = asfheader.c \
              aviheader.c \
....
              video.c \
              demux_rtp.cpp	\
              demux_rtp_codec.cpp	\
              yuv4mpeg.c \
              yuv4mpeg_ratio.c \

And removed the following line:
#SRCS_COMMON-$(STREAMING_LIVE555)       += demux_rtp.cpp
demux_rtp_codec.cpp

But the result is the same:
emux_rtp.o): Relocations in generic ELF (EM: 3)
/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/ld:
libmpdemux/libmpdemux.a(demux_rtp.o): Relocations in generic ELF (EM: 3)
libmpdemux/libmpdemux.a: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [mplayer] Error 1
make[1]: Leaving directory
`/home/dsodemo/WindRiver/workspace/Nokia-770-LX1.5-Platform_prj/build/mp
layer-checkout-2007-06-01'
make: *** [mplayer.compile] Error 2
[dsodemo at WindRiverVM build]$

Alex

-----Original Message-----
From: mplayer-dev-eng-bounces at mplayerhq.hu
[mailto:mplayer-dev-eng-bounces at mplayerhq.hu] On Behalf Of Carl Eugen
Hoyos
Sent: Wednesday, June 06, 2007 5:33 AM
To: mplayer-dev-eng at mplayerhq.hu
Subject: Re: [MPlayer-dev-eng] FW: Link error - Relocations in
genericELF(EM: 3)

Hi Alex!

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

> [dsodemo <at> WindRiverVM mplayer-checkout-2007-05-30]$ readelf -h 
> .../mplayer-checkout-2007-06-01/libvo/libvo.a

Please try with libmpdemux.a containing demux_rtp.o and
demux_rtp_codec.o

Carl Eugen

_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng at mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list