[Linux] bits/libc-header-start.h: No such file or directory

두비니

·

2021. 3. 7. 04:30

 

 

 

 

32bit 파일로 컴파일 하려는 경우

bits/libc-header-start.h: No such file or directory 오류가 발생하는 경우가 있다.

이 경우에는 

 

sudo apt-get install gcc-multilib g++-multilib

 

를 다운받으면 잘 해결됩니다.

리눅스가 기본적으로 64비트 운영체제여서 발생하는 오류인 것 같네요.

 

굳!