Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Illegal instruction error comes when i start asterisk 1.8.22

I have installed the asterisk 1.8.22 in centOS 32 bit.I have execute the command as below for installing asterisk:

./configure
make
make install
make samples
make config

.When i start the asterisk service then it shows like Starting asterisk:.But when i am starting asterisk CLI asterisk -vvvvvvvvvr then it shows Illegal instruction.I have searched about this on net but didn't get any solutions.I have installed all the dependencies for that.Can anyone help me what should i do to solve this problem to start asterisk.

Thanks in advance.

like image 656
Nency Avatar asked Jan 12 '23 01:01

Nency


1 Answers

Very likly you are using virtualization or cpu like via-eden.

Solution:

enter in "make menuselect" -> "Compiler flags" and disable "BUILD_NATIVE" option; then recompile Asterisk

If not help, you need edit Makefile and change architecture.

Also issue can be incorrect binary for g729 codec. So before install remove all files in /usr/lib/asterisk/modules/

like image 137
arheops Avatar answered Jan 31 '23 04:01

arheops