首页 » Linux » alpine » alpine编译openssl1.1.1g报错解决

alpine编译openssl1.1.1g报错解决

 

完整报错内容如下:

crypto/mem_sec.c:33:13: fatal error: linux/mman.h: No such file or directory
33 | # include <linux/mman.h>
| ^~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:3993: crypto/mem_sec.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/openssl-1.1.1d'
make[2]: *** [Makefile:174: all] Error 2
make[2]: Leaving directory '/openssl-1.1.1d'
make[1]: *** [objs/Makefile:1332: openssl-1.1.1d/.openssl/include/openssl/ssl.h] Error 2
make[1]: Leaving directory '/nginx-1.18.0'
make: *** [Makefile:8: build] Error 2

解决办法:

 

原文链接:alpine编译openssl1.1.1g报错解决,转载请注明来源!

0