Path: utzoo!attcan!uunet!ogicse!dali!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!mephisto!gatech!emcard!wa4mei!rsiatl!jgd From: jgd@rsiatl.UUCP (John G. De Armond) Newsgroups: comp.sys.ncr Subject: Re: netnews on NCR 32/700? Message-ID: <1659@rsiatl.UUCP> Date: 7 Apr 90 00:33:54 GMT References: <132@dynasys.UUCP> Organization: Radiation Systems, Inc. (a thinktank, motorcycle, car and gun works facility) Lines: 49 jessea@dynasys.UUCP (Jesse W. Asher) writes: >I'm trying to compile netnews on an NCR tower 32/700 and I'm having >a couple of problems. The first error message I get is: >Warning: Nested asm calls not now supported. This is an entirely bogus compiler message generated from constructs like the following: write(fd, string, strlen(string)); I've looked at the assembler output in these instances and have found the generated code to be correct. If you want to get rid of the message, you can use the following construct: int foo foo = strlen(string); write(fd, string, foo); This appears to be a problem on all NCR Tower 32's from the 450 on up. >ld: Symbol rmlock in libc.a is multiply defined. First defined in >elock.o. >I looked for rmlock outside of netnews and couldn't find any reference >to it. It's a function in elock.c, but other than that, I can't find the >problem area. I would appreciate any help I could get with these two >problems. Thanks in advance. I suspect that this is an NCR library extension to the file locking mechanism. I do not have my NCR man pages handy but I seem to remember seeing such a call documented. What you'd need to do is go into a header that is included in all the modules that use the news rmlock() call and define it to something different and then rename the actual function. Something like this should work: #define rmlock(s) news_rmlock(s) NCR seems to be real fond of such extensions. John -- John De Armond, WD4OQC | We can no more blame our loss of freedom on congress- Radiation Systems, Inc. | men than we can prostitution on pimps. Both simply Atlanta, Ga | provide broker services for their customers. emory!rsiatl!jgd | - Dr. W Williams | **I am the NRA**