Nick Rout schreef:
> I have an M9000 epia mini-itx box. It chokes on ffmpeg per the error message 
> later on.
> 
> As the message relates to mmx in some way, I also include cat
> /proc/cpuinfo which shows the mmx flag, so I have the mmx USE flag
> turned on. 
> 
> [EMAIL PROTECTED] narnia $ cat /proc/cpuinfo
> processor       : 0
> vendor_id       : CentaurHauls
> cpu family      : 6
> model           : 8
> model name      : VIA C3 Ezra
> stepping        : 9
> cpu MHz         : 933.076
> cache size      : 64 KB
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 1
> wp              : yes
> flags           : fpu de tsc msr cx8 mtrr pge mmx 3dnow
> bogomips        : 1843.20
> 
> 
> Now the ffmpeg compile error:
> 
> 
> i586-pc-linux-gnu-gcc -O3 -Wall -Wno-switch -march=c3 -m3dnow -O3 -pipe 
> -fomit-frame-pointer -I. 
> -I'/var/tmp/portage/ffmpeg-0.4.9_p20050226-r3/work/ffmpeg-0.4.9-p20050226-shared'
>  
> -I'/var/tmp/portage/ffmpeg-0.4.9_p20050226-r3/work/ffmpeg-0.4.9-p20050226-shared'/libavcodec
>  
> -I'/var/tmp/portage/ffmpeg-0.4.9_p20050226-r3/work/ffmpeg-0.4.9-p20050226-shared'/libavformat
>  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o 
> output_example.o output_example.c
> i586-pc-linux-gnu-gcc 
> '/var/tmp/portage/ffmpeg-0.4.9_p20050226-r3/work/ffmpeg-0.4.9-p20050226-shared'/qt-faststart.c
>  -o qt-faststart
> i386/dsputil_mmx.c: In function `dsputil_init_mmx':
> i386/dsputil_mmx.c:3076: warning: assignment from incompatible pointer type
> i386/dsputil_mmx.c:3077: warning: assignment from incompatible pointer type
> i386/dsputil_mmx.c: In function `put_qpel8_mc10_3dnow':
> i386/dsputil_mmx_avg.h:105: error: can't find a register in class `BREG' 
> while reloading `asm'
> i386/dsputil_mmx.c: At top level:
> i386/dsputil_mmx_rnd.h:59: warning: `put_no_rnd_pixels8_l2_mmx' defined but 
> not used
> i386/dsputil_mmx_rnd.h:155: warning: `put_no_rnd_pixels16_l2_mmx' defined but 
> not used
> i386/dsputil_mmx_rnd.h:300: warning: `avg_no_rnd_pixels4_mmx' defined but not 
> used
> i386/dsputil_mmx_rnd.h:59: warning: `put_pixels8_l2_mmx' defined but not used
> i386/dsputil_mmx_rnd.h:155: warning: `put_pixels16_l2_mmx' defined but not 
> used
> make[1]: *** [i386/dsputil_mmx.o] Error 1
> make[1]: Leaving directory 
> `/var/tmp/portage/ffmpeg-0.4.9_p20050226-r3/work/ffmpeg-0.4.9-p20050226-shared/libavcodec'
> make: *** [lib] Error 2
> 
> !!! ERROR: media-video/ffmpeg-0.4.9_p20050226-r3 failed.
> !!! Function src_compile, Line 111, Exitcode 2
> !!! (no error message)
> !!! If you need support, post the topmost build error, NOT this status 
> message.
> 

The only way I could get ffmpeg to compile was to turn mmx off for that
package only:

echo 'media-video/ffmpeg -mmx' >>/etc/portage/package.use

Hope this helps.

Holly
-- 
[email protected] mailing list

Reply via email to