Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2000 20:03:37 +0900
From:      haro@tk.kubota.co.jp (Munehiro Matsuda)
To:        freebsd-current@freebsd.org
Subject:   kernel compile error on PC-98 due to wd driver changes
Message-ID:  <20000317200337Z.haro@tk.kubota.co.jp>

next in thread | raw e-mail | index | archive | help
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 <machine/clock.h>
 
-#include <i386/isa/atapi.h>
+#include <pc98/pc98/atapi.h>
 
 /* 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 <vm/vm.h>
 #include <vm/pmap.h>
 
-#include <i386/isa/atapi.h>
+#include <pc98/pc98/atapi.h>
 
 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




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