Не собирается g72x кодеки под Mac OS X
День добрый.
Хочу собрать asterisk с g729 и g723 кодеками под Mac. Установил fink, xcode и Ipp Library. Samples собираются на ура. Компиляция кодеков проходит без проблем. А вот на этапе сборки получаю кучу неопределенных ссылок:
gcc -Wall -bundle -Xlinker -x -D_GNU_SOURCE -DG72X_ASTERISK=14 -I/Users/dmitryr/src/asterisk-1.4.19/include -I/Library/Frameworks/Intel_IPP.framework/Versions/5.3.2.061/em64t//include -O3 -fomit-frame-pointer -fPIC -DG72X_3 -o codec_g723.so codec_g72x.c decg723.c encg723.c owng723.c aux_tbls.c -L/Library/Frameworks/Intel_IPP.framework/Versions/5.3.2.061/em64t//Libraries -lippsc -lipps -lippsr -lippcore -lguide -lpthread -lm
Undefined symbols:
"_ast_verbose", referenced from:
_g72xtolin_framein in ccXkL1oN.o
_g72x_destroy in ccXkL1oN.o
_g72x_destroy in ccXkL1oN.o
_g72x_destroy in ccXkL1oN.o
_load_module in ccXkL1oN.o
"_ast_register_file_version", referenced from:
___register_file_version in ccXkL1oN.o
"___ast_register_translator", referenced from:
_load_module in ccXkL1oN.o
_load_module in ccXkL1oN.o
"_ast_unregister_translator", referenced from:
_load_module in ccXkL1oN.o
_unload_module in ccXkL1oN.o
_unload_module in ccXkL1oN.o
"_ast_cli_unregister", referenced from:
_unload_module in ccXkL1oN.o
"_ast_config_destroy", referenced from:
_load_module in ccXkL1oN.o
"_option_verbose", referenced from:
_option_verbose$non_lazy_ptr in ccXkL1oN.o
"_ast_config_load", referenced from:
_load_module in ccXkL1oN.o
"_ast_unregister_file_version", referenced from:
___unregister_file_version in ccXkL1oN.o
"_ast_module_unregister", referenced from:
___unreg_module in ccXkL1oN.o
"_ast_variable_browse", referenced from:
_load_module in ccXkL1oN.o
"_ast_cli", referenced from:
_handle_cli_g72x_toggle_debug in ccXkL1oN.o
"_ast_cli_register", referenced from:
_load_module in ccXkL1oN.o
_load_module in ccXkL1oN.o
"_ast_trans_frameout", referenced from:
_lintog72x_frameout in ccXkL1oN.o
"_ast_log", referenced from:
_g72xtolin_framein in ccXkL1oN.o
_handle_cli_g72x_toggle_debug in ccXkL1oN.o
_load_module in ccXkL1oN.o
_load_module in ccXkL1oN.o
"_ast_module_register", referenced from:
___reg_module in ccXkL1oN.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Может подскажет кто с какими ключами собирать?
|