ubuntu 编译出现错误fatal error: bits/libc-header-start.h: No such file or directory

在ubuntu gcc编译程序出现错误
fatal error: bits/libc-header-start.h: No such file or directory

表明缺少库环境。
解决方法

apt update
apt-get install gcc-multilib

成功编译

posted @ 2023-04-11 09:51  Right2014  阅读(1022)  评论(0)    收藏  举报