Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bdgltd!ela From: ela@bdgltd.UUCP (Ed Ackerman Programmer) Newsgroups: comp.mail.misc Subject: Smail2.5 resolve.c problem EXOS not defined Keywords: Smail Problem Assistance please Message-ID: <255@bdgltd.UUCP> Date: 16 Aug 90 01:43:41 GMT Organization: BBG Ltd, Essington, PA Lines: 34 The subject says most of the problem. I am trying to compile Smail2.5 with SCO Xenix 2.2 I have applied Chip's Xenix patches. The problem is that at two places in resolve.c there is code to check what the form is and form is compared to 'EXOS'. EXOS is not defined, there is EX_OS in 'sysexits.h' but I realy don't think that that is right. Here are the offending lines: /* ** If we are looking at a substring (that's not the entire string) ** which parses to a LOCAL address, we skip to the next larger substring. */ if((i != 0) && (form == LOCAL || form == EXOS)) continue; and later /* ** For LOCAL mail in non-local format, we rewrite the full address into ** and leave blank. */ if ((rsvp( form ) == LOCAL) && (form != LOCAL && form != EXOS)) { build( domain, user, form, temp ); (void) strcpy( user, temp ); (void) strcpy( domain, "" ); form = LOCAL; } Any help in solving this welcome. -- ----------------------------------------------------------------------------- Ed Ackerman | It is impossible to make anything bdgltd!ela@dsi.com or ...!dsinc!bdgltd!ela| foolproof beacause fools are #include | SO ingenious!