[asterisk-dev] Problem with Asterisk Add-ons

Alessandro Leone alex at gesitsoftware.it
Fri Aug 25 12:11:13 MST 2006


Hi,

I installed asterisk add-ons Version
<http://ftp.digium.com/pub/asterisk/releases/asterisk-addons-1.2.4.tar.gz>
1.2.4.

In addons folder I do :

 

Make clean

Make 

Make install

 

Everything seems ok. This is the output :

 

make

./mkdep -fPIC -I../asterisk -D_GNU_SOURCE -DMYSQL_LOGUNIQUEID
-I/usr/local/mysql/include -I/usr/include/mysql   `ls *.c`

make -C format_mp3 all

make[1]: Entering directory `/usr/src/asterisk-addons-1.2.4/format_mp3'

gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o common.o
common.c

gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o
dct64_i386.o dct64_i386.c

gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o
decode_ntom.o decode_ntom.c

gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o layer3.o
layer3.c

gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o tabinit.o
tabinit.c

gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o
interface.o interface.c

gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o
format_mp3.o format_mp3.c

gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6  -shared -Xlinker
-x -o format_mp3.so common.o dct64_i386.o decode_ntom.o layer3.o tabinit.o
interface.o format_mp3.o

make[1]: Leaving directory `/usr/src/asterisk-addons-1.2.4/format_mp3'

cc -fPIC -I../asterisk -D_GNU_SOURCE -DMYSQL_LOGUNIQUEID
-I/usr/local/mysql/include -I/usr/include/mysql     -c -o app_saycountpl.o
app_saycountpl.c

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/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/lib/mysql  -L/usr/local/mysql/lib

cc -fPIC -I../asterisk -D_GNU_SOURCE -DMYSQL_LOGUNIQUEID
-I/usr/local/mysql/include -I/usr/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/mysql/lib

cc -fPIC -I../asterisk -D_GNU_SOURCE -DMYSQL_LOGUNIQUEID
-I/usr/local/mysql/include -I/usr/include/mysql     -c -o res_config_mysql.o
res_config_mysql.c

cc -shared -Xlinker -x -o res_config_mysql.so res_config_mysql.o
-lmysqlclient -lz  -L/usr/lib/mysql  -L/usr/local/mysql/lib

rm app_saycountpl.o

 

make install

cc -fPIC -I../asterisk -D_GNU_SOURCE -DMYSQL_LOGUNIQUEID
-I/usr/local/mysql/include -I/usr/include/mysql     -c -o app_saycountpl.o
app_saycountpl.c

cc -shared -Xlinker -x -o app_saycountpl.so app_saycountpl.o

for x in format_mp3/format_mp3.so app_saycountpl.so cdr_addon_mysql.so
app_addon_sql_mysql.so res_config_mysql.so; do install -m 755 $x
/usr/lib/asterisk/modules ; done

 

 

 

Now when I try to start asterisk with command: asterisk –vvvg output is:

 

[app_saycountpl.so] => (Say polish counting words)

  == Registered application 'SayCountPL'

 [cdr_addon_mysql.so]Aug 25 21:08:05 WARNING[10235]: loader.c:325
__load_resource: /usr/lib/asterisk/modules/cdr_addon_mysql.so: undefined
symbol: _intel_fast_memcpy

Aug 25 21:08:05 WARNING[10235]: loader.c:554 load_modules: Loading module
cdr_addon_mysql.so failed!

 

And asterisk doesn’t start working.

I have all libraries needed for mysql and mysql 5 server

 

What can I check?

 

ALESSANDRO LEONE
Resp. Tecnico Ge.S.I.T. Software 

Tel: +39 0883 850000
Mobile: +39 349 2365267
E-Mail: alex at gesitsoftware.it

Le informazioni contenute nella presente comunicazione e i relativi allegati
possono essere riservate e sono, comunque, destinate esclusivamente alle
persone o alla Società sopraindicati.

La diffusione, distribuzione e/o copiatura del documento trasmesso da parte
di qualsiasi soggetto diverso dal destinatario è proibita, sia ai sensi
dell’art. 616 c.p. , che ai sensi del D.Lgs. n. 196/2003.

Se avete ricevuto questo messaggio per errore, vi preghiamo di distruggerlo
e di informarci immediatamente per telefono allo 0883850000 o inviando un
messaggio all’indirizzo e-mail privacy at gesitsoftware.it

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20060825/eb8e1d58/attachment.htm


More information about the asterisk-dev mailing list