From owner-freebsd-current@FreeBSD.ORG Wed Mar 2 13:26:08 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A64616A4CE for ; Wed, 2 Mar 2005 13:26:08 +0000 (GMT) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.150.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F38143D49 for ; Wed, 2 Mar 2005 13:26:07 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 50BA54EFCD3; Wed, 2 Mar 2005 21:26:06 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 4833E4EFCCF; Wed, 2 Mar 2005 21:26:06 +0800 (CST) Date: Wed, 2 Mar 2005 21:26:06 +0800 (CST) From: Tai-hwa Liang To: wsk In-Reply-To: <4225BC15.3080706@gddsn.org.cn> Message-ID: <05030221253214.8619@www.mmlab.cse.yzu.edu.tw> References: <4225BC15.3080706@gddsn.org.cn> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: current@freebsd.org Subject: Re: buildkernel failed related to hptmv drv X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 13:26:08 -0000 Try this fix. diff -ru sys/dev/hptmv/entry.c /mnt/mfs/hptmv/entry.c --- sys/dev/hptmv/entry.c Mon Feb 28 14:02:16 2005 +++ /mnt/mfs/hptmv/entry.c Wed Mar 2 18:24:19 2005 @@ -44,7 +44,7 @@ #include #include #include -#include +#include #ifdef DEBUG #ifdef DEBUG_LEVEL diff -ru sys/dev/hptmv/global.h /mnt/mfs/hptmv/global.h --- sys/dev/hptmv/global.h Wed Jan 12 14:12:50 2005 +++ /mnt/mfs/hptmv/global.h Wed Mar 2 18:21:54 2005 @@ -29,8 +29,8 @@ #define _GLOBAL_H_ #include -#include -#include +#include +#include #define COMPANY "HighPoint Technologies, Inc." #define COPYRIGHT "(c) 2000-2004. HighPoint Technologies, Inc." @@ -203,11 +203,11 @@ UCHAR ptr##__buf[512]; \ type ptr=(type)ptr##__buf -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include int HPTLIBAPI fDeReadWrite(PDevice pDev, ULONG Lba, UCHAR Cmd, void *tmpBuffer); void HPTLIBAPI fDeSelectMode(PDevice pDev, UCHAR NewMode); diff -ru sys/dev/hptmv/gui_lib.c /mnt/mfs/hptmv/gui_lib.c --- sys/dev/hptmv/gui_lib.c Wed Mar 2 17:47:20 2005 +++ /mnt/mfs/hptmv/gui_lib.c Wed Mar 2 18:24:45 2005 @@ -45,7 +45,7 @@ #include #include #include -#include +#include static int hpt_get_driver_capabilities(PDRIVER_CAPABILITIES cap); static int hpt_get_controller_count(void); diff -ru sys/dev/hptmv/hptproc.c /mnt/mfs/hptmv/hptproc.c --- sys/dev/hptmv/hptproc.c Wed Mar 2 17:47:20 2005 +++ /mnt/mfs/hptmv/hptproc.c Wed Mar 2 18:24:47 2005 @@ -38,7 +38,7 @@ #include #include #include -#include +#include int hpt_rescan_all(void); diff -ru sys/dev/hptmv/ioctl.c /mnt/mfs/hptmv/ioctl.c --- sys/dev/hptmv/ioctl.c Wed Mar 2 17:47:20 2005 +++ /mnt/mfs/hptmv/ioctl.c Wed Mar 2 18:24:30 2005 @@ -36,7 +36,7 @@ #include #include #include -#include +#include #pragma pack(1) diff -ru sys/dev/hptmv/mvStorageDev.h /mnt/mfs/hptmv/mvStorageDev.h --- sys/dev/hptmv/mvStorageDev.h Wed Mar 2 17:47:20 2005 +++ /mnt/mfs/hptmv/mvStorageDev.h Wed Mar 2 18:24:01 2005 @@ -24,7 +24,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/sys/dev/hptmv/mvStorageDev.h,v 1.2 2005/03/02 05:14:27 scottl Exp $ - * + */ #ifndef __INCmvStorageDevh #define __INCmvStorageDevh -- Cheers, Tai-hwa Liang On Wed, 2 Mar 2005, wsk wrote: > whild building kernel , it failed with under errors.It maybe > related to Scott Long commit the hpmtv src > ===> hme (depend) > ===> hptmv (depend) > rm -f .depend > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ > -I@/contrib/altq -I@/../include -I/usr/src/sys/i386/compile/LP > /usr/src/sys/modules/hptmv/../../dev/hptmv/mv.c > /usr/src/sys/modules/hptmv/../../dev/hptmv/entry.c > /usr/src/sys/modules/hptmv/../../dev/hptmv/ioctl.c > /usr/src/sys/modules/hptmv/../../dev/hptmv/hptproc.c > /usr/src/sys/modules/hptmv/../../dev/hptmv/gui_lib.c > In file included from /usr/src/sys/modules/hptmv/../../dev/hptmv/mv.c:36: > @/dev/hptmv/global.h:32:38: contrib/dev/hptmv/mvSata.h: No such file or > directory > @/dev/hptmv/global.h:33:44: contrib/dev/hptmv/mvStorageDev.h: No such > file or directory > @/dev/hptmv/global.h:206:37: contrib/dev/hptmv/atapi.h: No such file or > directory > @/dev/hptmv/global.h:207:39: contrib/dev/hptmv/command.h: No such file > or directory > @/dev/hptmv/global.h:208:37: contrib/dev/hptmv/array.h: No such file or > directory > @/dev/hptmv/global.h:209:38: contrib/dev/hptmv/raid5n.h: No such file or > directory > @/dev/hptmv/global.h:210:39: contrib/dev/hptmv/vdevice.h: No such file > or directory > In file included from /usr/src/sys/modules/hptmv/../../dev/hptmv/entry.c:44: > @/dev/hptmv/global.h:32:38: contrib/dev/hptmv/mvSata.h: No such file or > directory > @/dev/hptmv/global.h:33:44: contrib/dev/hptmv/mvStorageDev.h: No such > file or directory > @/dev/hptmv/global.h:206:37: contrib/dev/hptmv/atapi.h: No such file or > directory > @/dev/hptmv/global.h:207:39: contrib/dev/hptmv/command.h: No such file > or directory > @/dev/hptmv/global.h:208:37: contrib/dev/hptmv/array.h: No such file or > directory > @/dev/hptmv/global.h:209:38: contrib/dev/hptmv/raid5n.h: No such file or > directory > @/dev/hptmv/global.h:210:39: contrib/dev/hptmv/vdevice.h: No such file > or directory > /usr/src/sys/modules/hptmv/../../dev/hptmv/entry.c:47:41: > contrib/dev/hptmv/access601.h: No such file or directory > In file included from /usr/src/sys/modules/hptmv/../../dev/hptmv/ioctl.c:36: > @/dev/hptmv/global.h:32:38: contrib/dev/hptmv/mvSata.h: No such file or > directory > @/dev/hptmv/global.h:33:44: contrib/dev/hptmv/mvStorageDev.h: No such > file or directory > @/dev/hptmv/global.h:206:37: contrib/dev/hptmv/atapi.h: No such file or > directory > @/dev/hptmv/global.h:207:39: contrib/dev/hptmv/command.h: No such file > or directory > @/dev/hptmv/global.h:208:37: contrib/dev/hptmv/array.h: No such file or > directory > @/dev/hptmv/global.h:209:38: contrib/dev/hptmv/raid5n.h: No such file or > directory > @/dev/hptmv/global.h:210:39: contrib/dev/hptmv/vdevice.h: No such file > or directory > /usr/src/sys/modules/hptmv/../../dev/hptmv/ioctl.c:39:41: > contrib/dev/hptmv/access601.h: No such file or directory > In file included from > /usr/src/sys/modules/hptmv/../../dev/hptmv/hptproc.c:38: > @/dev/hptmv/global.h:32:38: contrib/dev/hptmv/mvSata.h: No such file or > directory > @/dev/hptmv/global.h:33:44: contrib/dev/hptmv/mvStorageDev.h: No such > file or directory > @/dev/hptmv/global.h:206:37: contrib/dev/hptmv/atapi.h: No such file or > directory > @/dev/hptmv/global.h:207:39: contrib/dev/hptmv/command.h: No such file > or directory > @/dev/hptmv/global.h:208:37: contrib/dev/hptmv/array.h: No such file or > directory > @/dev/hptmv/global.h:209:38: contrib/dev/hptmv/raid5n.h: No such file or > directory > @/dev/hptmv/global.h:210:39: contrib/dev/hptmv/vdevice.h: No such file > or directory > /usr/src/sys/modules/hptmv/../../dev/hptmv/hptproc.c:41:41: > contrib/dev/hptmv/access601.h: No such file or directory > In file included from > /usr/src/sys/modules/hptmv/../../dev/hptmv/gui_lib.c:45: > @/dev/hptmv/global.h:32:38: contrib/dev/hptmv/mvSata.h: No such file or > directory > @/dev/hptmv/global.h:33:44: contrib/dev/hptmv/mvStorageDev.h: No such > file or directory > @/dev/hptmv/global.h:206:37: contrib/dev/hptmv/atapi.h: No such file or > directory > @/dev/hptmv/global.h:207:39: contrib/dev/hptmv/command.h: No such file > or directory > @/dev/hptmv/global.h:208:37: contrib/dev/hptmv/array.h: No such file or > directory > @/dev/hptmv/global.h:209:38: contrib/dev/hptmv/raid5n.h: No such file or > directory > @/dev/hptmv/global.h:210:39: contrib/dev/hptmv/vdevice.h: No such file > or directory > /usr/src/sys/modules/hptmv/../../dev/hptmv/gui_lib.c:48:41: > contrib/dev/hptmv/access601.h: No such file or directory > mkdep: compile failed > *** Error code 1 > > Stop in /usr/src/sys/modules/hptmv. > *** Error code 1 > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >