Try this... In menuselect, uncheck BUILD_NATIVE under Compiler Flags and recompile.<br><br><div class="gmail_quote">On Sun, Dec 30, 2012 at 4:44 PM, neo haux <span dir="ltr"><<a href="mailto:neo.haux@gmx.com" target="_blank">neo.haux@gmx.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I've compiled asterisk 11.1 for my MiniITX card with VIA C3 Samuel2<br>
800MHz CPU. A small box to play with PBX at home.<br>
<br>
I get this error when I start asterisk:<br>
<br>
root@pbx01:/usr/src/asterisk-11.1.0# /etc/init.d/asterisk start<br>
Illegal instruction<br>
Starting Asterisk PBX: asteriskIllegal instruction<br>
<br>
I compiled it on debian 6.0.6 with this options:<br>
./configure --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu \<br>
--with-iksemel=/usr/src/iksemel-1.4 --with-pri=/usr/src/libpri-1.4.14 \<br>
--with-dahdi='/usr/src/dahdi-linux-complete-2.6.1+2.6.1' --libdir=/usr/lib<br>
<br>
<br>
I was able last days to compile asterisk 1.8 and it did work<br>
perfectly.... except with Gtalk, and this is why I have to compile<br>
v11.1<br>
I have gone through these steps (v1.8):<br>
<br>
1) ./configure --with-iksemel=/usr/src/iksemel-1.4<br>
--with-pri=/usr/src/libpri-1.4.14<br>
--with-dahdi='/usr/src/dahdi-linux-complete-2.6.1+2.6.1'<br>
--libdir=/usr/lib<br>
2) in Makefile change : PROC=i586 (instead of i686)<br>
<br>
3) in makeopts change:<br>
#BUILD_PLATFORM=i686-pc-linux-gnu<br>
BUILD_PLATFORM=i586-pc-linux-gnu<br>
#BUILD_CPU=i686<br>
BUILD_CPU=i586<br>
#HOST_PLATFORM=i686-pc-linux-gnu<br>
HOST_PLATFORM=i586-pc-linux-gnu<br>
#HOST_CPU=i686<br>
HOST_CPU=i586<br>
PROC=i586<br>
<br>
4) # make && make install<br>
<br>
But I can't do the same changes for asterisk 11.1 because the<br>
makefiles haven't the same content as for asterisk v1.8<br>
<br>
I need asterisk 11.1 to be able to receive and make calls to gtalk accounts<br>
<br>
<br>
Do you have any idea where is the problem ?<br>
<br>
<br>
<br>
My VIA CPU:<br>
<br>
root@pbx01:/usr/src/asterisk-11.1.0# cat /proc/cpuinfo<br>
processor : 0<br>
vendor_id : CentaurHauls<br>
cpu family : 6<br>
model : 7<br>
model name : VIA Samuel 2<br>
stepping : 3<br>
cpu MHz : 799.892<br>
cache size : 64 KB<br>
fdiv_bug : no<br>
hlt_bug : no<br>
f00f_bug : no<br>
coma_bug : no<br>
fpu : yes<br>
fpu_exception : yes<br>
cpuid level : 1<br>
wp : yes<br>
flags : fpu de tsc msr cx8 mtrr pge mmx 3dnow<br>
bogomips : 1599.78<br>
clflush size : 32<br>
cache_alignment : 32<br>
address sizes : 32 bits physical, 32 bits virtual<br>
power management:<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>