I'm getting the below error with gcc-14 and musl using 2024.05-rc1. There's is an upstream patch that fixes this. https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=53a89bfd86fff1a00cc77cabb8457a03eaa3bc7d ../include/json_print.h:58:48: error: passing argument 5 of ‘print_color_tv’ from incompatible pointer type [-Wincompatible-pointer-types] 58 | value); \ | ^~~~~ | | | const struct timeval * BR2_x86_64=y BR2_TOOLCHAIN_BUILDROOT_MUSL=y BR2_KERNEL_HEADERS_6_6=y BR2_BINUTILS_VERSION_2_42_X=y BR2_GCC_VERSION_14_X=y BR2_PACKAGE_IPROUTE2=y
After applying that fix it still fails with the following. rdma.c:110:20: error: implicit declaration of function ‘basename’; did you mean ‘rename’? [-Wimplicit-function-declaration] 110 | filename = basename(argv[0]); | ^~~~~~~~ | rename rdma.c:110:18: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 110 | filename = basename(argv[0]); hmmmm, basename, looks familiar.
Created attachment 9754 [details] Fix iproute2 with musl 1.2.5 This patches fixes the basename issue for me.
Thank you for your report. The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker: https://gitlab.com/buildroot.org/buildroot/-/issues We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker. Thank you!