Please find attached the SConscript file with this mail.. On Fri, Aug 28, 2015 at 9:37 AM, Vigneshwaran R <[email protected]> wrote:
> Hi Pedro, > > I have just modified the controller/lib/thirft/SConscript file by giving > --host as x86, also I have tried by giving as powerpc. But both results > with the same issue. Actually Im doing all these compiling stuffs by > writing bitbake file. So the compiler it is taking as powerpc-gcc instead > of gcc.. Will this cause any issue or Some other changes am I missing ?? > Please let me know. thanks > > On Thu, Aug 27, 2015 at 10:51 PM, Pedro Marques <[email protected]> wrote: > >> 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 >> >> >
Thrift_SConscript
Description: Binary data
_______________________________________________ Dev mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
