Ken Chan
2006-Jun-28 13:42 UTC
[Asterisk-Users] Asterisk-Addons compile problem (cdr_addon_mysql.c)
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
Levis Kimotho
2006-Jul-04 03:13 UTC
[Asterisk-Users] Asterisk-Addons compile problem (cdr_addon_mysql.c)
Hi Ken, I did a clean install of FreePBX n Asterisk with asterisk-addons, sounds. Have you downloaded perl and perl-CPAN? Check this link http://aussievoip.com.au/wiki/index.php?page=freePBX-2.1beta1Install and scroll down to the section about mysql_addon -Kim On 6/28/06, Ken Chan <ck000@lycos.com> 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? > > 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 > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060704/cd5db4cd/attachment.htm
Tzafrir Cohen
2006-Jul-04 03:29 UTC
[Asterisk-Users] Asterisk-Addons compile problem (cdr_addon_mysql.c)
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@local.xorcom.com icq#16849755 iax:tzafrir@local.xorcom.com +972-50-7952406 tzafrir.cohen@xorcom.com http://www.xorcom.com