The answer lies within your makefile my friend. You have -DNOCRYPT... Look
at what I have. I take it your compiling ROM2.4b6 under windows correct?
CC = gcc
PROF =
NOCRYPT =
C_FLAGS = -Wall -O -ggdb
L_FLAGS =
O_FILES = act_comm.o act_enter.o act_info.o act_move.o act_obj.o act_wiz.o \
alias.o ban.o comm.o const.o db.o db2.o effects.o fight.o flags.o
\
handler.o healer.o interp.o note.o lookup.o magic.o magic2.o \
music.o recycle.o save.o scan.o skills.o special.o tables.o \
update.o mob_cmds.o mob_prog.o olc.o olc_act.o olc_save.o bit.o \
mem.o string.o pedit.o hedit.o cmdedit.o raedit.o skedit.o \
sedit.o gedit.o tablesave.o screen.o punt.o arena.o
rom: $(O_FILES)
rm -f rom
$(CC) $(L_FLAGS) -o rom $(O_FILES) -lcrypt
.c.o: merc.h
$(CC) -c $(C_FLAGS) $<
clean:
rm *.o
This will not compile the first time. It will have a problem in db.c just
rem those lines and use make to compile from your rom source directory. If
you would like to try and compile with my english version of Ivan's OLC 2.1
your more than welcome. Just send me an E-Mail directly. Of course make sure
you have the latest Cygwin. If you are not compiling under windows, sorry
for the useless info.
Dantin
----- Original Message -----
From: "TandonMiir" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, December 03, 2001 4:46 PM
Subject: Ivan's OLC Crypt Problems.
> While making a patched version of ROM, trying to set up version 2.0 of
> Ivan's OLC, I run into
>
> act_info.o: In function `do_password':
> /cygdrive/c/windows/desktop/allen/wed/rom24/src/act_info.c:2731: undefined
> refer
> ence to `crypt'
> /cygdrive/c/windows/desktop/allen/wed/rom24/src/act_info.c:2748: undefined
> refer
> ence to `crypt'
> comm.o: In function `nanny':
> /cygdrive/c/windows/desktop/allen/wed/rom24/src/comm.c:1697: undefined
> reference
> to `crypt'
> /cygdrive/c/windows/desktop/allen/wed/rom24/src/comm.c:1809: undefined
> reference
> to `crypt'
> /cygdrive/c/windows/desktop/allen/wed/rom24/src/comm.c:1832: undefined
> reference
> to `crypt'
> collect2: ld returned 1 exit status
> make: *** [rom] Error 1
>
>
> Funny thing is, my makefile already has the anti-crypt thingies in it's
> function calls...
>
> C_FLAGS = -Wall -DOLD_RAND -DNOCRYPT $(PROF) $(NOCRYPT) -DFIRST_BOOT
>
> Any advice?
>
>
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom