Hey if its set up for crypt then why the error messages with crypt? is there
a bug fix for the undefined reference to crypt in act_info.c lines: 2736 +
2753 and comm.c (nanny) lines: 1704, 1816, and 1839? Thanks for your help
before hand.
Dantin
----- Original Message -----
From: "Michael Barton" <[EMAIL PROTECTED]>
Cc: "ROM Mailing List" <[email protected]>
Sent: Monday, November 26, 2001 9:45 PM
Subject: Re: Windows
> > 4) Rev up the Synedit and modify the makefile (no extensions) by taking
> > out -lcrypt and $( NOCRYPT ). Make sure all of the .c files in the
source
> > Close to the bottom you will see CFLAGS look for $< and
> > type -DUnix -DOLD_RAND -DNOCRYPT right before it should look like this:
>
> Well, Cygwin includes the crypt libraries these days, so you can pretty
> nearly just follow the instructions for Linux as far as adding -lcrypt
> to the makefile. Most people won't like a mud that doesn't encrypt the
> passwords.
> Cygwin also defines 'unix' all by itself now, so you can leave the
> -Dunix out.
> The randomizer can be made to work without defining OLD_RAND by
> commenting out a couple of lines in comm.c.
>
> > gcc -DUnix -DOLD_RAND -DNOCRYPT *.c
>
> Whoa, bud.. there's no reason to call gcc directly if you have a
> makefile. Just type "make" in the src directory and it should build the
> executable if your makefile is written correctly.
> Something like this should work:
>
> CC = gcc
> C_FLAGS = -Wall -O -ggdb
> L_FLAGS = -lcrypt
>
> O_FILES = act_comm.o etc...
>
> rom: $(O_FILES)
> rm -f rom
> $(CC) -o rom $(O_FILES) $(L_FLAGS)
>
> .c.o: merc.h
> $(CC) -c $(C_FLAGS) $<
>
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom