Date: Thu, 23 Mar 2000 18:34:42 +0100 From: Brad Knowles <blk@skynet.be> To: FreeBSD-CURRENT Mailing List <freebsd-current@freebsd.org> Subject: INVARIANTS doesn't work? Message-ID: <v04220808b5000473e2bd@[195.238.1.121]>
next in thread | raw e-mail | index | archive | help
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, <blk@skynet.be> || 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v04220808b5000473e2bd>