[Ffmpeg-devel] compiling ffmpeg on macOS X10.4
Diego Biurrun
diego
Mon Sep 12 15:46:18 CEST 2005
On Mon, Sep 12, 2005 at 03:16:31PM +0200, Boris LENSEIGNE wrote:
> I recently tried to compile ffmeg on on macintosh G4 running osX 10.4
> and I had to mak a pair of modifications in order t have it working, so
> let me inform you about that :
> 1- on 10.4, the symbol " socklen_t " is already defined so that I had to
> comment the following line in file 'libavformat/tcp.c" :
> /* #if defined(__APPLE__) || defined(__BEOS__) */
> /* typedef int socklen_t; */
> /* #endif */
>
>
> 2- flag -fno-common has to be added to the compiler command line. In
> config.mak I did it like that :
> OPTFLAGS=-O3 -g -Wall -Wno-switch -no-cpp-precomp -pipe
> -fomit-frame-pointer -faltivec -mdynamic-no-pic -fno-common
>
> Hope, this will help you
It would help enormously if you could send us a patch instead.
Diego
More information about the ffmpeg-devel
mailing list