Re: [dev] [ubase] compile using musl

2024-03-19 Thread Brian Mayer
> 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

Re: [dev] [ubase] compile using musl

2024-03-18 Thread pessoa
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

Re: [dev] [ubase] compile using musl

2024-03-18 Thread Eric Pruitt
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

Re: [dev] [ubase] compile using musl

2024-03-16 Thread Brian Mayer
Hello. > Add -D_GNU_SOURCE Thanks! It worked beautifully, the hard part was how to properly add this option to buildroot.

Re: [dev] [ubase] compile using musl

2024-03-15 Thread Mattias Andrée
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: > >

[dev] [ubase] compile using musl

2024-03-15 Thread Brian Mayer
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