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 -Jed --- Matthew Boehm <[EMAIL PROTECTED]> wrote: > Jed Stafford wrote: > >> Has anyone had any luck getting the addon's to > compile > >> under OS X? I have been able to get 1.06 to build > and > >> run great, but I really want to get the > >> cdr_addon_mysql.so to enable mysql writing. > >> > >> When I try to compile I get a bunch of Undefined > >> symbols and I have tried adding everything to my > path. > >> I've got mysql_devel, etc. > >> > >> I have posted this to the Mac Asterisk mailing > list > >> about a week ago with no response, so I thought I > >> would just check in here. > >> > >> Thanks, > > I'm guessing that you are refering to CVS-HEAD? > Because cdr_addon_mysql > compiles fine with Asterisk 1.0.6. > > <goes to check CVS...> > > Hmm..compiles fine on my CVS. Are you sure you have > the most recent version? > > -Matthew > > _______________________________________________ > Asterisk-Users mailing list > [email protected] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
