nuttx-apps/examples/nettest
wanggang26 d5d8e9eacb fix build error:
[linguini@pastabox nuttx]$ make -j
CC:  tcpblaster_server.c
LN: platform/board to
/home/linguini/cuinspace/pico-nuttx/apps/platform/dummy
tcpblaster_server.c: In function ‘tcpblaster_server’:
tcpblaster_server.c:159:14: error: implicit declaration of function
‘accept4’; did you mean ‘accept’? [-Wimplicit-function-declaration]
  159 |   acceptsd = accept4(listensd, (FAR struct sockaddr *)&myaddr,
&addrlen,
      |              ^~~~~~~
      |              accept
make[3]: *** [Makefile:92: tcpblaster_server.hobj] Error 1
make[2]: *** [Makefile:53:
/home/linguini/cuinspace/pico-nuttx/apps/examples/tcpblaster_context]
Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:180: context] Error 2
make: *** [tools/Unix.mk:457:
/home/linguini/cuinspace/pico-nuttx/apps/.context] Error 2
make: *** Waiting for unfinished jobs....

from https://github.com/apache/nuttx-apps/issues/2632

Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
2024-10-05 09:06:43 +08:00
..
host cmake/apps: add more applications into cmake support 2023-07-13 19:00:18 +02:00
.gitignore build: Remve the unnecessary .gitignore 2020-05-23 15:56:35 +01:00
CMakeLists.txt add initial cmake build system 2023-07-08 13:52:02 +08:00
Kconfig Kconfig: Simplify the conditional default statement 2023-07-25 09:51:09 +08:00
Make.defs Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00
Makefile style: unify path to files in comment section 2022-03-09 10:37:33 +08:00
nettest.h Indent the include statement by two spaces 2023-05-13 10:16:26 -03:00
nettest_client.c apps: remove space befone newline in logs 2021-12-27 20:52:08 -06:00
nettest_cmdline.c Fix nuttx coding style 2024-04-18 09:56:48 +08:00
nettest_host.c examples: fix relative path CI error 2021-06-16 09:03:06 -05:00
nettest_netinit.c examples: fix relative path CI error 2021-06-16 09:03:06 -05:00
nettest_server.c fix build error: 2024-10-05 09:06:43 +08:00
nettest_target1.c examples: fix relative path CI error 2021-06-16 09:03:06 -05:00
nettest_target2.c examples: fix relative path CI error 2021-06-16 09:03:06 -05:00