编译错误
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
# include <gnu/stubs-32.h>
^
compilation terminated.
make: *** [megactl.o] Error 1
解决方法
查询对应库提供的软件
[root@gx-yun-084044 src]# yum whatprovides *stubs-32.h
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
glibc-devel-2.17-157.el7.i686 : Object files for development using standard C libraries.
Repo : centos7
Matched from:
Filename : /usr/include/gnu/stubs-32.h
剩下就是安装软件了
[root@gx-yun-084044 src]# yum install -y glibc-devel-2.17-157.el7.i686