[FFmpeg-trac] #353(build system:open): Failed compiling FFmpeg in OS X 10.6.8
FFmpeg
trac at avcodec.org
Tue Jul 19 19:50:26 CEST 2011
#353: Failed compiling FFmpeg in OS X 10.6.8
--------------------+---------------------------
Reporter: joao | Owner:
Type: defect | Status: open
Priority: normal | Component: build system
Version: 0.8 | Resolution:
Keywords: compile | Blocked By:
Blocking: | Reproduced: 0
Analyzed: 0 |
--------------------+---------------------------
Comment (by joao):
Thanks for the help man.
I managed to isolate the --enable-gpl flag as the one that will cause the
issue. Here's what I did, after editing the
libavcodec/motionpixels_tablegen.h file, removing the '''static'''
keyword:
{{{
$ ./configure --prefix=/usr/local/Cellar/ffmpeg/0.8 --enable-gpl
$ make
...
$ make V=1 # a couple of times
$ make V=1
gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavutil
-Llibpostproc -Llibswscale -Wl,-dynamic,-search_paths_first -o ffmpeg_g
ffmpeg.o cmdutils.o -lavdevice -lavfilter -lavformat -lavcodec -lpostproc
-lswscale -lavutil -lm -lbz2 -lz
Undefined symbols for architecture x86_64:
"_MM_FIX_0_707106781", referenced from:
_filter in libavfilter.a(vf_fspp.o)
"_MM_FIX_0_541196100", referenced from:
_filter in libavfilter.a(vf_fspp.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1
$
}}}
And I get exactly the same behavior by doing the same steps (except
editing motionpixels_tablegen.h beforehand), on the current repo HEAD.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/353#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list