From owner-freebsd-current Fri Mar 17 3: 6: 6 2000 Delivered-To: freebsd-current@freebsd.org Received: from kbtfw.kubota.co.jp (kbtfw.kubota.co.jp [133.253.102.202]) by hub.freebsd.org (Postfix) with ESMTP id E42C537B986 for ; Fri, 17 Mar 2000 03:06:02 -0800 (PST) (envelope-from haro@tk.kubota.co.jp) Received: by kbtfw.kubota.co.jp; id UAA18268; Fri, 17 Mar 2000 20:06:00 +0900 (JST) Received: from unknown(133.253.122.1) by kbtfw.kubota.co.jp via smap (V4.2) id xma018233; Fri, 17 Mar 00 20:05:51 +0900 Received: from jkpc15.tk.kubota.co.jp ([192.168.7.250]) by kbtmx.eto.kubota.co.jp (8.9.3+3.2W/3.7W) with ESMTP id UAA13331 for ; Fri, 17 Mar 2000 20:05:49 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by jkpc15.tk.kubota.co.jp (8.9.3/3.7W-02/21/99) with ESMTP id UAA03187 for ; Fri, 17 Mar 2000 20:03:38 +0900 (JST) To: freebsd-current@freebsd.org Subject: kernel compile error on PC-98 due to wd driver changes X-Mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000317200337Z.haro@tk.kubota.co.jp> Date: Fri, 17 Mar 2000 20:03:37 +0900 From: haro@tk.kubota.co.jp (Munehiro Matsuda) X-Dispatcher: imput version 990905(IM130) Lines: 49 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello After reorganisation of wd driver, compiling kernel on PC-98 fails with following error: # cd /usr/src/sys/compile/PC9821AS # make depend ..... ../../pc98/pc98/atapi.c:119: i386/isa/atapi.h: No such file or directory ../../pc98/pc98/wd.c:94: i386/isa/atapi.h: No such file or directory mkdep: compile failed *** Error code 1 Following fixes it: diff -ru sys/pc98/pc98.old/atapi.c sys/pc98/pc98/atapi.c --- sys/pc98/pc98.old/atapi.c Mon Dec 6 15:20:31 1999 +++ sys/pc98/pc98/atapi.c Fri Mar 17 19:55:50 2000 @@ -116,7 +116,7 @@ #include -#include +#include /* this code is compiled part of the module */ diff -ru sys/pc98/pc98.old/wd.c sys/pc98/pc98/wd.c --- sys/pc98/pc98.old/wd.c Wed Feb 23 08:12:29 2000 +++ sys/pc98/pc98/wd.c Fri Mar 17 19:56:08 2000 @@ -91,7 +91,7 @@ #include #include -#include +#include extern void wdstart(int ctrlr); Thank you, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Office of Business Planning & Development, Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103, Japan Tel: +81-3-3245-3318 Fax: +81-3-32454-3315 Email: haro@tk.kubota.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message