9.17.21 will not compile on centos 7.4
gcc -std=gnu99 -include /root/xiejieling/bind-9.16.18/config.h -I/root/xiejieling/bind-9.16.18 -I../.. -I/root/xiejieling/bind-9.16.18/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -g -O2 -pthread -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -Wno-missing-field-initializers -fno-strict-aliasing -c pkcs11-keygen.c
pkcs11-keygen.c:79:1: 错误:用非常量的数组表达式初始化数组
static CK_BYTE pk11_ecc_prime256v1[] = PK11_ECC_PRIME256V1;
^
pkcs11-keygen.c:80:1: 错误:用非常量的数组表达式初始化数组
static CK_BYTE pk11_ecc_secp384r1[] = PK11_ECC_SECP384R1;
^
pkcs11-keygen.c:81:1: 错误:用非常量的数组表达式初始化数组
static CK_BYTE pk11_ecx_ed25519[] = PK11_ECX_ED25519;
^
pkcs11-keygen.c:82:1: 错误:用非常量的数组表达式初始化数组
static CK_BYTE pk11_ecx_ed448[] = PK11_ECX_ED448;
^
make[2]: *** [pkcs11-keygen.o] 错误 1
make[2]: 离开目录“/root/xiejieling/bind-9.16.18/bin/pkcs11”
make[1]: *** [subdirs] 错误 1
make[1]: 离开目录“/root/xiejieling/bind-9.16.18/bin”
make: *** [subdirs] 错误 1
``
Edited by Mark Andrews