From owner-freebsd-usb@FreeBSD.ORG Mon Jun 18 06:36:27 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D6DA16A421 for ; Mon, 18 Jun 2007 06:36:27 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id D7EF913C4AE for ; Mon, 18 Jun 2007 06:36:26 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.lan) by mailfe04.swip.net (CommuniGate Pro SMTP 5.1.9) with ESMTPA id 521120508; Mon, 18 Jun 2007 08:36:25 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 18 Jun 2007 08:36:22 +0200 User-Agent: KMail/1.9.5 References: <467379C5.4020109@dobrohot.org> In-Reply-To: <467379C5.4020109@dobrohot.org> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706180836.22090.hselasky@c2i.net> Cc: Subject: Re: buildworld RELENG_6 with new USB stack X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2007 06:36:27 -0000 Hi, The "usbd" utility has been replaced by "devd". I will add a patch to the installer to clean this file. Just: rm /usr/src/usr.sbin/usbd/usbd.c touch /usr/src/usr.sbin/usbd/usbd.c echo "int main() { return 0; }" > /usr/src/usr.sbin/usbd/usbd.c Then try buildworld again. --HPS On Saturday 16 June 2007 07:48, Andrew Muhametshin wrote: > Hello > > It is impossible to buildworld with a new USB stack. > > > ================ > 1. > Update(csup RELENG_6) /usr/src in 2007-06-16 05:21 > > 2. > $ svn --username anonsvn --password anonsvn \ > checkout svn://svn.turbocat.net/i4b > <...> > Checked out revision 516. > > $cd i4b/trunk/i4b/FreeBSD.usb > $ make S=../src package > <...> > > $ make install > <...> > > 3. > cd /usr/src > make buildworld > <...>skip<...> > ===> usr.sbin/usbd (all) > cc -O2 -fno-strict-aliasing -pipe -march=athlon-mp -c > /usr/src/usr.sbin/usbd/usbd.c > /usr/src/usr.sbin/usbd/usbd.c:116: error: `USB_EVENT_CTRLR_ATTACH' > undeclared here (not in a function) > /usr/src/usr.sbin/usbd/usbd.c:116: error: initializer element is not > constant > /usr/src/usr.sbin/usbd/usbd.c:116: error: (near initialization for > `event_names[0].type') > /usr/src/usr.sbin/usbd/usbd.c:116: error: initializer element is not > constant > /usr/src/usr.sbin/usbd/usbd.c:116: error: (near initialization for > `event_names[0]') > /usr/src/usr.sbin/usbd/usbd.c:117: error: `USB_EVENT_CTRLR_DETACH' > undeclared here (not in a function) > /usr/src/usr.sbin/usbd/usbd.c:117: error: initializer element is not > constant > /usr/src/usr.sbin/usbd/usbd.c:117: error: (near initialization for > `event_names[1].type') > /usr/src/usr.sbin/usbd/usbd.c:117: error: initializer element is not > constant > /usr/src/usr.sbin/usbd/usbd.c:117: error: (near initialization for > `event_names[1]') > /usr/src/usr.sbin/usbd/usbd.c:118: error: `USB_EVENT_DRIVER_ATTACH' > undeclared here (not in a function) > /usr/src/usr.sbin/usbd/usbd.c:118: error: initializer element is not > constant > /usr/src/usr.sbin/usbd/usbd.c:118: error: (near initialization for > `event_names[2].type') > /usr/src/usr.sbin/usbd/usbd.c:118: error: initializer element is not > constant > /usr/src/usr.sbin/usbd/usbd.c:118: error: (near initialization for > `event_names[2]') > /usr/src/usr.sbin/usbd/usbd.c:119: error: `USB_EVENT_DRIVER_DETACH' > undeclared here (not in a function) > /usr/src/usr.sbin/usbd/usbd.c:119: error: initializer element is not > constant > /usr/src/usr.sbin/usbd/usbd.c:119: error: (near initialization for > `event_names[3].type') > /usr/src/usr.sbin/usbd/usbd.c:119: error: initializer element is not > constant > /usr/src/usr.sbin/usbd/usbd.c:119: error: (near initialization for > `event_names[3]') > /usr/src/usr.sbin/usbd/usbd.c:120: error: `USB_EVENT_DEVICE_ATTACH' > undeclared here (not in a function) > /usr/src/usr.sbin/usbd/usbd.c:120: error: initializer element is not > constant > /usr/src/usr.sbin/usbd/usbd.c:120: error: (near initialization for > `event_names[4].type') > /usr/src/usr.sbin/usbd/usbd.c:120: error: initializer element is not > constant > /usr/src/usr.sbin/usbd/usbd.c:120: error: (near initialization for > `event_names[4]') > /usr/src/usr.sbin/usbd/usbd.c:121: error: `USB_EVENT_DEVICE_DETACH' > undeclared here (not in a function) > /usr/src/usr.sbin/usbd/usbd.c:121: error: initializer element is not > constant > /usr/src/usr.sbin/usbd/usbd.c:121: error: (near initialization for > `event_names[5].type') > /usr/src/usr.sbin/usbd/usbd.c:121: error: initializer element is not > constant > /usr/src/usr.sbin/usbd/usbd.c:121: error: (near initialization for > `event_names[5]') > /usr/src/usr.sbin/usbd/usbd.c:122: error: initializer element is not > constant > /usr/src/usr.sbin/usbd/usbd.c:122: error: (near initialization for > `event_names[6]') > /usr/src/usr.sbin/usbd/usbd.c:208: warning: "struct usb_event" declared > inside parameter list > /usr/src/usr.sbin/usbd/usbd.c:208: warning: its scope is only this > definition or declaration, which is probably not what you want > /usr/src/usr.sbin/usbd/usbd.c:567: warning: "struct usb_event" declared > inside parameter list > /usr/src/usr.sbin/usbd/usbd.c:568: error: conflicting types for > 'print_event' > /usr/src/usr.sbin/usbd/usbd.c:208: error: previous declaration of > 'print_event' was here > /usr/src/usr.sbin/usbd/usbd.c:568: error: conflicting types for > 'print_event' > /usr/src/usr.sbin/usbd/usbd.c:208: error: previous declaration of > 'print_event' was here > /usr/src/usr.sbin/usbd/usbd.c: In function `print_event': > /usr/src/usr.sbin/usbd/usbd.c:570: error: dereferencing pointer to > incomplete type > /usr/src/usr.sbin/usbd/usbd.c:571: error: dereferencing pointer to > incomplete type > /usr/src/usr.sbin/usbd/usbd.c:575: error: dereferencing pointer to > incomplete type > /usr/src/usr.sbin/usbd/usbd.c:581: error: dereferencing pointer to > incomplete type > /usr/src/usr.sbin/usbd/usbd.c:583: error: dereferencing pointer to > incomplete type > /usr/src/usr.sbin/usbd/usbd.c:584: error: dereferencing pointer to > incomplete type > /usr/src/usr.sbin/usbd/usbd.c:585: error: dereferencing pointer to > incomplete type > /usr/src/usr.sbin/usbd/usbd.c:609: error: dereferencing pointer to > incomplete type > /usr/src/usr.sbin/usbd/usbd.c:610: error: dereferencing pointer to > incomplete type > /usr/src/usr.sbin/usbd/usbd.c:611: error: dereferencing pointer to > incomplete type > /usr/src/usr.sbin/usbd/usbd.c:612: error: dereferencing pointer to > incomplete type > /usr/src/usr.sbin/usbd/usbd.c:613: error: dereferencing pointer to > incomplete type > /usr/src/usr.sbin/usbd/usbd.c:615: error: dereferencing pointer to > incomplete type > /usr/src/usr.sbin/usbd/usbd.c:616: error: dereferencing pointer to > incomplete type > /usr/src/usr.sbin/usbd/usbd.c: In function `process_event_queue': > /usr/src/usr.sbin/usbd/usbd.c:847: error: storage size of 'events' isn't > known > /usr/src/usr.sbin/usbd/usbd.c:852: error: storage size of 'the_event' > isn't known > *** Error code 1 > > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"