vnc.c:815:12: error: dereferencing pointer to incomplete type ‘DH’ {aka ‘struct dh_st’}
? dh_struct->g = BN_new();
原因:使用了openssl 1.1.x 版本,導(dǎo)致API不一致引起
解決辦法:安裝低版本openssl1.0版本,apt-get install libssl1.0-dev
vnc.c:815:12: error: dereferencing pointer to incomplete type ‘DH’ {aka ‘struct dh_st’}
? dh_struct->g = BN_new();
原因:使用了openssl 1.1.x 版本,導(dǎo)致API不一致引起
解決辦法:安裝低版本openssl1.0版本,apt-get install libssl1.0-dev