On Tue, Nov 27, 2001 at 05:14:00PM -0800, Jason Snuggs wrote:
> g++ is the compiler in redhat 7.0
> 
> I tried the library -lcrypt at the end, beginning and middle of the linker.
> I tried removing the definition from the makefile and including unistd.h 
> since that's what the manfile said the function existed in.
> Tried pointing to /lib/lcrypt.a (or something like this)
> And a bunch of other little stuff that I don't remember, but did me no good :)
> 
> 
> Here's the make message and errors, they're basically the ones right out of 
> the FAQ and all the other posts people have when first starting ROM and don't 
> have the lcrypt option set, but I do have it set:

Read "man crypt" and see what it says about what you have to link
or what you have to do.

For example:

        LIBRARY
             Crypt Library (libcrypt, -lcrypt)
        SYNOPSIS
             #include <unistd.h>

             char *
             crypt(const char *key, const char *salt);



Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED] |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

Reply via email to