Skip to content

Build failure with armv7m/m68k uClibc-ng-1.0.50 #17512

Closed
@kadambininema

Description

@kadambininema

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions