make buildworld errors (libcam)
Don Lewis
truckman at FreeBSD.org
Wed Sep 3 03:03:24 PDT 2003
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>
More information about the freebsd-current
mailing list