get_dhParams is defined in dh_params.h, which is included in tls.c if OPENSSL_NO_DH is undefined.  Does your OpenSSL installation define this macro ?