[riot-notifications] [RIOT-OS/RIOT] Can't Run UDP example in Esp8266 board (#11827)

Gunar Schorcht notifications at github.com
Fri Jul 12 03:11:09 CEST 2019


I suppose you are just missing an include of a module in your `Makefile`. Since `sock_types.h` is located in directory `sys/net/gnrc/sock/include`, you have to use module `gnrc_sock` to have the include path defined correctly. It is defined in 

https://github.com/RIOT-OS/RIOT/blob/6b094a78a943bcbd74d21a7ce83840c1fdcdc0a6/sys/Makefile.include#L8-L9

BTW, the first sentence of the documentation you are refering is: First you need to include a module that implements this API in your application's Makefile. For example the implementation for GNRC is called gnrc_sock_udp :worried:

Please try to compile `tests/gnrc_socket_udp` and refere the `Makefile` of this test to see what you need to have in your `makefile`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/11827#issuecomment-510706767
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190711/23736074/attachment.html>


More information about the notifications mailing list