dkwok wrote:
I have sorted out the problem of compiling the CVS 040608. When launched the server die with " illegal instruction" error.

Although the Makefile in asterisk is changed to PROC=i586. The Makefile in codecs/ilbc still has a line of reference by using uname -m which will come up with i686 architecture. So if you change that line 1 to:

CFLAGS+=-Wall -Werror -fPIC -O3 -march=i586 -funroll-loops
                                 ^^^^^^^^^^
-fomit-frame-pointer
LIB=libilbc.a

So I wonder the line should be -march=$(PROC) or just hardcord to i586 instead. I am not training in programming, please correct me if I am wrong. This should be submited to asterisk so that they can fix the bug too.

It will compile and work correctly.


you have a C3 processor (or eden) which misses a couple instructions (CMOV and another one) to be a complete i686.
If you want better speed, you should switch to a nehemiah processor which is a complete i686
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to