Date: Mon, 11 Sep 2000 16:43:07 +1100 From: Nick Slager <nicks@albury.net.au> To: "Hemanth K. Manda" <manda@BPA.Arizona.EDU> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Crypt !! Message-ID: <20000911164307.E20182@albury.net.au> In-Reply-To: <Pine.OSF.4.21.0009102230460.1755982-100000@shell.bpa.arizona.edu>; from manda@BPA.Arizona.EDU on Sun, Sep 10, 2000 at 10:35:13PM -0700 References: <Pine.OSF.4.21.0009102230460.1755982-100000@shell.bpa.arizona.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Hemanth K. Manda (manda@BPA.Arizona.EDU): > I am a newbie to unix and am facing a simple problem. I have a C > program which uses crypt() on my university account. It compiles and > get executed without a problem. However when I tried to compile the > same on FreeBSD, it gives an error indicating that the system cannot > resolve crypt(). pwd.h is the only header I have other than stdio.h. > Is there anything I need to add to my program in order to get it > compiled. Are you linking with the libcrypt library? ie: % cc -lcrypt -o myprog myprog.c Nick. -- From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000911164307.E20182>