Skip to content
This repository has been archived by the owner on Nov 10, 2021. It is now read-only.

Failed to build with Zephyr v1.8.0-rc1 #5

Open
kiendinh opened this issue May 26, 2017 · 4 comments
Open

Failed to build with Zephyr v1.8.0-rc1 #5

kiendinh opened this issue May 26, 2017 · 4 comments

Comments

@kiendinh
Copy link

I tried to build the Zephyr app with Zephyr v1.8.0-rc1 and got the following build error:

$ cd port/zephyr
$ make BOARD=arduino_101 CONF_FILE=prj_bt.conf

....
/home/kien/workspace/zephyr/iotivity-constrained/port/zephyr/src/ipadapter.c:25:22: fatal error: net/nbuf.h: No such file or directory
#include <net/nbuf.h>
^
compilation terminated.
/home/kien/workspace/zephyr/zephyrLF/scripts/Makefile.build:183: recipe for target 'src/ipadapter.o' failed
make[3]: *** [src/ipadapter.o] Error 1
/home/kien/workspace/zephyr/zephyrLF/Makefile:993: recipe for target 'zephyr-app-dir' failed
make[2]: *** [zephyr-app-dir] Error 2
make[2]: Leaving directory '/home/kien/workspace/zephyr/iotivity-constrained/port/zephyr/outdir/arduino_101'
Makefile:176: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/kien/workspace/zephyr/zephyrLF'
/home/kien/workspace/zephyr/zephyrLF/Makefile.inc:82: recipe for target 'all' failed
make: *** [all] Error 2
...

I'm using Zephyr v1.8.0-rc1 (98e14bc) and Zephyr SDK v0.9.1. It was alright to build with Zephyr v1.7.0

@jimmy-huang
Copy link
Contributor

the network api has changed in latest Zephyr including new hearders, iotivity-constrained has to be updated for the new api.

@jimmy-huang
Copy link
Contributor

@kmaloor, can you please take a look?

@jimmy-huang
Copy link
Contributor

patch is submitted here https://gerrit.iotivity.org/gerrit/#/c/20771/

@kmaloor
Copy link
Contributor

kmaloor commented Jun 15, 2017

@jimmy-huang Thank you. I've just reviewed and merged your patch.
@kiendinh You can test now with the latest master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants