[Ffmpeg-devel] Compiling on MacIntel is broken

Anders Moden ffmpeg
Thu Aug 17 09:20:10 CEST 2006


From: John Dalgliesh <johnd at defyne.org>
Reply-To: FFMpeg development discussions and patches <ffmpeg-devel at mplayerhq.hu>
Date:  Thu, 17 Aug 2006 12:59:26 +1000 (EST)

>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.
>

Can't do that as the software I build complains about the non reloc section in a static compile is to large. My software needs -fPIC to be able to compile

/Anders Moden
CTO GizmoSDK
http://www.gizmosdk.se 




More information about the ffmpeg-devel mailing list