[Asterisk-Users] asterisk-addons OS X

Adam Goryachev mailinglists at websitemanagers.com.au
Tue Mar 15 03:14:19 MST 2005


On Mon, 2005-03-14 at 22:30 -0600, Kristian Kielhofner wrote:

> cdr_addon_mysql doesn't compile at all, no matter what the OS.  

Really? so what would this be:
cc -fPIC -I../asterisk -D_GNU_SOURCE   -I/usr/local/include/mysql    -c
-o cdr_addon_mysql.o cdr_addon_mysql.c
cdr_addon_mysql.c: In function `my_load_module':
cdr_addon_mysql.c:269: warning: assignment makes pointer from integer
without a cast
cc -shared -Xlinker -x -o cdr_addon_mysql.so cdr_addon_mysql.o
-lmysqlclient -lz  -L/usr/lib/mysql   -L/usr/local/lib/mysql
cc -fPIC -I../asterisk -D_GNU_SOURCE   -I/usr/local/include/mysql    -c
-o app_addon_sql_mysql.o app_addon_sql_mysql.c
cc -shared -Xlinker -x -o app_addon_sql_mysql.so app_addon_sql_mysql.o
-lmysqlclient -lz  -L/usr/lib/mysql   -L/usr/local/lib/mysql
[root at asterisk]: /usr/src/asterisk/asterisk-addons# ls -l
cdr_addon_mysql.so
-rwxr-xr-x    1 root     root        18023 Mar 15 20:36
cdr_addon_mysql.so
[root at asterisk]: /usr/src/asterisk/asterisk-addons#

ie, works fine for me...

I'm using redhat 7.3  yeah, old I know, but haven't had a chance to
upgrade to debian yet, and the damn thing is mostly working, so ....

> I contacted the authors a while back and they said they would get into 
> contact with Mark or something...  Who knows what happened, but as far 
> as I know it's still broken.

Perhaps you should try again/investigate more.... Of course, I'm not
saying it works on OS X, but it does work on at least one platform
(mine).

Regards,
Adam

-- 
 -- 
Adam Goryachev
Website Managers
Ph:  +61 2 9345 4395                        adam at websitemanagers.com.au
Fax: +61 2 9345 4396                        www.websitemanagers.com.au




More information about the asterisk-users mailing list