Article View: comp.mail.uucp
Article #5254Problems with compiling rn
From: Dave Taylor {guest}
Date: Tue, 06 Mar 1990 19:53
Date: Tue, 06 Mar 1990 19:53
45 lines
1628 bytes
1628 bytes
I recently ftp'ed a copy of the latest and greatest copy of r.44.tar.Z
After getting onto my system and tweeking the config.h file slightly
I have continued to try and get it compile fully.
I am running on SCO Xenix 2.3.2 and it is croaking on the term.c routine.
It doesn't seem to like the following section of code:
#ifdef PENDING
#ifndef FIONREAD
int
circfill()
{
register int howmany = read(devtty,circlebuf+nextin,1);
if (howmany) {
nextin += howmany;
nextin %= PUSHSIZE;
}
return howmany;
}
#endif PENDING
#endif FIONREAD
Here are the errors from the compiler...
cc -c -O term.c
term.c
term.c(600) : warning 3: not enough actual parameters for macro 'howmany'
term.c(600) : error 59: syntax error : ')'
term.c(602) : warning 1: macro 'howmany' requires parameters
term.c(602) : error 59: syntax error : ')'
term.c(602) : error 59: syntax error : ')'
term.c(602) : error 59: syntax error : '{'
term.c(603) : warning 1: macro 'howmany' requires parameters
...
... (eventual croak)
If you could be of help please let me know. I'm not a C master, so I'll
have to hope that you can help me out of this one.
Thanks in advance.
-david
Technical Details
Message-ID:
<5108@emory.mathcs.emory.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!samsung!emory!dtShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!samsung!emory!dt
From: dt@mathcs.emory.edu (Dave Taylor {guest})
Newsgroups: comp.mail.uucp
Subject: Problems with compiling rn
Message-ID: <5108@emory.mathcs.emory.edu>
Date: 6 Mar 90 19:53:06 GMT
Reply-To: dt@emory.UUCP (Dave Taylor {guest})
Distribution: usa
Organization: Math and Computer Science, Emory University, Atlanta GA
Lines: 45