hogan@csl.sri.com (Emmett Hogan) (07/20/90)
I am having a problem getting Sendmail 5.64+IDA 1.3.1 to compile, and I am hoping someone here can solve my problem (I am sure it is pretty trivial, but I can't seem to locate the problem)...okay here goes: Machine: Sun 3/470 running SunOS 4.0.3 Compiler: Sun C compiler (blows up using gcc also) The error occurs when compiling conf.c: cc -O -I. -DVMUNIX -DSIG_TYPE=void -c conf.c -o conf.o "conf.c", line 476: syntax error at or near symbol ; "conf.c", line 480: syntax error at or near symbol ; The problem lines are: 476: kmem = open(_PATH_KMEM, 0, 0); 477: if (kmem < 0) 478: return (-1); 479: (void) ioctl(kmem, (int) FIOCLEX, (char *) 0); 480: (void) nlist (_PATH_UNIX, Nl); I can see that the problem probably deals with _PATH_KMEM and _PATH_UNIX, but I that's about as far as I get; both are defined in pathnames.h: #define _PATH_UNIX "/vmunix"; #define _PATH_KMEM "/dev/kmem"; Anyone got any ideas, Thanks in advance, Emmett -- ------------------------------------------------------------------- Emmett Hogan Computer Science Lab, SRI International Inet: hogan@csl.sri.com UUCP: {ames, decwrl, pyramid, sun}!fernwood!hercules!hogan USMAIL: BN179, 333 Ravenswood Ave, Menlo Park, CA 94025 PacBell: (415)859-3232 (voice), (415)859-2844 (fax) ICBM: 37d 27' 14" North, 122d 10' 52" West -------------------------------------------------------------------
paul@uxc.cso.uiuc.edu (Paul Pomes - UofIllinois CSO) (07/20/90)
Look in pathnames.h and delete the ';' at the end of the #define's . Sorry about that. /pbp -- Paul Pomes UUCP: {att,iuvax,uunet}!uiucuxc!paul Internet, BITNET: paul@uxc.cso.uiuc.edu US Mail: UofIllinois, CSO, 1304 W Springfield Ave, Urbana, IL 61801-2987