Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2001 17:13:47 -0400
From:      corigan@mindspring.com
To:        freebsd-questions@freebsd.org
Subject:    Re: [freebsd-questions] Kernel Compilation Failed from 7/31/2001 cvsup - NUM_KEYs undeclared
Message-ID:  <Springmail.105.996614027.0.47781600@www.springmail.com>

next in thread | raw e-mail | index | archive | help
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" <lowell@world.std.com>
To: <corigan@mindspring.com>
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=<YOUR_KERNEL_HERE>) 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




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