Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!ll-xn!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!hp4nl!philapd!ssp15!jos From: jos@idca.tds.PHILIPS.nl (Jos Vos) Newsgroups: comp.mail.elm Subject: Re: Elm won't compile. Message-ID: <513@ssp15.idca.tds.philips.nl> Date: 25 Aug 88 06:39:47 GMT References: <719@jolnet.UUCP> Organization: Philips TDS, P.O. Box 245, 7300 AE Apeldoorn, The Netherlands Lines: 18 In article <719@jolnet.UUCP> rich@jolnet.UUCP (Rich Andrews) writes: > I am trying to get elm to compile here. I get to the last compile stage to create >elm and it dies complaining that gethostname in undefined in initialize.o and yet >i have defined NEED_GETHOSTNAME in the makefile. This is a SYSV AT&T 3b2/400. >Any ideas? HELP! This answer holds for Elm 1.5b. You should first run Configure.sh, then customize hdrs/sysdefs.h to your own needs and *there* you should define NEED_GETHOSTNAME (if not already done). If you do so, in filter/utils2.c and src/opt_utils.c a gethostname routine will be compiled. It worked perfectly here, also on a System V system. -- # Jos Vos # Internet jos@idca.tds.philips.nl # # Philips TDS, Dept SSP # # # P.O. Box 245 # UUCP ...!mcvax!philapd!jos # # 7300 AE Apeldoorn, The Netherlands # Phone +31 55 433181 #