*BSD News Article 87767


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.radio.cz!voskovec.radio.cz!news.radio.cz!CESspool!news-feed.inet.tele.dk!sn.no!hermod.uio.no!nntp.uio.no!newsfeeds.sol.net!hammer.uoregon.edu!news.mathworks.com!howland.erols.net!ix.netcom.com!mvh
From: mvh@netcom.com (Michael Harding)
Subject: Re: I need a "top" binary for 2.1.6
Message-ID: <mvhE4s40r.68w@netcom.com>
Organization: Netcom On-Line Services
X-Newsreader: TIN [version 1.2 PL2]
References: <854534907.13508@dejanews.com>
Date: Wed, 29 Jan 1997 16:48:27 GMT
Lines: 21
Sender: mvh@netcom18.netcom.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34684

There is some code that looks at the date of the release - this is
faulty, as I think it's looking for 2.2, but 2.1.6 came out later than
the date.  Check 'machine.c' and replace the 96 in the date with 97
for the #ifdefs that refer to 'swaplist', then re-make.  The top 3.4
from /ports/current builds on 2.1.6 if you do this, too...

greg@lightningweb.com wrote:
: I have tried and tried to compile top for FreeBSD 2.1.6, and I can't do 
: it.

: I keep getting a "machine.c:793: storage size of `swaplist' isn't known" 
: error, and the compile won't go further.

: Can someone tell how to fix this, or send me a top binary?  I can only use 
: a binary currently being used on 2.1.6, as 2.1.5 binaries won't work.

: Thanks,

: Greg
: -------------------==== Posted via Deja News ====-----------------------
:       http://www.dejanews.com/     Search, Read, Post to Usenet