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

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Jul 4 03:29:19 MST 2006


On Wed, Jun 28, 2006 at 03:42:45PM -0500, Ken Chan wrote:
> 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?

And your distro is?

And the version of Asterisk is?

And the version of mysql is?

And the rest of the compilation trace is?

(at least we know that the platform is linux/ppc)

-- 
Tzafrir Cohen      sip:tzafrir at local.xorcom.com
icq#16849755       iax:tzafrir at local.xorcom.com
+972-50-7952406           
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-users mailing list