From owner-freebsd-current Thu Mar 23 9:36: 8 2000 Delivered-To: freebsd-current@freebsd.org Received: from trinity.skynet.be (trinity.skynet.be [195.238.2.38]) by hub.freebsd.org (Postfix) with ESMTP id 867BC37B914 for ; Thu, 23 Mar 2000 09:36:05 -0800 (PST) (envelope-from blk@skynet.be) Received: from [195.238.1.121] (brad.techos.skynet.be [195.238.1.121]) by trinity.skynet.be (Postfix) with ESMTP id 5711918497 for ; Thu, 23 Mar 2000 18:35:18 +0100 (MET) Mime-Version: 1.0 X-Sender: blk@pop.skynet.be Message-Id: Date: Thu, 23 Mar 2000 18:34:42 +0100 To: FreeBSD-CURRENT Mailing List From: Brad Knowles Subject: INVARIANTS doesn't work? Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Folks, It looks to me like setting INVARIANTS in your kernel doesn't work in 4.0-STABLE. This one drove me batty for most of the day, until I remembered that I had also enabled this stuff as well as a couple other changes I had wanted to make to my kernel config. In the meanwhile, I can assure you that I am pretty current -- I automatically assumed I was at fault and that I should cvsup to make sure I've got the latest and greatest. ;-) The "make" ends with: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 vers.c linking kernel.debug vm_zone.o: In function `zalloci': /usr/src/sys/compile/AUDREY/../../vm/vm_zone.h:81: undefined reference to `zerror' /usr/src/sys/compile/AUDREY/../../vm/vm_zone.h:91: undefined reference to `zerror' vm_zone.o: In function `zfreei': /usr/src/sys/compile/AUDREY/../../vm/vm_zone.h:106: undefined reference to `zerror' vm_zone.o: In function `_zget': /usr/src/sys/compile/AUDREY/../../vm/vm_zone.c:373: undefined reference to `zerror' *** Error code 1 The kernel config is a bit large, so I will transmit it on request to interested parties, but I won't post it to the list unless specifically asked to do so. The one thing I'll note is that this might be an interaction between INVARIANTS and "makeoptions DEBUG=-g". I'll try turning off DEBUG and see if I can make a kernel that way.... -- These are my opinions -- not to be taken as official Skynet policy ====================================================================== Brad Knowles, || Belgacom Skynet SA/NV Systems Architect, Mail/News/FTP/Proxy Admin || Rue Colonel Bourg, 124 Phone/Fax: +32-2-706.13.11/12.49 || B-1140 Brussels http://www.skynet.be || Belgium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message