On 17/05/17 11:06, ??? wrote: > > hi > > i tried build yocto project(for tizen, for raspberrypi). > > and these way is hard.. > > so i build iotivity on rpi3, with $scons TARGET_ARCH=arm TEST=0 > RELEASE=0 then move files to rpi0. > > run ocserver(rpi3) occlient(rpi0), it runs quite well. > > anyway i have question about this. > > 1. when build iotivity with $scons TARGET_ARCH=arm TEST=1 RELEASE=0, a > error occured in valgrind test. > > 2. on x86_64 system, ubuntu 16.04 LTS(VMWARE). > > i build iotivity same command, but diffrent error occured. > > " examples/OICMIDDLE/client.cpp:1:0: error: bad value (armv5te) for > -march=switch" > > BR, >
Yes valgind is not supported in ARMv6 (which is on Pi1 or Pi0, while Pi2 or 3 should work) Anyway If you build using bitbake tests will not be run, as disabled in recipe. Note crosscompilation from CLI using scons is not recommended (or supported from me at least) Regards -- mailto:philippe.coval at osg.samsung.com gpg:0x467094BC https://blogs.s-osg.org/author/pcoval/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170517/fe93dde2/attachment.html>