Hello good people of Tiny Core!
I have an rPi Zero W running 4.9.22-piCore, i'm trying to build a small program and i'm getting errors like this (this is just one example):
/usr/include/unistd.h:612:10: error: /usr/include/bits/confname.h: Input/output error
The file is there as a link:
tc@box:/mnt/mmcblk0p2/Controller$ ls -la /usr/include/bits/confname.h
lrwxrwxrwx 1 root root 54 Jun 29 15:03 /usr/include/bits/confname.h -> /tmp/tcloop/glibc_base-dev/usr/include/bits/confname.h
The target of the link is also there:
tc@box:/mnt/mmcblk0p2/Controller$ ls -la /tmp/tcloop/glibc_base-dev/usr/include/bits/confname.h
-rw-r--r-- 1 root root 23708 Aug 6 2016 /tmp/tcloop/glibc_base-dev/usr/include/bits/confname.h
but cannot cat it, cannot edit it, can't do anything with it, keep getting "read error", same if i try to do this as root using sudo. E.g:
tc@box:/mnt/mmcblk0p2/Controller$ sudo cat /tmp/tcloop/glibc_base-dev/usr/include/bits/confname.h
cat: read error: Input/output error
So for some reason these header files (as i said, there are a whole bunch of them) are unreadable and i have no idea what to look at, where to begin to try and fix this. Also note that this has been working before, then for some time i haven't touched on any of this but the system's been booted up many times, no idea what might have changed.
Any suggestions or pointers would be appriciated, thanks. Feel free to ask any questions, i'll try to answer them as best as i can.