From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 16 06:55:21 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6840F16A4CE for ; Tue, 16 Nov 2004 06:55:21 +0000 (GMT) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E98FA43D48 for ; Tue, 16 Nov 2004 06:55:20 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1CTxFH-000JvE-9W; Tue, 16 Nov 2004 08:55:19 +0200 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: "M. Warner Losh" In-Reply-To: Message from "M. Warner Losh" <20041115.094505.119360848.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 16 Nov 2004 08:55:19 +0200 From: Danny Braniss Message-Id: <20041116065520.E98FA43D48@mx1.FreeBSD.org> cc: hackers@freebsd.org Subject: Re: A20/keybord/no-keyboard X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 06:55:21 -0000 > In message: <20041115102636.0978543D2F@mx1.FreeBSD.org> > Danny Braniss writes: > : so, Q1: is it possible to compile a 5.3 kernel without kbd, > > Doesn't removing atkbd and atkbdc from the kernel do the job? > this is waht i get if i remove atkbd and atkbdc: ... MAKE=make sh /r+d/5.3/src/sys/conf/newvers.sh WRAP cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/r+d/5.3/src/sys -I/r+d/5.3/src/sys/contrib/dev/acpica -I/r+d/5.3/src/sys/contrib/altq -I/r+d/5.3/src/sys/contrib/ipfilter -I/r+d/5.3/src/sys/contrib/pf -I/r+d/5.3/sr c/sys/contrib/dev/ath -I/r+d/5.3/src/sys/contrib/dev/ath/freebsd -I/r+d/5.3/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline- unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror vers.c linking kernel kbd.o(.text+0x308): In function `kbd_register': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0x30e): In function `kbd_register': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0x334): In function `kbd_register': danny