[asterisk-dev] Asterisk 12 on CentOS 6.4

Marco Signorini marcotasto at libero.it
Thu Sep 12 04:35:57 CDT 2013


Hi All.

I'm trying to compile and evaluate Asterisk 12 on CentOS 6.4 but I'm not 
able to have a running version of it.
I've tried either on the x64 than the i386 CentOS 6.4 version and, being 
errors quite different, the results are a non working copy of binaries.

On x64 seems not able to read shared libraries (the one for the ssl but, 
if disabled by configure option, the same happens for the jansson library).
Now I'm focusing on the i386 Centos 6.4 version running on a KVM virtual 
environment.

Below are the steps I've done:
- Fresh install of minimal i386 Centos 6.4 iso
- yum upgraded to latest available version
- yum groupinstall "Development Tools"
- installed the required libraries (ncurses, libuuid and other required)
- downloaded libjansson from 
http://www.digip.org/jansson/releases/jansson-2.4.tar.gz, unzipped, 
untarred, compiled and installed on /usr/lib
- downloaded the Asterisk 12 from the link: 
http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-12.0.0-alpha1.tar.gz
- ./configure
- make
- make install
- make samples

but each time I call it I have:

[root at localhost asterisk-12.0.0-alpha1]# asterisk
Illegal instruction

There is no log generated.

Generating a core dump and reading it with gdb I have this backtrace:

Core was generated by `asterisk -g'.
Program terminated with signal 4, Illegal instruction.
#0  0x0815c59b in ast_log_full (level=5, file=0x824798a 
"optional_api.c", line=138, function=0x8247a82 "optional_api_create", 
callid=0x0,
     fmt=0x82485a0 "%s", ap=0xbfbcdd18 "\004\334\022\n\240\203", 
<incomplete sequence \305>) at logger.c:1520
1520            ast_string_field_set(logmsg, date, datestring);
Missing separate debuginfos, use: debuginfo-install 
glibc-2.12-1.107.el6_4.4.i686 libuuid-2.17.2-12.9.el6_4.3.i686 
libxml2-2.7.6-12.el6_4.1.i686 libxslt-1.1.26-2.el6_3.1.i686 
ncurses-libs-5.7-3.20090208.el6.i686 
nss-softokn-freebl-3.14.3-3.el6_4.i686 sqlite-3.6.20-1.el6.i686 
zlib-1.2.3-29.el6.i686
(gdb) bt
#0  0x0815c59b in ast_log_full (level=5, file=0x824798a 
"optional_api.c", line=138, function=0x8247a82 "optional_api_create", 
callid=0x0,
     fmt=0x82485a0 "%s", ap=0xbfbcdd18 "\004\334\022\n\240\203", 
<incomplete sequence \305>) at logger.c:1520
#1  0x0815cc9f in ast_log_callid (level=5, file=0x824798a 
"optional_api.c", line=138, function=0x8247a82 "optional_api_create", 
callid=0x0,
     fmt=0x82485a0 "%s") at logger.c:1571
#2  0x0815d429 in __ast_verbose_ap (file=0x824798a "optional_api.c", 
line=138, func=0x8247a82 "optional_api_create", level=6, callid=0x0,
     fmt=0xbfbcdd20 "\371       > %s: building api object\n", 
ap=0xbfbcde44 "\204\264\"\bH\004\002") at logger.c:1656
#3  0x0815d770 in __ast_verbose (file=0x824798a "optional_api.c", 
line=138, func=0x8247a82 "optional_api_create", level=6,
     fmt=0x8247971 "%s: building api object\n") at logger.c:1667
#4  0x08187018 in optional_api_create (symname=0x822b484 
"ast_monitor_start") at optional_api.c:138
#5  get_api (symname=0x822b484 "ast_monitor_start") at optional_api.c:183
#6  0x081872f6 in ast_optional_api_use (symname=0x822b484 
"ast_monitor_start", optional_ref=0x827c9b0, stub=0x812fd20 
<__stub__ast_monitor_start>,
     module=0x8226eef "core") at optional_api.c:287
#7  0x081327aa in __init__ast_monitor_start () at 
/root/install/asterisk-12.0.0-alpha1/include/asterisk/monitor.h:54
#8  0x08217c8d in __do_global_ctors_aux ()
#9  0x0806bf80 in _init ()
#10 0x08217979 in __libc_csu_init ()
#11 0x00adac84 in __libc_start_main () from /lib/libc.so.6
#12 0x0806d871 in _start ()


Is there someone that could help me?

Thank you and best regards.
Marco Signorini.





More information about the asterisk-dev mailing list