Trying the new xcode 4.1 DP7 also released yesterday, maybe the 4.2 xcode is the issue.
Using vanilla gcc-4.2 from /Developer/usr/bin/gcc-4.2 solves the problem. Just compiled ffmpeg on Lion with success.
Strange, using gcc-4.2 doesn't work for me.
the same problem here, 4.2 doesn't help.
I just realised I have it up and running on Build 11A49a (prior to GM). Today I am going to install the update and will let you know if it's a GM specific issue or not.
I'm also having this same problem on the GM.
same here. :(
ProductName: Mac OS X
$ gcc --version
i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Same issue here.
Looks like this error was fixed in FFmpeg/FFmpeg@f04d434 on the FFmpeg tree. Now I get this failure:
ffmpeg ticket - https://avcodec.org/trac/ffmpeg/ticket/353
brew install --use-clang --HEAD ffmpeg
works for me on Lion
I can confirm d--j's command works.
confirmed as well, nice catch
+1 d--j's worked for me on Lion.
+1 for d--j on Lion
d--j is the man... his fix worked for me on lion as well.
d--j's Works for me as well, someone wanna checkout a branch and commit this? I'm too lazy.
+1 for d--j on Lion x86_64. Thanks.
Did anyone try this on Snow Leopard?
Fixed in #6805