[asterisk-users] Can't cross compile asterisk 1.6.2.13 on arm using ltib
IMS
ims77.dev at gmail.com
Wed Sep 22 08:21:09 CDT 2010
Hi,
I can cross compile asterisk 1.4.21 on arm (imx27) using ltib
I want to cross compile the new version 1.6.2.13 but there is an error when
I execute the commands :
./configure --build=i686-pc-linux-gnu --host=arm
make menuselect
The configure seems ok, I have the result info :
*configure: Package configured for:
configure: OS type : none
configure: Host CPU : arm
configure: build-cpu:vendor:os: i686 : pc : linux-gnu :
configure: host-cpu:vendor:os: arm : unknown : none :
configure: Cross Compilation = YES
*
But when I try to execute make menuselect I have the message :
*CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect
CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory
`/home/m/ltib/rpm/BUILD/asterisk-1.6.2.13/menuselect'
configure: error: in `/home/m/ltib/rpm/BUILD/asterisk-1.6.2.13/menuselect':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [makeopts] Error 1
make[1]: Leaving directory
`/home/m/ltib/rpm/BUILD/asterisk-1.6.2.13/menuselect'
make: *** [menuselect/makeopts] Error 2*
Do you have any ideas of the problem ? config.log don't give me more
explanations.
With google i found the problem should be corrected from the revision 268052
(Build menuselect with the build environment's compiler, not the host
(target)'s compiler) here :
http://svnview.digium.com/svn/asterisk/branches/1.6.2?view=revision&revision=268052
Thanks for your help.
Sebastien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100922/8a5623b6/attachment.htm
More information about the asterisk-users
mailing list