[asterisk-users] Compile asterisk11.1 for i586 VIA C3 CPU

George Joseph george.joseph at fairview5.com
Sun Dec 30 18:18:45 CST 2012


Try this...  In menuselect, uncheck BUILD_NATIVE under Compiler Flags and
recompile.

On Sun, Dec 30, 2012 at 4:44 PM, neo haux <neo.haux at gmx.com> wrote:

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


More information about the asterisk-users mailing list