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()
function.

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

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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