> What version of musl are you using?
Hi Eric, I'm using version 1.2.5 of musl.
My issue was not using -D_GNU_SOURCE in the CFLAGS, as Mattias suggested.
Thanks
On Sat, Mar 16, 2024, at 4:52 AM, Eric Pruitt wrote:
> On Fri, Mar 15, 2024 at 04:22:19PM -0300, Brian Mayer wrote:
>> My guess is that glibc provides that function by musl doesn't. So as
>> my system is using musl that function is not found. Can I get some
>> help?
>
> The splice(2) call is
On Fri, Mar 15, 2024 at 04:22:19PM -0300, Brian Mayer wrote:
> My guess is that glibc provides that function by musl doesn't. So as
> my system is using musl that function is not found. Can I get some
> help?
The splice(2) call is provided by musl:
src/linux/splice.c:ssize_t splice(int
Hello.
> Add -D_GNU_SOURCE
Thanks! It worked beautifully, the hard part was how to properly add
this option to buildroot.
On Fri, 15 Mar 2024 16:22:19 -0300
Brian Mayer wrote:
> Hi, I'm Brian, I'm trying to compile ubase using musl as libc on
> buildroot. I use a Pinebook Pro, so aarch64 is my arch.
>
> By just running make I get this error:
>
>
Hi, I'm Brian, I'm trying to compile ubase using musl as libc on
buildroot. I use a Pinebook Pro, so aarch64 is my arch.
By just running make I get this error:
/home/blmayer/git/distro/buildroot/output/host/bin/aarch64-buildroot-linux-musl-gcc
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE