From owner-freebsd-bugs Mon Feb 20 15:04:31 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA19917 for bugs-outgoing; Mon, 20 Feb 1995 15:04:31 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA19889; Mon, 20 Feb 1995 15:04:24 -0800 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id AAA23364 ; Tue, 21 Feb 1995 00:06:07 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA20156; Tue, 21 Feb 95 00:03:47 +0100 Received: (from roberto@localhost) by keltia.frmug.fr.net (8.6.9/keltia-uucp-1.21) id AAA09544; Tue, 21 Feb 1995 00:00:41 +0100 From: Ollivier Robert Message-Id: <199502202300.AAA09544@keltia.frmug.fr.net> Subject: Symbol undefined in vm_page.c : ACT_MAX To: freebsd-bugs@FreeBSD.org (FreeBSD Bugs' list), freebsd-current@FreeBSD.org (FreeBSD Current Users' list) Date: Tue, 21 Feb 1995 00:00:39 +0100 (MET) Reply-To: roberto@hsc.fr.net X-Operating-System: FreeBSD 2.1.0-Development ctm#373 X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1419 Sender: bugs-owner@FreeBSD.org Precedence: bulk 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