The undefined reference
error is a linker error, so it appears that gcc
is finding /usr/include/openssl/evp.h
but the linker is unable to find the library that has the EVP_DigestUpdate
and EVP_DigestFinal_ex
functions.
I'd check that the makefile in question has an -lcrypto
argument and that make
is finding the right libcrypto
on your system.