Link Fast MD5 Assembly
above given link has assembly implementation of MD5.
when i am trying to call the following code in c with given execute instruction, it run successfully. but when as i try to call or execute in C++11, i got error as undefined reference to Md5_hash
function
for compiling in c
gcc --std=c99 md5-test.c md5-fast-x8664.S -o md5-test
same is used for c++11
gcc --std=c++11 md5-test.cpp md5-fast-x8664.S -o md5-test
it show error
/staticLibmd5/main.cpp|32|undefined reference to md5_compress(unsigned char
const*, unsigned long, unsigned int*)'
is there any other instruction to that in c++ that is missing.