[Asterisk-Users] Asterisk-Addons compile problem (cdr_addon_mysql.c)

Ken Chan ck000 at lycos.com
Wed Jun 28 13:42:45 MST 2006


Hello,

I am trying to install Asterisk-Addon and got the following problem:

---------------------------------------------------------------------
cc -shared -Xlinker -x -o app_saycountpl.so app_saycountpl.o
cc -fPIC -I../asterisk -D_GNU_SOURCE -DMYSQL_LOGUNIQUEID -I/usr/local/mysql/include  -I/usr/local/include/mysql    -c -o cdr_addon_mysql.o cdr_addon_mysql.c
cc -shared -Xlinker -x -o cdr_addon_mysql.so cdr_addon_mysql.o -lmysqlclient -lz    -L/usr/local/mysql/lib -L/usr/local/lib/mysql  -L/usr/local/mysql/lib/mysql
/usr/lib/gcc-lib/powerpc-linux/3.2/../../../../powerpc-linux/bin/ld: cdr_addon_mysql.so: undefined versioned symbol name _restfpr_22_x@@libmysqlclient_15
/usr/lib/gcc-lib/powerpc-linux/3.2/../../../../powerpc-linux/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make: *** [cdr_addon_mysql.so] Error 1
rm app_saycountpl.o
-----------------------------------------------------------------

I am using Addons-1.2.3.  I spent almost 2 days and tried to reinstall mysql.... but still no luck.  Anyone has any idea?

Anyone has successfully install freePBX with Asterisk together?  Can someone give me a hand?

Thanks
ken

-- 
_______________________________________________

Search for businesses by name, location, or phone number.  -Lycos Yellow Pages

http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10




More information about the asterisk-users mailing list