ed@maven.UUCP (Ed Hand) (12/12/88)
Recently I posted an article requesting info on message.c.UU. Silly me, I figured,remembered it out about an hour after I posted it. If I had read the comments at the beginning of the posted files it would not have taken that long. You know, do it first and then read the instructions. Well, thanks for the replies from those who did. And now, next question please... I guess this will probably be another difference between BSD and SYSV. But as I now little about BSD systems and I am still learning what is out there in the SYSV include files, I really do need help on this one. I went into the std.h file and commented out the define BSD statement. Now when I make all, everything will compile ( one illegal pointer and integer usage in xchess.c but it accepts it) but when it tries to link everything together I get several undefined symbols. Most of the symbols are first referenced in the libX11.a I can't remember them all and didn't make a list but some of them were: socket gethostname gethostbyname, and about ten others. Any suggestions would be appreciated, and thanks for any given... _____________________________________________________________________________ /---\ | ...I may be crazy... | ( o o ) * The | ...But it just might be | Ed Hand \ ' / *** Mad | a lunatic your looking | Intergraph Corp. \ ^ / /* One | for... | {ihnp4,uunet} ---\___/ | Billy Joel | !ingr!b11!maven!ed -----------------------------------------------------------------------------
perrone@loligo.fsu.edu (Perrone Ford) (12/14/88)
you are probably missing sockets.h and sys/types.h I've had this problem in working with rpc services.
chris@jung.stars.flab.Fujitsu.JUNET (Zany Cornetto) (12/21/88)
I guess you must be getting trying to get x-chess to run on an InterPro workstation; I missed your first message. The undefined symbols such as socket, gethostbyname etc are BSD rather than sysV/CLIX symbols. The library you need is libbsd.a. Hence you need to put -lbsd in the command line to the loader. LDFLAGS = -L$(DESTDIR)/lib -z -loldX -lX11 -lbsd -lm I hope this helps. -- chris richardson ------------------------------------------------------------------------------ Harlequin Ltd. chris@harlqn.uucp Barrington Hall chris@uk.co.harlqn Barrington ..!uunet!mcvax!ukc!harlqn!chris Cambridge CB2 5RG Voice: 0223 872522 (National) England +44-223-872522 (International) -------------------------------------------------------------------------------