Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 1995 00:00:39 +0100 (MET)
From:      Ollivier Robert <Ollivier.Robert@keltia.frmug.fr.net>
To:        freebsd-bugs@FreeBSD.org (FreeBSD Bugs' list), freebsd-current@FreeBSD.org (FreeBSD Current Users' list)
Subject:   Symbol undefined in vm_page.c : ACT_MAX
Message-ID:  <199502202300.AAA09544@keltia.frmug.fr.net>

next in thread | raw e-mail | index | archive | help
Last ctm patch from today, 

CTM_BEGIN 2.0 cvs-cur 377 19950220154143Z .

cc -c -O -m486 -pipe -W -Wreturn-type -Wcomment -Wredundant-decls  -I. -I../.. -I../../sys -DKELTIA -DI486_CPU -DEXCLUDE_PRO_MIDI -DEXCLUDE_PAS -DEXCLUDE_PSS -DEXCLUDE_MSS -DEXCLUDE_GUS16 -DEXCLUDE_GUSMAX -DEXCLUDE_GUS_IODETECT -DEXCLUDE_GUS -DKTRACE -DDODUMP -DGATEWAY -DSHMMAXPGS=64 -DSYSVMSG -DSYSVSEM -DSYSVSHM -DDUMMY_NOPS -DAUTO_EOI_2 -DAUTO_EOI_1 -DUCONSOLE -DSCSI_2_DEF -DCOMPAT_43 -DPROCFS -DLFS -DMFS -DFFS -DINET -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000  ../../vm/vm_page.c
../../vm/vm_page.c: In function `vm_page_activate':
../../vm/vm_page.c:1005: `ACT_MAX' undeclared (first use this function)
../../vm/vm_page.c:1005: (Each undeclared identifier is reported only once
../../vm/vm_page.c:1005: for each function it appears in.)
*** Error code 1

Stop.

ACT_MAX is only defined in  vm_pageout.c.  I guess  it's time to move it to
/sys/i386/include/param.h (or elsewhere) I suppose :

/usr/include/vm/vm_pageout.c:#define ACT_MAX            100

/usr/include/vm/vm_pageout.c:                   if (p->act_count < ACT_MAX)
/usr/include/vm/vm_pageout.c:                   if (m->act_count < ACT_MAX)
/usr/include/vm/vm_pageout.c:                   if (m->act_count < ACT_MAX) {

-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.frmug.fr.net
      FreeBSD keltia 2.1.0-Development #9: Sat Feb 18 19:21:00 MET 1995



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502202300.AAA09544>