Skip to content

can not compile - gnulib problem #114

@alperyilmaz

Description

@alperyilmaz

Hi,
I checked out the latest commit d74313e53dfb and tried to compile.

I got the following error:

lib/freadseek.c: In function 'freadptrinc':
lib/freadseek.c:68: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."
   68 |  #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."
      |   ^~~~~
make[4]: *** [Makefile:9351: lib/freadseek.o] Error 1
make[4]: Leaving directory '/home/alper/softwares/dgsh/unix-tools/coreutils'
make[3]: *** [Makefile:11764: all-recursive] Error 1
make[3]: Leaving directory '/home/alper/softwares/dgsh/unix-tools/coreutils'
make[2]: *** [Makefile:6303: all] Error 2
make[2]: Leaving directory '/home/alper/softwares/dgsh/unix-tools/coreutils'
make[1]: *** [Makefile:90: make] Error 2
make[1]: Leaving directory '/home/alper/softwares/dgsh/unix-tools'
make: *** [Makefile:81: unix-tools] Error 2

Then I installed gnulib via sudo apt install gnulib and re-compiled and I got the same error. Is this a problem with my system? (Ubuntu 20.04, Pop OS 20.04 actually)
I noticed in another post about this type of error, someone reported upgrading coreutils might be helpful. My coreutils version is 8.30-3ubuntu2.
Is there a workaround for this problem?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions