[MPlayer-users] compilation fails on i486

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Jul 6 14:18:11 CEST 2008


On Sun, Jul 06, 2008 at 12:55:51PM +0200, Dominik 'Rathann' Mierzejewski wrote:
> On Saturday, 05 July 2008 at 22:33, Wolfram.Diessel wrote:
> > Moin,
> > 
> > current (jul 5th 2008) svn version compilation fails during final link 
> > on my compaq deskpro 486/66MHz.
> > System: linux-2.6.12.5, gcc-4.0.1, glibc-2.3.5
> > 
> > Error message:
> > 
> > libmpeg2/idct.o: In function `mpeg2_idct_init':
> > idct.c:(.text+0x699): undefined reference to `mpeg2_idct_copy_sse2'
> > idct.c:(.text+0x6a3): undefined reference to `mpeg2_idct_add_sse2'
> > idct.c:(.text+0x6b2): undefined reference to `mpeg2_idct_copy_mmxext'
> > idct.c:(.text+0x6bc): undefined reference to `mpeg2_idct_add_mmxext'
> > idct.c:(.text+0x6cb): undefined reference to `mpeg2_idct_copy_mmx'
> > idct.c:(.text+0x6d5): undefined reference to `mpeg2_idct_add_mmx'
> > idct.c:(.text+0x6a8): undefined reference to `mpeg2_idct_mmx_init'
> > idct.c:(.text+0x6c1): undefined reference to `mpeg2_idct_mmx_init'
> > idct.c:(.text+0x6da): undefined reference to `mpeg2_idct_mmx_init'
> > libmpeg2/motion_comp.o: In function `mpeg2_mc_init':
> > motion_comp.c:(.text+0x10): undefined reference to `mpeg2_mc_mmxext'
> > motion_comp.c:(.text+0x46): undefined reference to `mpeg2_mc_3dnow'
> > motion_comp.c:(.text+0x66): undefined reference to `mpeg2_mc_mmx'
> > collect2: ld returned 1 exit status
> > make: *** [mplayer] Error 1
> 
> Bugreport is useless, please follow the documented procedure.
> See http://www.mplayerhq.hu/DOCS/HTML/en/bugreports.html.

Well, actually it is enough to guess, either libmpeg2/idct_mmx.c etc. need to
be compiled unconditionally on x86 (IMO the right solution) or the use
of the MMX etc. functions must be under HAVE_MMX ifdef in libmpeg2/idct.c etc.

Greetings,
Reimar Döffinger



More information about the MPlayer-users mailing list