18 Jul 2012 15:21
Bug report: x264 link fails on Mac (x86_64, Lion 10.7.4)
Tim Hewett <tghewett2 <at> onetel.com>
2012-07-18 13:21:13 GMT
2012-07-18 13:21:13 GMT
X264 build: x264-snapshot-20120717-2245
Undefined symbols encountered when building on Mac under Lion, resolved by adding MacOS frameworks to
final link.
Undefined symbols:
[mybook:~/Desktop/x264-snapshot-20120717-2245] me% gcc -o x264 x264.o input/input.o
input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o
output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o
filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/cache.o
filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o
filters/video/depth.o input/thread.o input/lavf.o libx264.a -L. -lavformat -lpostproc -lavcodec
-lswscale -lavutil -lm -lz -lbz2 -lpthread -lswscale -lavutil -m64 -lm -arch x86_64 -lpthread
Undefined symbols for architecture x86_64:
"_kCFAllocatorDefault", referenced from:
_ff_vda_create_decoder in libavcodec.a(vda.o)
_ff_vda_decoder_decode in libavcodec.a(vda.o)
"_CFDataCreate", referenced from:
_ff_vda_create_decoder in libavcodec.a(vda.o)
_ff_vda_decoder_decode in libavcodec.a(vda.o)
"_kCFTypeDictionaryKeyCallBacks", referenced from:
_ff_vda_create_decoder in libavcodec.a(vda.o)
_ff_vda_decoder_decode in libavcodec.a(vda.o)
"_kCFTypeDictionaryValueCallBacks", referenced from:
_ff_vda_create_decoder in libavcodec.a(vda.o)
_ff_vda_decoder_decode in libavcodec.a(vda.o)
"_CFDictionaryCreateMutable", referenced from:
_ff_vda_create_decoder in libavcodec.a(vda.o)
"_CFNumberCreate", referenced from:
(Continue reading)
RSS Feed