Thanks for the help

I've used as a reference the recipe file but still the same problem.

Regarding your questions:
1) My host machine is Ubuntu 14.04.5 running under virtual box
2) I have two different folders (containing the same files give or take),
one for raspberry and one for the other board. So from the terminal
depending for which machine I want to build I cd to the appropriate folder
and "source <setup environment settings> <out folder>"
3) I do compile with bitbake. On terminal (from the appropriate folder,
after setting the environment settings), I call: "bitbake
iotivity-oxymeter-server" (my server takes meassurements from an oxymeter
hence the name of the server)

The original image (for the problematic board) didn't have the IoTivity
layer, so I had to add it as a package (don't know if it should matter,
since the install simpleserver sample works).

Unfortunately, I cannot build a new clean image (with or without IoTivity
layer pre-installed), since bitbake at the beginning failed with checksum
errors for openjdk-7-jre and after fixing them fails (again openjdk-7-jre)
with several errors *** [install-recursive]

I'll ask the company if they can provide me a fix



On 30 August 2017 at 12:39, Philippe Coval <philippe.co...@osg.samsung.com>
wrote:

> On 30/08/17 11:01, Iosif Hamlatzis wrote:
> > Let me explain why I'm trying to use scons directly and not with bitbake:
> >
> > I have created a server based on the simpleserver example. Everything
> > works perfectly on my raspberry board.
> on which OS ? how was it built ?
> > Then I recompiled my server for another board
> how ? I recommend to rebuild a whole OS that include iotivity and your
> private server too
> > but it throws an exception (bad_alloc) from inside IoTivity library
> If we can't reproduce that's going to difficult to help you.
> >
> > As I don't have any other way of compiling my server (unfortunately
> > cannot compile on the board), I thought of using scons.
> Why not building it using bitbake too?
>
> Here is a sample recipe you can reuse and adapt:
> http://git.s-osg.org/meta-ocf-automotive/plain/recipes-apps/
> iotivity-example/iotivity-example.bb
>
> Good luck
>
> --
>
> mailto:philippe.co...@osg.samsung.com gpg:0x467094BC
> https://blogs.s-osg.org/author/pcoval/
>
>
_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to