I've tried with gcc-4.4* and gcc-4.5* libswscale/swscale.c:1269: error: implicit declaration of function 'sws_init_swScale_3DNow' libswscale/swscale.c:1270: error: 'swScale_3DNow' undeclared (first use in this function) libswscale/swscale.c:1270: error: (Each undeclared identifier is reported only once libswscale/swscale.c:1270: error: for each function it appears in.) There seems to be a patch from http://comments.gmane.org/gmane.comp.video.ffmpeg.devel/116710 Though I have not tried it yet. complete build log to follow.
Created attachment 250231 [details] build.log
add emerge --info to any bug report you open please.
tried the patch on x86 and it made ffmpeg compile just fine. I am on a hurry now, but if emerge --info or any other info is needed tomorrow I'll post.
Created attachment 250375 [details] emerge --info
This error occurs only with USE="-3dnow -3dnowext". On a Phenom II based machine with 3dnow enabled, ffmpeg compiles just fine.
I'll add the required logs and such as attachments below from my laptop. Though I am a systems administrator, the configuration of my laptop is in no way an indication of the care which I put into systems I care for for others. ;)
Created attachment 250793 [details] emerge --info =media-video/ffmpeg-0.6_p25423
Created attachment 250795 [details] emerge -pqv =media-video/ffmpeg-0.6_p25423
Created attachment 250797 [details] "Complete build log"
Try USE="-cpudetect" if you have cpudetect enabled. It worked for me with USE="-3dnow -3dnowext".
Re: #10 If that was for me, thanks for the suggestions, I'll just stick with the previous 0.6 release until this is resolved. I'm not in a rush to get rid of performance-boosting features on my old AMD Athlon XP procs that need all the help they can get. ;) Unless devs need me to test with and without the flags enabled and report, which I'll be happy to do. (BTW, in the logs above, I show that I have -cpudetection already off; never had it on on my boxes. Also, comments #5 and #10 seem to have the exact opposite trouble reports... yet neither person has made a full bug report for either case, with logs and --info and such. "Works for Me(tm)" might be fun in IRC, but it isn't really good in a bug report where environment comparison is helpful...)
Created attachment 251649 [details] emerge --info ffmpeg for core 2 machine
USE=-cpudetect solves the problem for me.
On my machine -cpudetction does not disable mmx or mmxext both of which it will fail to build with if I disable them.I have not tried to disable 3dnow or 3dnowext emerge --info is in bug #344071 comment 3 but mine is AMD64 3200 System uname: Linux-2.6.36-gentoo-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-2.0.1 Timestamp of tree: Fri, 05 Nov 2010 20:45:01 +0000
*** Bug 346325 has been marked as a duplicate of this bug. ***
Same for me with ffmpeg-0.6_p25767 It failes on my Intel Atom N270, Intel i7 920, Intel Q9300 and Intel Pentium M processor. No matter if I enable mmx/mmxext or disable it. Only removing "cpudetection" from the active useflags or _adding_ "3dnow" and "3dnowext" helps. If you need more info, let me know. The bug is 100% reproducible. Cheers, Bjoern
*** Bug 369129 has been marked as a duplicate of this bug. ***
should be fixed in 0.9/9999. please reopen if not