From owner-freebsd-questions Tue Jul 31 14:13:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from blount.mail.mindspring.net (blount.mail.mindspring.net [207.69.200.226]) by hub.freebsd.org (Postfix) with ESMTP id 4ECD737B403 for ; Tue, 31 Jul 2001 14:13:48 -0700 (PDT) (envelope-from corigan@mindspring.com) Received: from smui01.slb.mindspring.net (smui01.slb.mindspring.net [199.174.114.21]) by blount.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id RAA27293 for ; Tue, 31 Jul 2001 17:13:47 -0400 (EDT) From: corigan@mindspring.com Received: by smui01.slb.mindspring.net id RAA0000018085; Tue, 31 Jul 2001 17:13:47 -0400 (EDT) Date: Tue, 31 Jul 2001 17:13:47 -0400 To: freebsd-questions@freebsd.org Subject: Re: [freebsd-questions] Kernel Compilation Failed from 7/31/2001 cvsup - NUM_KEYs undeclared Message-ID: X-Originating-IP: 66.20.90.203 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey Lowell, Looks like nobody wants to write me back except you, and I thank you for that. This is what I already did. Last night I cvsup'ed to RELENG_4_3 to see what it was all about, saw it was a release after I did the whole installworld, build kernel, make over the devices, etc. etc. as stated in /usr/src/updating. Then I rebooted installed the world, all that and everything ran fine. I noticed it had gone from my 4.3-STABLE to 4.3-RELEASE again and said hmmm, and changed the tag back to RELENG_4 and re-cvsup'd. Then I did the make buildworld -DNOPERL and then tried making the kernel. So the source tree should probably be in place, unless going between those 2 tags has totally shot it out, which could be a possibility I guess. So I don't think it has anything to do with not following the proper procedure for upgrading/installing kernels/worlds due to the fact that I am following the docs to the T like I always do. :) Would deleting the source tree and re-cvsuping completely download the branch again? Thanks for responding back to me, if you have any other suggestions I'm all ears. Matt Thomas ----- Original Message ----- From: "Lowell Gilbert" To: Sent: Tuesday, July 31, 2001 12:59 PM Subject: Re: [freebsd-questions] Kernel Compilation Failed from 7/31/2001 cvsup - NUM_KEYs undeclared > corigan@mindspring.com writes: > > > Hey All, just cvsup'd a server with a tag of RELENG_4 about 2 hrs ago and tried compiling with the same kernel config file that I normally do and am running into a few compiliation errors. I have tried it the old fashioned way (config conf, make depend, make kernel, make install, etc. and the way /usr/src/UPDATING suggests, make buildkernel KERNCONF=) whith no luck. Here is the error I am getting on a make kernel: > > > > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extens ions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/i pfilter -D_KERNEL -include opt_global.h -elf -fno-builtin -mpreferred-stack-boundary=2 ../../i386/isa/pcvt/pcvt_drv.c > > In file included from ../../i386/isa/pcvt/pcvt_hdr.h:95, > > from ../../i386/isa/pcvt/pcvt_drv.c:62: > > ../../dev/kbd/kbdreg.h:92: `NUM_KEYS' undeclared here (not in a function) > > ../../dev/kbd/kbdreg.h:92: size of array `kb_lastact' has non-integer type > > *** Error code 1 > > > > These are the options I have set in the config, from what I can tell nothing else would effect the keyboard: > > > > device atkbdc0 at isa? port IO_KBD > > device atkbd0 at atkbdc? irq 1 flags 0x1 > > > > Here is what I am running: > > > > The Regents of the University of California. All rights reserved. > > FreeBSD 4.3-RELEASE #1: Tue Jul 31 00:27:40 EDT 2001 > > > > and was trying to get back to the 4.3-STABLE side. I have tried it with and without the flags 0x1 and have had no success, any ideas? Thanks, > > I can't reproduce the problem, so it may have been a transient problem > in the source tree, but it sounds more like you're trying to upgrade > your kernel without upgrading the rest of your sources. This isn't > supported; if it works for you sometimes, you're just lucking out. > > In short, given that your sources are updated from your installed > system, you have to do a buildworld before a buildkernel, and you need > to do an installworld after you boot up the new kernel. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.265 / Virus Database: 137 - Release Date: 7/18/2001 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message