[Ffmpeg-devel] Compiling on MacIntel is broken

John Dalgliesh johnd
Thu Aug 17 04:59:26 CEST 2006


On Wed, 16 Aug 2006, Anders Moden wrote:
>
> Hi !
>
> When i compile rev 6005 using
> ./configure --enable-shared
>
> i get a
>
> {standard input}:11820:non-relocatable subtraction expression, 
> "_put_pixels16_y2_mmx" minus "L00000000038$pb"
> {standard input}:11820:symbol: "_put_pixels16_y2_mmx" can't be undefined in a 
> subtraction expression
> make[1]: *** [i386/dsputil_mmx.o] Error 1

That error is a red herring. gcc -S produces no output... in fact I don't 
know why it tries to assemble it at all when the real error is before 
that:

i386/h264dsp_mmx.c: In function 'h264_h_loop_filter_luma_mmx2':
i386/dsputil_mmx.c:630: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i386/dsputil_mmx.c:630: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'

dsputil_mmx.c:630 is the inline fn transpose4x4 ... which is 
'instantiated' by h264_h_loop_filter_luma_mmx2.

> on a macintel 10.4.7 8j2135 using gcc 4.0.1 (build 5341)

Compiling with '-mdynamic-no-pic' (i.e. w/out --enable-shared) does not 
show this error.

{P^/




More information about the ffmpeg-devel mailing list