Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!umn-d-ub!cs.umn.edu!buddha!rodeen From: rodeen@buddha.ncc.umn.edu (Rick Odeen) Newsgroups: comp.mail.uucp Subject: Re: Problems with compiling rn Message-ID: <932@buddha.ncc.umn.edu> Date: 6 Mar 90 21:46:03 GMT References: <5108@emory.mathcs.emory.edu> Reply-To: rodeen@buddha.ncc.umn.edu (Rick Odeen) Distribution: usa Organization: University of Minnesota, Nutrition Coordinating Center Lines: 34 In article <5108@emory.mathcs.emory.edu> dt@emory.UUCP (Dave Taylor {guest}) writes: >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. > ... >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) > The problem is that the name howmany is used in sys/types.h as follows: #define howmany(x, y) (((x)+((y)-1))/(y)) I think I just renamed howmany in rn to something else. -- Rick Odeen ...!rutgers!umn-cs!buddha!rodeen Nutrition Coordinating Center rodeen@buddha.ncc.umn.edu University of Minnesota AT&T: +1 612 627 4884