[Ffmpeg-devel] Mac Os X issues

carboncopy public carboncopy.public
Sat Dec 24 13:27:20 CET 2005


On 12/24/05, Diego Biurrun <diego at biurrun.de> wrote:
> On Sat, Dec 24, 2005 at 05:10:40PM +0800, carboncopy public wrote:
> > orca:~/coding/ffmpeg carboncopy$ cc -O3 -mcpu=970 -mtune=970 -fast
> > -I/opt/local/include -DHAVE_LRINTF -no-cpp-precomp -pipe
> > -fomit-frame-pointer -force_cpusubtype_ALL -Wno-sign-compare -mcpu=970
> > -mtune=970 -mpowerpc-gfxopt -mpowerpc64 -faltivec
> > -Wl,-dynamic,-search_paths_first -d -L/opt/local/lib -o
> > /tmp/ffmpeg-conf-15526-17203-30842 /tmp/ffmpeg-conf-9086-17203-5844.c
> > -lz
> >
> > cc1: error: missing argument to "-d"
>
> It works flawlessly for me on OS X 10.3.9 and produces the following
> compilation command:
>
> cc -no-cpp-precomp -pipe -fomit-frame-pointer -force_cpusubtype_ALL
> -Wno-sign-compare -faltivec -Wl,-dynamic,-search_paths_first -o
> /tmp/ffmpeg-conf-10835-2637-14141 /tmp/ffmpeg-conf-18208-2637-22259.c
> -lz
>
> It differs quite a bit from yours.  What options are you passing to
> configure?  Are you using latest CVS?
>
> Diego
>
Yes, am using the very latest CVS. The error is because I am passing
-d option viz; --extra-ldflags="-d -L/opt/local/lib". By removing -d,
I do not need to hack it and it compiles with zlib by default. My
error. But why is -d ldflag is causing the check to fail.





More information about the ffmpeg-devel mailing list