[Ffmpeg-devel] Linkage problems with avcodec_sample.0.4.9.cpp provided on Martin Bohme on a Mac

shai deljo shai
Sat Sep 2 08:59:19 CEST 2006


Hi,
Sorry if this is not the correct mailing list for my question.
I'm new to ffmpeg and to Mac. While trying to compile Martin's sample code (
http://www.inb.uni-luebeck.de/~boehme/libavcodec_update.html) on a MacBook
Pro I encountered linking problems:

gcc -I /Users/shaideljo/ffmpeg/ffmpeg/libavformat -I
/Users/usr/ffmpeg/ffmpeg/libavcodec -I /Users/usr/ffmpeg/ffmpeg/libavutil -o
avcodec_sample.0.4.9 avcodec_sample.0.4.9.cpp -lavformat -lavcodec -lz


And the error I get:
/usr/bin/ld: Undefined symbols:
operator delete[](void*)
operator new[](unsigned long)
___gxx_personality_v0
_av_free
_av_d2q
_av_log
_av_malloc
_av_realloc
_av_reduce
_av_rescale
_av_rescale_q
_ff_gcd
_av_rescale_rnd
_av_dbl2ext
_av_ext2dbl
_av_adler32_update
_av_dbl2int
_av_int2dbl
_av_int2flt
_ff_log2_tab
_av_crc
_av_crc04C11DB7
_av_crc07
_av_crc8005
_av_crc_init
_av_log_get_level
_av_div_q
_ff_sqrt_tab
_av_evaluate_lls
_av_init_lls
_av_solve_lls
_av_update_lls

Any help would be apreciated.
Thanks,
Shai

 






More information about the ffmpeg-devel mailing list