From owner-freebsd-current@FreeBSD.ORG Wed Sep 3 03:03:24 2003 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 1E2ED16A4BF for ; Wed, 3 Sep 2003 03:03:24 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6659044001 for ; Wed, 3 Sep 2003 03:03:23 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.9/8.12.9) with ESMTP id h83A34r1039057; Wed, 3 Sep 2003 03:03:08 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <200309031003.h83A34r1039057@gw.catspoiler.org> Date: Wed, 3 Sep 2003 03:03:04 -0700 (PDT) From: Don Lewis To: mbretter@jawa.at In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: "Kenneth D. Merry" cc: current@FreeBSD.org Subject: Re: make buildworld errors (libcam) 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, 03 Sep 2003 10:03:24 -0000 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 #include #include +#ifdef _KERNEL #include +#endif /* _KERNEL */ #include