[compiling probs][redhat 52]

From: bill long (bill@longboys.net)
Date: 04/11/99


i just changed my system from caldera to redhat.
after rerunning my configure script(and deleteing the appropriate files)
and compiling i get the following errors.

gcc -o ../bin/rpm  main.o config.o db.o state.o cparse.o pfile.o utils.o
constants.o alias.o ban.o boards.o color.o fight.o graph.o handler.o
house.o infos.o ispell.o limits.o magic.o mail.o misc.o mobact.o
mobcmd.o mobprog.o modify.o movement.o objects.o objsave.o olc.o pcomm.o
pcreate.o pfight.o shop.o skin.o socials.o spec_assign.o spec_procs.o
spell_parser.o spells.o spirit.o wcomm1.o wcomm2.o weather.o aedit.o
hedit.o medit.o oedit.o redit.o sedit.o zedit.o money.o pedit.o races.o
skills.o
state.o: In function `state':
/home/uladmin/rpm/src/state.c:218: undefined reference to `crypt'
/home/uladmin/rpm/src/state.c:285: undefined reference to `crypt'
/home/uladmin/rpm/src/state.c:298: undefined reference to `crypt'
/home/uladmin/rpm/src/state.c:412: undefined reference to `crypt'
pedit.o: In function `pedit_parse':
/home/uladmin/rpm/src/pedit.c:632: undefined reference to `crypt'
pedit.o:/home/uladmin/rpm/src/pedit.c:637: more undefined references to
`crypt' follow
make[1]: *** [../bin/rpm] Error 1
make[1]: Leaving directory `/home/uladmin/rpm/src'
make: *** [default] Error 2


i checked and i do have the crypt.h header and the crypt library.
my conf.h defines have_crypt.h and have_crypt to 1.
other than undefining the crypt, anybody got any ideas??

uladmin /home/uladmin/rpm/src> whereis crypt
crypt: /usr/include/crypt.h /usr/man/man3/crypt.3

uladmin /home/uladmin/rpm/src> ls -al /usr/lib | grep crypt
-rw-r--r--   1 root     root        57210 Oct 13  1998 libcrypt.a
lrwxrwxrwx   1 root     root           23 Apr  9 15:55 libcrypt.so ->
../../lib/libcrypt.so.1
-rw-r--r--   1 root     root        58178 Oct 13  1998 libcrypt_p.a

i'm stumped. it should be working fine.

any help is appreciated


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



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