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
-- _____________________________________________________________________ -- 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