Date: | Sat, 27 Feb 2010 19:50:20 -0500 |
Subject: | login.c:(.text+0x281): undefined reference to `crypt |
From: | steve paesani <spaesani@gmail.com> |
To: | krb5-bugs@mit.edu |
make error:
login.c:(.text+0x281): undefined reference to `crypt
I've tried modifying the Makefile where the code in question is 'cclinked':
-L./lib
no success
-l:/usr/local/lib/libcrypto.so
no success
-l:/usr/local/lib/libcrypto.a
no success
-l/usr/local/lib
redundant, yes. no success.
I would need some help identifying which library needs to be linked.
ps
login.c refers to crypt with two different signatures:
char* crypt();
andÂ
... crypt(args....);
this passes compilation yet I don't know what affect, if any, this has on linking. If someone could give me a heads up on the two different crypt references in login.c that would be nice, thanks.
Thanks,
Steve