[FFmpeg-trac] #2784(build system:open): MacOS: building minimal, audio-only version fails with linker error
FFmpeg
trac at avcodec.org
Tue Dec 10 13:19:45 CET 2013
#2784: MacOS: building minimal, audio-only version fails with linker error
-------------------------------------+-------------------------------------
Reporter: milgner | Owner:
Type: defect | Status: open
Priority: normal | Component: build
Version: git-master | system
Keywords: osx | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 1
-------------------------------------+-------------------------------------
Comment (by cehoyos):
Still reproducible:
{{{
$ make V=1 ffmpeg
gcc -dynamiclib -Wl,-single_module
-Wl,-install_name,/usr/local/lib/libavfilter.3.dylib,-current_version,3.92.100,-compatibility_version,3
-Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample
-Llibavutil -Llibpostproc -Llibswscale -Llibswresample
-Wl,-dynamic,-search_paths_first -o libavfilter/libavfilter.3.dylib
libavfilter/af_aformat.o libavfilter/af_anull.o libavfilter/allfilters.o
libavfilter/audio.o libavfilter/avcodec.o libavfilter/avfilter.o
libavfilter/avfiltergraph.o libavfilter/buffer.o libavfilter/buffersink.o
libavfilter/buffersrc.o libavfilter/drawutils.o libavfilter/fifo.o
libavfilter/formats.o libavfilter/graphdump.o libavfilter/graphparser.o
libavfilter/opencl_allkernels.o libavfilter/pthread.o libavfilter/setpts.o
libavfilter/transform.o libavfilter/trim.o libavfilter/vf_format.o
libavfilter/vf_null.o libavfilter/video.o -lavutil -liconv -lm -lbz2 -lz
Undefined symbols for architecture x86_64:
"_avcodec_find_best_pix_fmt_of_2", referenced from:
_pick_format in avfiltergraph.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [libavfilter/libavfilter.3.dylib] Error 1
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/2784#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list