[asterisk-users] Asterisk 1.8.24 : illegal instruction

2013-11-20 Thread Jonas Kellens
Hello, I have installed asterisk 1.8.24 (from source) but I can not start up Asterisk : [root@sip32 admin]# /usr/sbin/asterisk -r Illegal instruction [root@sip32 admin]# /sbin/service asterisk status asterisk dead but subsys locked [root@sip32 admin]# /sbin/service asterisk restart Stopping

[asterisk-users] Asterisk 1.8.24 : illegal instruction

2013-11-20 Thread Jonas Kellens
Hello, I have installed asterisk 1.8.24 (from source) but I can not start up Asterisk : [root@sip32 admin]# /usr/sbin/asterisk -r Illegal instruction [root@sip32 admin]# /sbin/service asterisk status asterisk dead but subsys locked [root@sip32 admin]# /sbin/service asterisk restart Stopping

Re: [asterisk-users] Asterisk 1.8.24 : illegal instruction

2013-11-20 Thread Ron Wheeler
Is it possible that in your build you mixed 32 bit and 64 bit libraries? Ron On 20/11/2013 8:06 AM, Jonas Kellens wrote: Hello, I have installed asterisk 1.8.24 (from source) but I can not start up Asterisk : [root@sip32 admin]# /usr/sbin/asterisk -r Illegal instruction [root@sip32 admin]#

Re: [asterisk-users] Asterisk 1.8.24 : illegal instruction

2013-11-20 Thread Jonas Kellens
Hello, how can I mix libraries ? I have installed prerequisites from yum and asterisk from source (make make install). My kernel : [root@sip32 asterisk-1.8.24.0]# uname -a Linux sip32.domain.tld 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed Oct 16 18:37:12 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Re: [asterisk-users] Asterisk 1.8.24 : illegal instruction

2013-11-20 Thread Ron Wheeler
I am not sure that this is the cause of your problem but I think that the message that you are getting can be caused by that. You might want to check the build logs to be sure that you do not have a 32 bit library installed. 32 bit libraries will work on 64 bit Linux but not when mixed with

Re: [asterisk-users] Asterisk 1.8.24 : illegal instruction

2013-11-20 Thread Jonas Kellens
Hello, same problem with asterisk-1.8.23.1 So how do I check if I have 32 bit libs installed ? I always install with yum, so on a 64bit CentOS 6.4 there should only be 64bit libs installed... Jonas. On 20-11-13 14:26, Ron Wheeler wrote: I am not sure that this is the cause of your

Re: [asterisk-users] Asterisk 1.8.24 : illegal instruction

2013-11-20 Thread Jonas Kellens
Hello, I think there are no 32bit libs installed : [root@sip32 src]# rpm -qa | grep 'i[6543]86' [root@sip32 src]# yum list installed *.i*86 Loaded plugins: downloadonly, fastestmirror Loading mirror speeds from cached hostfile * base: mirror.muntinternet.net * epel: mirror.muntinternet.net

Re: [asterisk-users] Asterisk 1.8.24 : illegal instruction

2013-11-20 Thread A J Stiles
On Wednesday 20 November 2013, Jonas Kellens wrote: Hello, I have installed asterisk 1.8.24 (from source) but I can not start up Asterisk : [root@sip32 admin]# /usr/sbin/asterisk -r Illegal instruction Are you using a VIA C6/C7 processor (often found soldered to tiny motherboards),

Re: [asterisk-users] Asterisk 1.8.24 : illegal instruction

2013-11-20 Thread Jonas Kellens
On 20-11-13 14:43, A J Stiles wrote: On Wednesday 20 November 2013, Jonas Kellens wrote: Hello, I have installed asterisk 1.8.24 (from source) but I can not start up Asterisk : [root@sip32 admin]# /usr/sbin/asterisk -r Illegal instruction Are you using a VIA C6/C7 processor (often found

Re: [asterisk-users] Asterisk 1.8.24 : illegal instruction

2013-11-20 Thread Asghar Mohammad
Hello, you can check the asterisk binary with. file /usr/sbin/asterisk and linked library ldd /usr/sbin/asterisk On Wed, Nov 20, 2013 at 2:51 PM, Jonas Kellens jonas.kell...@telenet.bewrote: On 20-11-13 14:43, A J Stiles wrote: On Wednesday 20 November 2013, Jonas Kellens wrote: Hello,

Re: [asterisk-users] Asterisk 1.8.24 : illegal instruction

2013-11-20 Thread Jonas Kellens
The information requested : [root@sip32 src]# file /usr/sbin/asterisk /usr/sbin/asterisk: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped [root@sip32 src]# ldd /usr/sbin/asterisk linux-vdso.so.1 =

Re: [asterisk-users] Asterisk 1.8.24 : illegal instruction

2013-11-20 Thread Jonas Kellens
Hello, problem is solved by compiling Asterisk as follow : [root@sip32 asterisk]# ./configure CFLAGS=-mtune=native Now Asterisk starts normally, without any error message. Is this a problem of Asterisk or a problem of gcc ?? Kind regards, Jonas. On 20-11-13 15:00, Asghar Mohammad