ffmpeg compile problem under Mac OS X.4
Hi, I have recently been trying to compile the last CVS version of ffmpeg under Mac OS X.4.2, and I have run into several problems. My configure options: ./configure --enable-libogg --enable-vorbis --enable-theora --enable-xvid --enable-gpl --cpu=powerpc --extra-cflags=-I/usr/local/include --extra-cflags=-I/usr/local/include/ao -I/usr/local/include/ogg -I/usr/local/include/vorbis -I/usr/local/include/theora --extra-ldflags=-L/usr/local/lib I used the default version of gcc (gcc4.0). The compilation went fine except for some linker warnings such as: /usr/bin/ld: warning multiple definitions of symbol _sinhf /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libmx.dylib(single module) definition of _sinhf /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libSystem.dylib(floating.o) definition of _sinhf But when I tried ffmpeg -formats, I was told: dyld: incompatible cpu-subtype Trace/BPT trap Furthermore, with the avcodec/avformat example from Mr. B?hme, the first time I tried to compile the example I was asked to ranlib libavcodec and libavformat again, and after that, each time I tried to compile the example, I got: /usr/bin/ld: Undefined symbols: _av_reduce _av_rescale _av_rescale_q _ff_gcd _av_dbl2int _av_int2dbl _av_int2flt _ogg_stream_clear _ogg_stream_flush _ogg_stream_init _ogg_stream_packetin _ogg_stream_pageout _av_rescale_rnd _av_d2q _av_div_q _ff_log2_tab _ff_sqrt_tab _theora_comment_clear _theora_decode_YUVout _theora_decode_header _theora_decode_init _theora_decode_packetin _theora_info_clear _theora_info_init _vorbis_analysis _vorbis_analysis_blockout _vorbis_analysis_buffer _vorbis_analysis_headerout _vorbis_analysis_init _vorbis_analysis_wrote _vorbis_bitrate_addblock _vorbis_bitrate_flushpacket _vorbis_block_clear _vorbis_block_init _vorbis_comment_add_tag _vorbis_comment_clear _vorbis_comment_init _vorbis_dsp_clear _vorbis_encode_init _vorbis_encode_init_vbr _vorbis_info_clear _vorbis_info_init _vorbis_synthesis _vorbis_synthesis_blockin _vorbis_synthesis_headerin _vorbis_synthesis_init _vorbis_synthesis_pcmout _vorbis_synthesis_read _xvid_encore _xvid_global _xvid_plugin_2pass2 _xvid_plugin_lumimasking _xvid_plugin_single collect2: ld returned 1 exit status This looks like libraries are missing, but I checked my /usr/local/lib and /usr/local/include contents, and all the needed libraries were there... Maybe the solution is trivial (some environment variable not properly set, a missing flag during configure...), and if so I apologize (I'm still pretty new to this). Anyway does someone know how to solve this problem ? Thanks in advance
participants (1)
-
kant1304@free.fr