Re: [gentoo-user] mmx error with compiling ffmpeg on epia m9000 box
On Mon, May 09, 2005 at 02:54:12PM +1200, Nick Rout wrote i586-pc-linux-gnu-gcc -O3 -Wall -Wno-switch -march=c3 -m3dnow -O3 -pipe -fomit-frame-pointer Out of curiousity, why don't you have mmx in your CFLAGS? It is a valid compile option. Here's my CFLAGS line in /etc/make.conf CFLAGS=-O2 -march=i686 -fomit-frame-pointer -mmmx -msse -mfpmath=sse Note... minus followed by *THREE* m followed by x. I wonder if your system was getting confused because your USE flag said it had mmx but your CFLAGS said it didn't. -- Walter Dnes [EMAIL PROTECTED] An infinite number of monkeys pounding away on keyboards will eventually produce a report showing that Windows is more secure, and has a lower TCO, than linux. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mmx error with compiling ffmpeg on epia m9000 box
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 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mmx error with compiling ffmpeg on epia m9000 box
On Mon, 9 May 2005 08:05:22 -0700 Mark Knecht wrote: Nick Rout schreef: I have an M9000 epia mini-itx box. It chokes on ffmpeg per the error message later on. -I'/var/tmp/portage/ffmpeg-0.4.9_p20050226-r3/work/ffmpeg-0.4.9-p20050226-shared' Nick, emerge sync? I seem to have -r5 and am not having this problem. I do have mmx turned on. dragonfly ~ # emerge -pv ffmpeg These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/ffmpeg-0.4.9_p20050226-r5 -a52 +aac (-altivec) -debug -doc -dts +encode -ieee1394 +imlib +mmx -network +ogg +oss +sdl +threads +truetype +v4l +vorbis +xvid +zlib 0 kB Total size of downloads: 0 kB dragonfly ~ # Is the Epia 9K for Myth? No fans? Does it work yet or is this a first bring up? There is a cpu fan and a power supply fan, both pretty quiet. It is a sereniti 2000 case. i do not have a tuner card in it yet, I am going to get a hauppauge pvr 250 or 150. So I am not doing any live recording yet. I have a lot of music and downloaded/ripped videos. I find myth a pretty good front end for that. mplayer is going pretty hard out on a divx, but it doesn't skip or anything. load average gets up to about 1.2. I even watched something while it was compiling last night (emerge is niced right down). I get my logitech z-5500 window shatterer oops I mean sound system today, and a gizmo to connect the s-video out to the rca video in on the tv and then I am most of the way there. Oh and I need to build an infra-red receiver and get lirc going too. Thanks for the emerge sync tip, maybe it is fixed now, I did get it compiled by taking out the mmx USE flag. I will see what -r5 gets me. [Nick shuffles off to ssh into home] Good luck, Mark -- gentoo-user@gentoo.org mailing list -- Nick Rout -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mmx error with compiling ffmpeg on epia m9000 box
On Tue, 2005-05-10 at 11:18 +1200, Nick Rout wrote: I have a lot of music and downloaded/ripped videos. I find myth a pretty good front end for that. mplayer is going pretty hard out on a divx, but it doesn't skip or anything. load average gets up to about 1.2. I even watched something while it was compiling last night (emerge is niced right down). I played with a M10K but used Freevo instead. Didn't have much use for a recording subsystem. Do you run the mythFront-end only or..??? I didn't managed to figure out how to run the front-end only. (cos I only wanted a player and nothing else) Oh and I need to build an infra-red receiver and get lirc going too. That's one of the thing which Is missing on this M10K too. Can't find the IR. -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 98% Microsoft(tm) Free!! Neuromancer 11:16:09 up 18:51, 8 users, load average: 1.39, 0.93, 0.58 -- gentoo-user@gentoo.org mailing list
[gentoo-user] mmx error with compiling ffmpeg on epia m9000 box
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. -- Nick Rout -- gentoo-user@gentoo.org mailing list