[asterisk-users] Fwd: Can't cross compile asterisk 1.6.2.13 on arm using ltib
IMS
ims77.dev at gmail.com
Fri Sep 24 08:11:06 CDT 2010
No ideas ?
Just give me the way if possible
Sebastien
----------------------------------------------------------------------------------------------------------------------------------------------------
Hi,
Excuse me if I'm late to reply but my first response has been blocked by the
moderator (message too big)
So I've created an account on rapidshare to share my config.log and
menuselect/config.log
Hope it will help.
The link : http://rapidshare.com/users/Z8SX25
Thanks for any help !
Sebastien
----------------------------------------------------------------------------------------------------------------------------------------------------
On Wed, Sep 22, 2010 at 9:21 AM, IMS <ims77.dev at gmail.com> wrote:
> Do you have any ideas of the problem ? config.log don't give me more
> explanations.
>
Attach your config.log so we can see what is going on.
--
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com
----------------------------------------------------------------------------------------------------------------------------------------------------
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/20100924/9666a7a2/attachment.htm
More information about the asterisk-users
mailing list