| Summary: | libavcodec fails to compile on mplayer MPlayer-1.0pre3 and transcode-0.6.12-r1 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | psofa <gr_terror> |
| Component: | [OLD] Library | Assignee: | Gentoo Media-video project <media-video> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | 2004.0 | ||
| Hardware: | x86 | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
though i think it might be a gcc issue bcause a week ago when i had an older gcc but older headers too (2.4.x-now i have the latest 2.6.x) mplayer compiled fine. any ideas? a) don't force PIC in CFLAGS let the USE flag do it b) lower your CFLAGS |
trying to compile on both of these gives me errors ie for transcode: -c -o dsputil_mmx.o `test -f 'i386/dsputil_mmx.c' || echo './'`i386/dsputil_mmx.c; \ then mv -f ".deps/dsputil_mmx.Tpo" ".deps/dsputil_mmx.Po"; \ else rm -f ".deps/dsputil_mmx.Tpo"; exit 1; \ fi i386/dsputil_mmx.c: In function `h263_h_loop_filter_mmx': i386/dsputil_mmx.c:610: error: can't find a register in class `GENERAL_REGS' while reloading `asm' i386/dsputil_mmx.c: At top level: i386/dsputil_mmx_rnd.h:362: warning: `avg_no_rnd_pixels8_l2_mmx' defined but not used i386/dsputil_mmx_rnd.h:409: warning: `avg_no_rnd_pixels16_l2_mmx' defined but not used i386/dsputil_mmx_avg.h:57: warning: `put_pixels8_l2_3dnow' defined but not used i386/dsputil_mmx_avg.h:129: warning: `put_pixels16_l2_3dnow' defined but not used i386/dsputil_mmx_avg.h:57: warning: `put_pixels8_l2_mmx2' defined but not used i386/dsputil_mmx_avg.h:129: warning: `put_pixels16_l2_mmx2' defined but not used make[4]: *** [dsputil_mmx.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12/ffmpeg/libavcodec' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12/ffmpeg/libavcodec' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12/ffmpeg' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12' make: *** [all] Error 2 !!! ERROR: media-video/transcode-0.6.12-r1 failed. !!! Function src_compile, Line 103, Exitcode 2 !!! (no error message) im using gcc 3.3.3 and my make.conf is # These settings were set by the catalyst build script that automatically built this stage CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -msse -mmmx -m3dnow -momit-leaf-frame-pointer -funroll-loops -ftracer -ffast-math -fprefetch-loop-arrays -freduce-all-givs -finline-limit=600 -mfpmath=387 -fPIC -DPIC" CHOST="i686-pc-linux-gnu" USE="-gnome qt kde dvd alsa oss cdr X usb 3dnow opengl msn x86 xmms mpeg cups foomaticdb ppds usb fbcon truetype directfb svga radeon -matrox oggvorbis radeon nptl unicode sdl jpeg png sse mmx" CXXFLAGS="${CFLAGS}" ACCEPT_KEYWORDS="~x86" VIDEO_CARDS=radeon DISTDIR="/downloads/portage/" though i get the same errors after swithing off my cflags but compiling the prevous version of mplayer (0.93 i think) doesnt cause any error