Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2003 03:03:04 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        mbretter@jawa.at
Cc:        current@FreeBSD.org
Subject:   Re: make buildworld errors (libcam)
Message-ID:  <200309031003.h83A34r1039057@gw.catspoiler.org>
In-Reply-To: <Pine.WNT.4.56.0309031049430.2532@BRUTUS>

next in thread | previous in thread | raw e-mail | index | archive | help
On  3 Sep, Michael Bretterklieber wrote:
> Hi,
> 
> buildworld fails (cvsup some minutes ago):
> In file included from /usr/src/sys/cam/scsi/scsi_da.c:51:
> /usr/src/sys/sys/taskqueue.h:33:2: #error "no user-servicable parts
> inside"
> mkdep: compile failed

The following patch works for me:

Index: sys/cam/scsi/scsi_da.c
===================================================================
RCS file: /home/ncvs/src/sys/cam/scsi/scsi_da.c,v
retrieving revision 1.157
diff -u -r1.157 scsi_da.c
--- sys/cam/scsi/scsi_da.c	3 Sep 2003 04:46:28 -0000	1.157
+++ sys/cam/scsi/scsi_da.c	3 Sep 2003 07:35:54 -0000
@@ -48,7 +48,9 @@
 #include <sys/eventhandler.h>
 #include <sys/malloc.h>
 #include <sys/cons.h>
+#ifdef _KERNEL
 #include <sys/taskqueue.h>
+#endif /* _KERNEL */
 
 #include <machine/md_var.h>
 



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