Vignesh,

You will have to modify controller/lib/thirft/SConscript to pass the —host file 
to the configure script.

  Pedro.

> On Aug 27, 2015, at 8:24 AM, Vigneshwaran R <[email protected]> 
> wrote:
> 
> Hi,
> 
> Im compiling contrail-vrouter-agent to powerpc platform, while executing 
> scons contrail-vrouter-agent command, It is giving the below error while 
> executing ./configure script.  If someone can help me in this it would be so 
> great-full to me. 
> 
> Only when this configure file is executing through scons command it is giving 
> this error, If I run the configure script manually it is executing file and 
> config.status file is created. But while running through script it is giving 
> this issue.. 
> 
> 
> Logs :
> ###############################################################
> configure:4343: ./conftest
> /media/freescale/Data1/dineshkumar/SDK-1.8/QorIQ-SDK-V1.8-SOURCE-20150619-yocto/build_t4240rdb_release/tmp/work/ppce6500-fsl-linux/contrail/2.20-r0/contrail-2.20/third_party/thrift-0.8.0/configure:
>  line 4345: ./conftest: cannot execute binary file: Exec format error
> configure:4347: $? = 126
> configure:4354: error: in 
> `/path/QorIQ-SDK-V1.8-SOURCE-20150619-yocto/build_t4240rdb_release/tmp/work/ppce6500-fsl-linux/contrail/2.20-r0/contrail-2.20/build/third_party/thrift':
> configure:4356: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> #################################################################
> 
> 
> Kindly do the needful, thank you
> 
> _______________________________________________
> Dev mailing list
> [email protected]
> http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to