[asterisk-users] Asterisk on AVR32
Kyle Kienapfel
doctor.whom at gmail.com
Fri Jun 19 13:06:05 CDT 2009
why is CROSS_ARCH=Linux? is this something the AVR32 distro is doing, or
something you did? it should be something line "avr" or "avr32"
On Thu, Jun 18, 2009 at 3:08 AM, Paulo Santos <paulo.r.santos at sapo.pt>wrote:
> Greetings everyone,
>
> I'm trying to compile asterisk for an AVR32 (Atmel NGW100).
> Buildroot for AVR32 already has the asterisk package, though it has
> bugs. Firstly it tries to apply a patch for 1.2 on a 1.6, but deleting
> the contents of the patch file did the trick.
>
> Now, the problem is making asterisk. The first error is because asterisk
> needed to be ./configure:ed.
>
> Trying to just do ./configure, make gives an error [1].
>
> Trying to do ./configure with the same args as make plus --host it can't
> even configure [2]
>
> I don't know much about cross-compiling, or even regular compiling for
> that matter. Does any one have any idea on how to do this?
>
> Thanks in advance,
> Best regards,
> Paulo Santos
>
>
> [1]
> menuselect/menuselect --check-deps menuselect.makeopts
> /bin/bash: menuselect/menuselect: cannot execute binary file
> make[1]: *** [menuselect.makeopts] Error 126
> make[1]: Leaving directory
> `/home/psantos/br/buildroot-avr32-v2.3.0/build_avr32/asterisk-1.6.0-beta6'
> make: ***
>
> [/home/psantos/br/buildroot-avr32-v2.3.0/build_avr32/asterisk-1.6.0-beta6/asterisk]
> Error 2
>
> [2]
> configure: WARNING: If you wanted to set the --build type, don't use
> --host.
> If a cross compiler is detected then cross compile mode will be used.
> checking build system type... i686-pc-linux-gnu
> checking host system type... Invalid configuration `CROSS_ARCH=Linux':
> machine `CROSS_ARCH=Linux' not recognized
> configure: error: /bin/bash ./config.sub CROSS_ARCH=Linux failed
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> 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/20090619/d4301be4/attachment.htm
More information about the asterisk-users
mailing list