More errors
While emerging media-video/ffmpeg-0.4.9_p20050226-r3, needed for Amarok wich is highly promoted by Ikke, I recieved following errors:
i686-pc-linux-gnu-gcc -O3 -Wall -Wno-switch -O2 -march=pentium-m -mtune=pentium- m -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387 -msse2 -mmmx -fPIC -DHAVE _AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o i386/idct_mmx.o i386/idct_mmx.c
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_avg.h: In function `put_pixels4_l2_3dnow':
i386/dsputil_mmx_avg.h:58: error: can't find a register in class `BREG' while re loading `asm'
i686-pc-linux-gnu-gcc -O3 -Wall -Wno-switch -O2 -march=pentium-m -mtune=pentium- m -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387 -msse2 -mmmx -fPIC -DHAVE _AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o i386/motion_est_mmx.o i386/motion_est_mmx.c
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 no t used
i386/dsputil_mmx_rnd.h:300: warning: 'avg_no_rnd_pixels4_mmx' defined but not us ed
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]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20050226-r3/work/ffmp eg-0.4.9-p20050226-shared/libavcodec'
make: *** [lib] Error 2Very less information...
Let's find out!
There are also some more troubles with my machine: I have very regularly X-crashes. In the output, I see much errors of Synaptics who're not fatal, but sometimes, one is fatal. I'll post more information here soon.
I added my make.conf file to this post. You can find it here.


3 reacties
You need to emerge ffmpeg with "-mmx" (so, the mmx use flag not set). Set it in package.use...
echo "media-video/ffmpeg -mmx" >> /etc/portage/package.use
If GCC says "error: can't find a register", there's a 99% chance you've got too aggressive CFLAGS. -mfpmath=sse can cause lots of troubles (and the gcc info pages even say that it will definitely break some code). Also, you don't need -mtune, it is implied by -march on ia32 architecture.
OK, comppilation worked fine with "-mmx" in my use-flags.
Rohan, thanks for the tip. I adapted my make.conf file. I'll ad it to the post.
Thanks a lot!
Plaats een nieuwe reactie