Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » undefined reference to 'crypt'?(it says crypt function is undefined which comes in crypt.h )
undefined reference to 'crypt'? [message #1174977] Thu, 07 November 2013 12:43 Go to next message
m azhar is currently offline m azharFriend
Messages: 1
Registered: November 2013
Junior Member
Hi,
As mentioned , crypt function for data encryption which is needed in my code is giving me errors. It says that it is undefined. I got the same error when I tried the same code in ubuntu with gcc( gcc test.c) , the problem I guess is that of linking because it worked fine in ubuntu when I tried this { gcc test.c -lcrypt). But how can I resolve this issue in eclipse IDE ?
Re: undefined reference to 'crypt'? [message #1175077 is a reply to message #1174977] Thu, 07 November 2013 14:05 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 11/07/2013 06:49 AM, m azhar wrote:
> Hi,
> As mentioned , crypt function for data encryption which is needed
> in my code is giving me errors. It says that it is undefined. I got the
> same error when I tried the same code in ubuntu with gcc( gcc test.c) ,
> the problem I guess is that of linking because it worked fine in ubuntu
> when I tried this { gcc test.c -lcrypt). But how can I resolve this
> issue in eclipse IDE ?

To save time, please read sticky posts at top of forum, this one in
particular:

http://www.eclipse.org/forums/index.php/t/161206/
Previous Topic:Window Builder
Next Topic:Help setting up for new to Eclipse
Goto Forum:
  


Current Time: Thu Feb 25 08:26:32 GMT 2021

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

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

Back to the top