This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

bsd_limits.h: No such file or directory

Hi,

I'm trying to build the example found here: https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/uart

and the build is failing with this message:

Building ‘spm/zephyr/modules/nrf/drivers/at_cmd/libspm_..__nrf__drivers__at_cmd.a’ from solution ‘build’ in configuration ‘Common’
1> Archiving ‘libspm_drivers__serial.a’
2> Compiling ‘at_cmd.c’
2> In file included from C:/ncs/zephyr/include/net/net_l2.h:15:0,
2>                  from C:/ncs/zephyr/include/net/net_if.h:29,
2>                  from C:/ncs/zephyr/include/net/net_context.h:27,
2>                  from C:/ncs/zephyr/include/net/dns_resolve.h:17,
2>                  from C:/ncs/zephyr/include/net/socket.h:27,
2>                  from C:/ncs/nrf/drivers/at_cmd/at_cmd.c:10:
2> C:/ncs/zephyr/include/net/buf.h:528:17: error: 'CONFIG_NET_BUF_USER_DATA_SIZE' undeclared here (not in a function); did you mean 'CONFIG_HEAP_MEM_POOL_SIZE'?
2> C:/ncs/nrf/drivers/at_cmd/at_cmd.c:12:10: fatal error: bsd_limits.h: No such file or directory
2> compilation terminated.
Build failed

I am trying to build the sample as-is from the repo. My colleague was able to build it with no problems - what should I do?

Thanks

Related