[Asterisk-Users] asterisk-addons OS X

Matthew Boehm mboehm at cytelcom.com
Tue Mar 15 13:40:47 MST 2005


Jed Stafford wrote:
> Just to be safe, I removed everything and got a fresh
> copy from CVS. Again I got Asterisk to compile fine,
> but the addons do not. Just to double check you got
> this to compile on OS X? Here is what I get.. I did
> change from static to dynamic which seems to get
> things further with gcc in OS X.
>
> cc -dynamic -Xlinker -x -o cdr_addon_mysql.so
> cdr_addon_mysql.o -lmysqlclient -lz
> -L/usr/local/mysql/lib -L/usr/local/lib/mysql
> ld: Undefined symbols:
> _main
> _ast_cdr_disp2str
> _ast_cdr_register
> _ast_cdr_unregister
> _ast_cli
> _ast_cli_register
> _ast_cli_unregister
> _ast_config_destroy
> _ast_config_load
> _ast_log
> _ast_variable_browse
> _ast_variable_retrieve

That seems to tell me that you don't have asterisk compiled. Did you compile
asterisk first?

What version of osx are you running? I just tried to compile a fresh cvs
download on my mac and I got compile problems right from the getgo.
(something with bison)

-Matthew




More information about the asterisk-users mailing list