bug-gnulib
[Top][All Lists]
Advanced

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

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


From: Assaf Gordon
Subject: Re: lib/freadseek.c:69:3: error: #error "Please port gnulib freadseek.c to your platform!
Date: Sat, 29 Dec 2018 07:58:45 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

Hello,

We'll need a bit more technical information to troubleshoot
the issue:

On 2018-12-29 1:22 a.m., Necktwi Ozfguah wrote:

While I am building coreutils with musl on  aarch64 (RaspberryPi 3B),

Which operating system and which version are you using?
The output of "uname -a" would be helpful.

Note that while the RPi3B board does support 64bit mode (aarch64),
most common OSes (like Rasbian) still run in 32bit mode (arm7l).

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."
    ^~~~~

Which version of coreutils are you using,
and which version of musl are you using?
It would also help to know how you compile them (e.g the "./configure"
command, if not standard).

For example,
I've just tried compiling a recent coreutils version (v8.30-33-g2f438fa9f from git), using the latest musl (1.1.20-git-165-gde7dc13),
on x86_64, arm7l (Raspian9) and aarch64 (Ubuntu 14.04),
using the following command:

  ./configure CC=musl-gcc LDFLAGS="-static"

and they all compiled without errors.

regards,
 - assaf



reply via email to

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