Path: utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!mips!prls!gordon From: gordon@prls.UUCP (Gordon Vickers) Newsgroups: comp.sources.d Subject: Re: mbase is missing something - ie remove function Message-ID: <49906@prls.UUCP> Date: 7 Jan 91 18:29:55 GMT References: <7389@plains.NoDak.edu> Reply-To: gordon@prls.UUCP (Gordon Vickers) Organization: Philips Research Labs, Sunnyvale, California Lines: 31 In article <7389@plains.NoDak.edu> rajkumar@plains.NoDak.edu (A. Joseph Rajkumar) writes: >Hi > > I would appreciate knowing if anyone has got mbase to compile >correctly. I tried it and it seems a remove function is missing. Yes, remove() is missing. It is called only once and it's argument is just a charector string. I replaced it with code that simply nulls the argument string. This is problable wrong but at least it allowed me to compile (but not test) the program. Also missing is the file enctest.c, which is why I did not test the program. I also made the following "corrections" needed (at least on) Ultrix : o File: Makefile line: cc sample .... change: deleted space from between -L ${LIBDIR} o File: Makefile added compiler flag -DUNIX purpose: build.c requires UNIX to be defined is you are running Unix. The -DUNIX flag for the compiler will do this. I could have put a #define UNIX into build.c but it really belongs in Makefile should it be needed later by other files that are patched or enhanced. Gordon Vickers 408/991-5370 {mips,pyramid|philabs}!prls!gordon Signetics in Sunnyvale,Ca (USA) The Earth is a complex array of symbiotic relationships: Every extinction, whether animal, mineral, vegetable, or cultural hastens our own demise.