Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compile errors - crossfire-0.92.0



I am receiving the following error when doing a make of crossfire-0.92.0.  I am  
compiling crossfire on a NeXTStation, using NS 3.2 & CoXist 3.3 (x-Windows V11 R5):

==============
rm -f crossfire
cc -DNeXT -DBSD -o crossfire  apply.o   attack.o        ban.o   c_bind.o        c_chat.o         
c_misc.o    c_move.o        c_new.o c_object.o      c_party.o       c_wiz.o commands.o       
daemon.o   egoitem.o        encounter.o     ericserver.o    hiscore.o       init.o   
input.o login.o main.o  monster.o   move.o  newitem.o       obwin.o pets.o  player.o         
resurrection.o  rune.o  shop.o  socket.o    sounds.o        spell_effect.o  spell_util.o     
swamp.o swap.o  thief.o time.o  xio.o -pipe   -arch 'm68k'     -L../common  -lcross   
-lXext                          -lX11      

ld: warning table of contents of library: ../common/libcross.a not sorted slower link  
editing will result (use the ranlib(1) -s option)
ld: Undefined symbols:
_S_ISDIR
*** Exit 1
Stop.
*** Exit 1
Stop.
==============

I found the following references to S_ISDIR in the source code, am I missing any?

runner> cd ../common
runner>grep ISDIR *
map.c:#ifndef S_ISDIR
map.c:#define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR)
map.c:  if (stat (buf, &statbuf) || !S_ISDIR (statbuf.st_mode)) {
porting.c:      if (S_ISDIR(st.st_mode))
runner> cd ../server
runner>grep ISDIR *
login.c:#ifndef S_ISDIR
login.c:#define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR)


Any assistance would be appreciated.

---
Richard
richard%runner.uucp@usc.edu
   (100K bytes max -- ok to send NeXTMail)