wsl 에서 gcc 로 컴파일 하는데 include 관련하여 input/output error 가 발생했다. include 경로 문제인가 싶어서 -v 옵션을 넣고 확인해봤지만 경로는 문제 없어 보였다.
https://ooolabs.tistory.com/25
WSL2에서 원도우 10 앱 실행 및 문제 발생 시 해결
WSL2에서 원도우 10 앱 실행 및 문제 발생 시 해결 OOOLABs 2021년 2월 20일 Windows Subsystem for Linux (WSL)은 2번째 버전인 WSL2가 2019년 5월 발표된 이후로, windows 10에서 Linux kernel을 실행시키게 되었고, 소비
ooolabs.tistory.com
https://github.com/microsoft/WSL/issues/4377
ls: cannot access '/mnt/c': Input/output error · Issue #4377 · microsoft/WSL
Your Windows build number: (Type ver at a Windows Command Prompt) Microsoft Windows [Version 10.0.18950.1000] What you're doing and what's happening: (Copy&paste the full set of specific command-li...
github.com
wsl intput/output error 로 검색해보니 io 관련해서 문제가 있을 때 위 에러가 발생하나 보다.
$ wsl.exe --shutdown
명령줄에서 위 명령을 입력해 wslhost.exe 프로세스를 재기동하면 문제가 해결된다고 한다.