-
Notifications
You must be signed in to change notification settings - Fork 2.1k
TCP Sockets can not be used / built #10664
Description
Description
Can not build code using TCP sockets by writing USEMODULE += gnrc_sock_tcp.
I assume part of the probleme might be missing implementation? As you can see in [1] there only is a directory for UDP (which i successfully used previously) but not TCP. Since the documentation [2] describes the use of TCP by example and explicitly states
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_tcp.
i considered this a bug (as opposed to a feature request).
Steps to reproduce the issue
Try to build a project around TCP sockets, for example as described in the documentation here [2]
Expected results
Successfull Compilation
Actual results
Compiler Error:
arm-none-eabi-gcc: error: <path-redacted>/bin/cc2538dk/gnrc_sock_tcp.a: No such file or directory
Versions
Operating System Environment
-----------------------------
Operating System: "Arch Linux"
Kernel: Linux 4.18.16-arch1-1-ARCH x86_64 unknown
Installed compiler toolchains
-----------------------------
native gcc: gcc (GCC) 8.2.1 20180831
arm-none-eabi-gcc: arm-none-eabi-gcc (Arch Repository) 8.2.0
avr-gcc: avr-gcc (GCC) 8.2.0
mips-mti-elf-gcc: missing
msp430-gcc: missing
riscv-none-embed-gcc: missing
clang: clang version 7.0.0 (tags/RELEASE_700/final)
Installed compiler libs
-----------------------
arm-none-eabi-newlib: "3.0.0"
mips-mti-elf-newlib: missing
riscv-none-embed-newlib: missing
avr-libc: "2.0.0" ("20150208")
Installed development tools
---------------------------
cmake: cmake version 3.12.4
cppcheck: missing
doxygen: 1.8.14
flake8: missing
git: git version 2.19.1
make: GNU Make 4.2.1
openocd: Open On-Chip Debugger 0.10.0
python: Python 3.7.1
python2: Python 2.7.15
python3: Python 3.7.1
coccinelle: missing
References
[1] https://github.com/RIOT-OS/RIOT/tree/master/sys/net/gnrc/sock
[2] https://riot-os.org/api/group__net__sock__tcp.html#ga0144778bc074e291fcb0d43bd35c0179