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.
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With