Xref: utzoo comp.unix.xenix:6173 alt.sources:624 Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!hp4nl!rivm!ccea3 From: ccea3@rivm.UUCP (Adri Verhoef) Newsgroups: comp.unix.xenix,alt.sources Subject: Re: lload for xenix Keywords: lload xenix Lars_Pensj Message-ID: <1349@rivm05.UUCP> Date: 29 May 89 18:52:27 GMT References: <30067@conexch.UUCP> Reply-To: a3@rivm.UUCP (Adri Verhoef) Organization: RIVM, Bilthoven, The Netherlands Lines: 17 I tried to compile the Load Average Daemon on UNIQ (UNIX) System V.3.0, but at first it wouldn't let me. I removed two includes: /* #include NON-EXISTENT */ /* #include SYNTAX ERROR (pte_t) */ Then I compiled: "cc lload.c -lm -o lload". I ran "lload -v". It stopped after ten seconds, saying Could not get address for _buf I compiled with -DM_I386, although the machine is a microVAX, as to use _pbuf instead of _buf, and I got lseek v: Invalid argument The belonging call is: lseek(kmem, v_p->n_value, 0) Printing v_p->n_value yields -2147211432. Any ideas? Thanks.