make buildworld errors (libcam)

2003-09-03 Thread Michael Bretterklieber
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

bye,
--
--- --
Michael Bretterklieber  - http://www.bretterklieber.com
A-Quadrat Automation GmbH   - http://www.a-quadrat.at
Tel: ++43-(0)3172-41679 - GSM: ++43-(0)699 12861847
--- --
...the number of UNIX installations has grown to 10, with more
expected... - Dennis Ritchie and Ken Thompson, June 1972

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildworld errors (libcam)

2003-09-03 Thread Don Lewis
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 -   1.157
+++ sys/cam/scsi/scsi_da.c  3 Sep 2003 07:35:54 -
@@ -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
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildworld errors (libcam)

2003-09-03 Thread Michael Bretterklieber
Hi,

On Wed, 3 Sep 2003, Don Lewis wrote:

 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.c3 Sep 2003 04:46:28 -   1.157
 +++ sys/cam/scsi/scsi_da.c3 Sep 2003 07:35:54 -
 @@ -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
for me too :-)

thanx,
bye,
--
--- --
Michael Bretterklieber  - http://www.bretterklieber.com
A-Quadrat Automation GmbH   - http://www.a-quadrat.at
Tel: ++43-(0)3172-41679 - GSM: ++43-(0)699 12861847
--- --
...the number of UNIX installations has grown to 10, with more
expected... - Dennis Ritchie and Ken Thompson, June 1972

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildworld errors (libcam)

2003-09-03 Thread Kenneth D. Merry
On Wed, Sep 03, 2003 at 03:03:04 -0700, Don Lewis wrote:
 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:

Ack!  Sorry about that!  Pass the pointy hat...

It's fixed now.

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]