Re: Yet Another Red Hat 5.0 Compile Question

From: George (greerga@CIRCLEMUD.ORG)
Date: 03/27/98

On Fri, 27 Mar 1998, Jared Buckley wrote:

>Thanks to George and Blue Lang.  As per George's recommendations,
>the functions can be commented out of sysdep.h and comm.h respectively.
>Afterwards the compile generated lots of complaints about the
>crypt function.  Blue Lang's post tipped me off to the soln to that
>one.  I ended up manually putting -lcrypt on :
>../bin/circle : $(OBJFILES)
>        $(CC) -o ../bin/circle -lcrypt $(PROFILE) $(OBJFILES)

You want '-lcrypt' at the end in case you need to override the crypt()

(Chances are you won't want to, but just in case... Works the same for all
the libc functions too.)

George Greer  -   | Genius may have its limitations, but stupidity | is not thus handicapped. -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST