Closed
Description
I did this
Build libcurl under the following environment:
curl version: 8.14.0
Arch - armv7m and m68k
libc - uClibc-ng-1.0.50
Compiler - gcc-13.3.0
OS - Ubuntu
Build fails with the following error:
cf-socket.c: In function 'cf_tcp_accept_connect': cf-socket.c:2141:18: error: implicit declaration of function 'accept4'; did you mean 'accept'? [-Werror=implicit-function-declaration] 2141 | s_accepted = accept4(ctx->sock, (struct sockaddr *) &add, &size,
Additional info:
https://gitlab.com/jolivain/buildroot/-/pipelines/1846597109
https://patchwork.ozlabs.org/project/buildroot/patch/20250530213904.465152-1-kadambini.nema@gmail.com/
3d02872
I expected the following
Successful build
curl/libcurl version
8.14.0
operating system
Ubuntu-24