Cavin wrote:
> Hi,
> 
> Using fink 32-bit trying to build bundle-kde4-mac. ffmpeg-0.4.20071217-7 
> fails to build.
[]
> gcc 
> -I"/sw/src/fink.build/ffmpeg-0.4.20071217-7/ffmpeg-0.4.20071217"/libswscale 
> -I"/sw/src/fink.build/ffmpeg-0.4.20071217-7/ffmpeg-0.4.20071217"/libavcodec  
> -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
> -D_ISOC9X_SOURCE 
> -I"/sw/src/fink.build/ffmpeg-0.4.20071217-7/ffmpeg-0.4.20071217" 
> -I"/sw/src/fink.build/ffmpeg-0.4.20071217-7/ffmpeg-0.4.20071217" 
> -I"/sw/src/fink.build/ffmpeg-0.4.20071217-7/ffmpeg-0.4.20071217"/libavutil 
> -I/sw/include -no-cpp-precomp -pipe -force_cpusubtype_ALL -Wno-sign-compare 
> -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch 
> -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign 
> -O3 -fPIC -DPIC -c -o snow.o snow.c
> snow.c: In function 'mc_block':
> snow.c:2292: warning: assignment discards qualifiers from pointer target type
> snow.c:2294: warning: assignment discards qualifiers from pointer target type
> snow.c:2300: warning: assignment discards qualifiers from pointer target type
> snow.c: In function 'pred_block':
> snow.c:2413: warning: suggest parentheses around && within ||
> snow.c: In function 'get_4block_rd':
> snow.c:2974: warning: passing argument 4 of 'add_yblock' discards qualifiers 
> from pointer target type
> snow.c: In function 'encode_frame':
> snow.c:4394: warning: implicit declaration of function 'dwt_quantize'
> snow.c: In function 'dequantize':
> /sw/src/fink.build/ffmpeg-0.4.20071217-7/ffmpeg-0.4.20071217/libavutil/common.h:293:
>  error: impossible register constraint in 'asm'
> snow.c:3436: error: impossible register constraint in 'asm'
> /sw/src/fink.build/ffmpeg-0.4.20071217-7/ffmpeg-0.4.20071217/libavutil/common.h:293:
>  error: impossible register constraint in 'asm'
> snow.c:3436: error: impossible register constraint in 'asm'
> {standard input}:1641:non-relocatable subtraction expression, "_tsum.14980" 
> minus "L00000000004$pb"
> {standard input}:1641:symbol: "_tsum.14980" can't be undefined in a 
> subtraction expression
[]
> Failed: phase compiling: ffmpeg-0.4.20071217-7 failed

I cannot confirm this. For me, this version builds without problem on 
10.5/32bit, 10.6/32bit and 10.6/64bit.
The piece of code where you get the error should not be compiled on 
32bit at all, because it is in a conditional
#if defined(ARCH_X86_64)

-- 
Martin



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to