|
From: | Giulio . |
Subject: | [Linphone-developers] Mediastreamer2 compile error |
Date: | Mon, 20 Oct 2014 11:43:03 +0200 |
Hi,
I'm tryng to install mediastreamer2 on mac os x 10.8, with command: ./configure -> ok without error make -> exit with error: ld: warning: ld: warning: ignoring file /usr/local/lib/libspeex.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libspeex.dylibignoring file /usr/local/lib/libspeexdsp.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libspeexdsp.dylib ld: warning: ignoring file /usr/local/lib/libogg.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libogg.dylib Undefined symbols for architecture i386: "_speex_bits_destroy", referenced from: _enc_process in msspeex.o _dec_process in msspeex.o "_speex_bits_init", referenced from: _enc_process in msspeex.o _dec_process in msspeex.o "_speex_bits_insert_terminator", referenced from: _enc_process in msspeex.o "_speex_bits_read_from", referenced from: _dec_process in msspeex.o "_speex_bits_remaining", referenced from: _dec_process in msspeex.o "_speex_bits_reset", referenced from: _dec_process in msspeex.o "_speex_bits_write", referenced from: _enc_process in msspeex.o "_speex_decode_int", referenced from: _dec_process in msspeex.o "_speex_decoder_ctl", referenced from: _dec_preprocess in msspeex.o "_speex_decoder_destroy", referenced from: _dec_postprocess in msspeex.o _dec_uninit in msspeex.o "_speex_decoder_init", referenced from: _dec_preprocess in msspeex.o "_speex_echo_cancellation", referenced from: _speex_ec_process in speexec.o "_speex_echo_ctl", referenced from: _speex_ec_preprocess in speexec.o "_speex_echo_state_destroy", referenced from: _speex_ec_postprocess in speexec.o "_speex_echo_state_init", referenced from: _speex_ec_preprocess in speexec.o "_speex_encode_int", referenced from: _enc_process in msspeex.o "_speex_encoder_ctl", referenced from: _enc_preprocess in msspeex.o _apply_max_bitrate in msspeex.o "_speex_encoder_destroy", referenced from: _enc_postprocess in msspeex.o _enc_uninit in msspeex.o "_speex_encoder_init", referenced from: _enc_preprocess in msspeex.o "_speex_lib_get_mode", referenced from: _enc_preprocess in msspeex.o _dec_preprocess in msspeex.o "_speex_mode_query", referenced from: _enc_preprocess in msspeex.o _dec_preprocess in msspeex.o "_speex_nb_mode", referenced from: _enc_preprocess in msspeex.o _dec_preprocess in msspeex.o "_speex_preprocess_ctl", referenced from: _volume_preprocess in msvolume.o _speex_ec_preprocess in speexec.o "_speex_preprocess_run", referenced from: _speex_ec_process in speexec.o "_speex_preprocess_state_destroy", referenced from: _volume_uninit in msvolume.o _speex_ec_postprocess in speexec.o "_speex_preprocess_state_init", referenced from: _volume_preprocess in msvolume.o _speex_ec_preprocess in speexec.o "_speex_resampler_destroy", referenced from: _resample_process_ms2 in msresample.o _resample_uninit in msresample.o _set_input_nchannels in msresample.o _set_output_nchannels in msresample.o "_speex_resampler_get_rate", referenced from: _resample_process_ms2 in msresample.o "_speex_resampler_init", referenced from: _resample_process_ms2 in msresample.o "_speex_resampler_process_int", referenced from: _resample_process_ms2 in msresample.o "_speex_resampler_process_interleaved_int", referenced from: _resample_process_ms2 in msresample.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [libmediastreamer_voip.la] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 How to resolve the problem? Thanks a lot |
[Prev in Thread] | Current Thread | [Next in Thread] |