bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lib/freadseek.c:69:3: error: #error "Please port gnulib freadseek.c to y


From: Necktwi Ozfguah
Subject: lib/freadseek.c:69:3: error: #error "Please port gnulib freadseek.c to your platform!
Date: Sat, 29 Dec 2018 08:22:39 +0000 (UTC)

Hi,

While I am building coreutils with musl on  aarch64 (RaspberryPi 3B), this error is thrown:
lib/freadseek.c: In function 'freadptrinc':
lib/freadseek.c:69:3: error: #error "Please port gnulib freadseek.c to your platform! Look at the definition of getc, getc_unlocked on your system, then report this to bug-gnulib."
  #error "Please port gnulib freadseek.c to your platform! Look at the definition of getc, getc_unlocked on your system, then report this to bug-gnulib."
   ^~~~~
getc:
https://gitlab.com/gsauthof/musl/blob/master/src/stdio/getc.c#L4
https://gitlab.com/gsauthof/musl/blob/master/src/stdio/getc.h#L16

getc_unlocked:
https://gitlab.com/gsauthof/musl/blob/master/src/internal/stdio_impl.h#L102
#define getc_unlocked(f) \
   ( ((f)->rpos != (f)->rend) ? *(f)->rpos++ : __uflow((f)) )


--
Necktwi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]