Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse OpenSSL lib linker error
Eclipse OpenSSL lib linker error [message #1750834] Thu, 29 December 2016 19:03 Go to next message
Shan Cao is currently offline Shan CaoFriend
Messages: 1
Registered: December 2016
Junior Member
int IIOTBusCommsPacket::getTheHASHfromBuffer( const unsigned char *message, size_t message_len, unsigned char *digest, unsigned int *digest_len)
EVP_MD_CTX *mdctx;
int status = STATUS_ERROR;

if( *digest_len < EVP_MD_size(EVP_sha256()))
return status;

if((mdctx = EVP_MD_CTX_create()) == NULL)
return status;;

if(1 != EVP_DigestInit_ex(mdctx, EVP_sha256(), NULL))
return status;

if(1 != EVP_DigestUpdate(mdctx, message, message_len))
return status;

if(1 != EVP_DigestFinal_ex(mdctx, digest, digest_len))
return status;


return STATUS_OK;
Re: Eclipse OpenSSL lib linker error [message #1750871 is a reply to message #1750834] Fri, 30 December 2016 13:14 Go to previous message
David VavraFriend
Messages: 1430
Registered: October 2012
Senior Member
You need to supply more information than posting a piece of code and saying you have an unspecific problem if you are looking for help.

What is the actual problem?
That means posting the actual error messages.
The build log showing the link command and the subsequent errors and other messages will go a long way toward analyzing your problem.

We will also need to know the build target OS and the build OS if different than the target.

In general, if you are having link problems, you likely didn't supply the linker with necessary library information such as path and library name or gave the information in the wrong order. That's about all that can be said without knowing the actual situation.

Previous Topic:Neon.2 (4.6.2) -- Qt update not working
Next Topic:Getting chosen project type from an MBS custom page
Goto Forum:

Current Time: Sat May 28 23:29:06 GMT 2022

Powered by FUDForum. Page generated in 0.02018 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top