z.Error List (Nginx and Tengine)

更新日期:2019年07月10日
@IGNORECHANGE

# 'struct crypt_data' has no member named 'current_salt'

Tengine Docker问题 #721
bugfix: error "'struct crypt_data' has no member named 'current_salt'" occurs while compiling

问题描述:
src/os/unix/ngx_user.c:35:7: error: 'struct crypt_data' has no member named 'current_salt'

问题原因:
是glibc的Bug

解决办法:

#!/bin/sh

wget https://code.aliyun.com/Darkly/tengine/commit/a0e4b2a0534b5b5a9e1a8fbcc928e7a1c66cfcff.diff

patch ./bundle/nginx-1.7.7/src/os/unix/ngx_user.c a0e4b2a0534b5b5a9e1a8fbcc928e7a1c66cfcff.diff

# 然后重新执行configure ...命令

# ngx_event_openssl.c error: storage size of 'md' isn't know

未解决

解决办法:
直接把报错的模块关掉,不编译报错的模块。


ToC

# 'struct crypt_data' has no member named 'current_salt'

# ngx_event_openssl.c error: storage size of 'md' isn't know