>>>>> "tim" == tim belding <[EMAIL PROTECTED]> writes:

    tim> Hey everyone...  I have a C file that I can't compile on a
    tim> new Linux web server.  The cgi script uses crypt (along with
    tim> a few other things) to change a user's password.  The users
    tim> and passwords are used to authenticate people to a certain
    tim> web page so this isn't a utility for the regular OS users.

    tim> The first problem is with crypt.  I did a man crypt on the
    tim> Linux box and it told me what to #include in order to use
    tim> that function and I've modified the source accordingly.  It
    tim> compiles fine but gives me an "undefined reference to crypt
    tim> in a temporary .o file created in /tmp.

Sounds like you're forgetting to link against the crypt library. Don't
know why the manpage doesn't mention that; it could be that I'm
completely making it up, though. :)
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to