/usr/include/stdlib.h:25:10: fatal error: bits/libc-header-start.h: No such file or director报错的解决办法

报错

				`In file included from threadpool.c:1:0:
				/usr/include/stdlib.h:25:10: fatal error: bits/libc-header-start.h: No such file or directory
				 #include 
				          ^~~~~~~~~~~~~~~~~~~~~~~~~~
				compilation terminated.
				Makefile:10: recipe for target 'threadpool' failed
				make: *** [threadpool] Error 1
				`

/usr/include/stdlib.h:25:10: fatal error: bits/libc-header-start.h: No such file or director报错的解决办法_第1张图片

解决

sudo apt install gcc-multilib -y

/usr/include/stdlib.h:25:10: fatal error: bits/libc-header-start.h: No such file or director报错的解决办法_第2张图片

测试

/usr/include/stdlib.h:25:10: fatal error: bits/libc-header-start.h: No such file or director报错的解决办法_第3张图片

你可能感兴趣的:(mint)