From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 14:16:45 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC4F916A4CE for ; Mon, 9 Aug 2004 14:16:45 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3692143D2F for ; Mon, 9 Aug 2004 14:16:43 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) by internet.potentialtech.com (Postfix) with ESMTP id 358A969A87; Mon, 9 Aug 2004 10:16:42 -0400 (EDT) Date: Mon, 9 Aug 2004 10:16:41 -0400 From: Bill Moran To: Ryan Message-Id: <20040809101641.5295318d.wmoran@potentialtech.com> In-Reply-To: <00b201c47e17$44aa5e20$94d34c18@potlavj0m8twaq> References: <00b201c47e17$44aa5e20$94d34c18@potlavj0m8twaq> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Kernel Compile Error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2004 14:16:46 -0000 Not 100% sure, but you don't have a keyboard device in your kernel (device atkbdc0). I figure if you're compiling in a console (sc0), that you'll need at least atkbdc0. Ryan wrote: > bash-2.05b# make buildkernel KERNCONF=POTL > > -------------------------------------------------------------- > >>> Kernel build for POTL started on Mon Aug 9 09:07:24 EST 2004 > -------------------------------------------------------------- > ===> POTL > > ((((Skiping To The End)))) > > cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 setdef1.c > touch hack.c > cc -shared -nostdlib hack.c -o hack.So > rm -f hack.c > sh /usr/src/sys/conf/newvers.sh POTL > cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 vers.c > linking kernel > kbd.o: In function `kbd_register': > kbd.o(.text+0x314): undefined reference to `kbddriver_set' > kbd.o(.text+0x31b): undefined reference to `kbddriver_set' > kbd.o: In function `kbd_get_switch': > kbd.o(.text+0x429): undefined reference to `kbddriver_set' > kbd.o(.text+0x42e): undefined reference to `kbddriver_set' > kbd.o: In function `kbd_configure': > kbd.o(.text+0x6b3): undefined reference to `kbddriver_set' > kbd.o(.text+0x6b8): more undefined references to `kbddriver_set' follow > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/POTL. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > -------------------------------------------------------------------------------- > > (((((Kernel Config)))) > > machine i386 > cpu I686_CPU > ident POTL > maxusers 0 > > options INET #InterNETworking > options FFS #Berkeley Fast Filesystem > options FFS_ROOT #FFS usable as root device [keep this!] > options SOFTUPDATES #Enable FFS soft updates support > options UFS_DIRHASH #Improve performance on big directories > options MFS #Memory Filesystem > options MD_ROOT #MD is a potential root device > options CD9660 #ISO 9660 Filesystem > options CD9660_ROOT #CD-ROM usable as root, CD9660 required > options PROCFS #Process filesystem > options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] > options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI > options USERCONFIG #boot -c editor > options VISUAL_USERCONFIG #visual boot -c editor > options KTRACE #ktrace(1) support > options SYSVSHM #SYSV-style shared memory > options SYSVMSG #SYSV-style message queues > options SYSVSEM #SYSV-style semaphores > options P1003_1B #Posix P1003_1B real-time extensions > options _KPOSIX_PRIORITY_SCHEDULING > options ICMP_BANDLIM #Rate limit bad replies > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > options AHC_REG_PRETTY_PRINT # Print register bitfields in debug > # output. Adds ~128k to driver. > options AHD_REG_PRETTY_PRINT # Print register bitfields in debug > # output. Adds ~215k to driver. > > device ata > device atadisk # ATA disk drives > device atapicd # ATAPI CDROM drives > device atapifd # ATAPI floppy drives > options ATA_STATIC_ID #Static device numbering > > device stg # TMC 18C30/18C50 > device scbus # SCSI bus (required) > device vga0 at isa? > pseudo-device splash > device sc0 at isa? flags 0x100 > device agp # support several AGP chipsets > device npx0 at nexus? port IO_NPX irq 13 > device apm0 at nexus? disable flags 0x20 # Advanced Power Management > device sio0 at isa? port IO_COM1 flags 0x10 irq 4 > device sio1 at isa? port IO_COM2 irq 3 > device miibus # MII bus support > device vr # VIA Rhine, Rhine II > pseudo-device loop # Network loopback > pseudo-device ether # Ethernet support > pseudo-device tun # Packet tunnel. > pseudo-device pty # Pseudo-ttys (telnet etc) > pseudo-device md # Memory "disks" > options MAXDSIZ="(256*1024*1024)" > options MAXSSIZ="(256*1024*1024)" > options DFLDSIZ="(256*1024*1024)" > > options IPFIREWALL #firewall > options IPFIREWALL_VERBOSE #enable logging to syslogd(8) > options IPFIREWALL_FORWARD #enable transparent proxy support > options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity > options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default > options IPFILTER #ipfilter support > options IPFILTER_LOG #ipfilter logging > options IPFILTER_DEFAULT_BLOCK #block all packets by default > options MROUTING # Multicast routing > options IPSTEALTH #support for stealth forwarding > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Bill Moran Potential Technologies http://www.potentialtech.com