From owner-freebsd-usb@FreeBSD.ORG Tue Jan 19 09:17:57 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 839711065670; Tue, 19 Jan 2010 09:17:57 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0C0158FC0A; Tue, 19 Jan 2010 09:17:56 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o0J9FHUC017438; Tue, 19 Jan 2010 19:45:17 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id ; Tue, 19 Jan 2010 19:47:55 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Tue, 19 Jan 2010 19:47:55 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Tue, 19 Jan 2010 17:17:52 +0800 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o0J9CInH041111; Tue, 19 Jan 2010 17:12:18 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o0J9CHSa041110; Tue, 19 Jan 2010 17:12:17 +0800 (WST) (envelope-from wilkinsa) Date: Tue, 19 Jan 2010 17:12:17 +0800 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Message-ID: <20100119091217.GR39820@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org References: <201001101437.37269.hselasky@c2i.net> <20100114072753.GJ80705@stlux503.dsto.defence.gov.au> <201001140924.47454.hselasky@c2i.net> <20100114084831.GL80705@stlux503.dsto.defence.gov.au> <20100114090329.GH63408@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20100114090329.GH63408@citylink.fud.org.nz> Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 19 Jan 2010 09:17:52.0282 (UTC) FILETIME=[46E667A0:01CA98E8] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17140.005 X-TM-AS-Result: No--6.468800-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Cc: Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing [SEC=UNCLASSIFIED] 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: Tue, 19 Jan 2010 09:17:57 -0000 0n Thu, Jan 14, 2010 at 10:03:29PM +1300, Andrew Thompson wrote: >On Thu, Jan 14, 2010 at 04:48:31PM +0800, Wilkinson, Alex wrote: >> >> 0n Thu, Jan 14, 2010 at 09:24:47AM +0100, Hans Petter Selasky wrote: >> >> >I think Andrew made a fixed port which you can test. >> >> Can you please point me in the direction to this ? > >I'l update the tarball tomorrow and send it out. Got these errors: [FreeBSD 9.0-CURRENT #0 r202270: Thu Jan 14 11:20:04 WST 2010] ===> Building for webcamd-0.1.0 Warning: Object directory not changed from original /usr/ports/multimedia/webcamd/work/webcamd-0.1.0 cc -O2 -pipe -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/v4l-dvb/linux/drivers/media/video/gspca -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/v4l-dvb/linux/include -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/v4l-dvb/linux -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0 -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/dummy -DCONFIG_VIDEO_V4L1_COMPAT -DHAVE_WEBCAMD -include webcamd_global.h -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -std=gnu99 -fstack-protector -c webcamd.c webcamd.c:37:23: error: video4bsd.h: No such file or directory webcamd.c:55: error: 'V4B_ALLOC_UNIT_MAX' undeclared here (not in a function) webcamd.c: In function 'main': webcamd.c:126: error: storage size of 'cmd' isn't known webcamd.c:176: error: 'V4B_DEVICES_MAX' undeclared (first use in this function) webcamd.c:176: error: (Each undeclared identifier is reported only once webcamd.c:176: error: for each function it appears in.) webcamd.c:206: error: 'V4B_IOCTL_GET_COMMAND' undeclared (first use in this function) webcamd.c:212: error: 'V4B_CMD_OPEN' undeclared (first use in this function) webcamd.c:223: error: 'V4B_IOCTL_SYNC_COMMAND' undeclared (first use in this function) webcamd.c:226: error: 'V4B_CMD_CLOSE' undeclared (first use in this function) webcamd.c:236: error: 'V4B_CMD_READ' undeclared (first use in this function) webcamd.c:244: error: 'V4B_CMD_WRITE' undeclared (first use in this function) webcamd.c:252: error: 'V4B_CMD_IOCTL' undeclared (first use in this function) webcamd.c:264: error: 'V4B_CMD_MMAP' undeclared (first use in this function) webcamd.c:126: warning: unused variable 'cmd' webcamd.c: In function 'copy_to_user': webcamd.c:299: error: variable 'cmd' has initializer but incomplete type webcamd.c:300: error: unknown field 'client_ptr' specified in initializer webcamd.c:300: warning: excess elements in struct initializer webcamd.c:300: warning: (near initialization for 'cmd') webcamd.c:301: error: unknown field 'peer_ptr' specified in initializer webcamd.c:301: warning: excess elements in struct initializer webcamd.c:301: warning: (near initialization for 'cmd') webcamd.c:302: error: unknown field 'length' specified in initializer webcamd.c:302: warning: excess elements in struct initializer webcamd.c:302: warning: (near initialization for 'cmd') webcamd.c:299: error: storage size of 'cmd' isn't known webcamd.c:306: error: 'V4B_IOCTL_WRITE_DATA' undeclared (first use in this function) webcamd.c:299: warning: unused variable 'cmd' webcamd.c: In function 'copy_from_user': webcamd.c:315: error: variable 'cmd' has initializer but incomplete type webcamd.c:316: error: unknown field 'client_ptr' specified in initializer webcamd.c:316: warning: excess elements in struct initializer webcamd.c:316: warning: (near initialization for 'cmd') webcamd.c:317: error: unknown field 'peer_ptr' specified in initializer webcamd.c:317: warning: excess elements in struct initializer webcamd.c:317: warning: (near initialization for 'cmd') webcamd.c:318: error: unknown field 'length' specified in initializer webcamd.c:318: warning: excess elements in struct initializer webcamd.c:318: warning: (near initialization for 'cmd') webcamd.c:315: error: storage size of 'cmd' isn't known webcamd.c:322: error: 'V4B_IOCTL_READ_DATA' undeclared (first use in this function) webcamd.c:315: warning: unused variable 'cmd' webcamd.c: In function 'set_mmap': webcamd.c:370: error: variable 'cmd' has initializer but incomplete type webcamd.c:370: warning: excess elements in struct initializer webcamd.c:370: warning: (near initialization for 'cmd') webcamd.c:370: warning: excess elements in struct initializer webcamd.c:370: warning: (near initialization for 'cmd') webcamd.c:370: error: storage size of 'cmd' isn't known webcamd.c:389: error: 'V4B_IOCTL_MAP_MEMORY' undeclared (first use in this function) webcamd.c:370: warning: unused variable 'cmd' webcamd.c: In function 'malloc_vm': webcamd.c:403: error: variable 'cmd' has initializer but incomplete type webcamd.c:403: warning: excess elements in struct initializer webcamd.c:403: warning: (near initialization for 'cmd') webcamd.c:403: warning: excess elements in struct initializer webcamd.c:403: warning: (near initialization for 'cmd') webcamd.c:403: error: storage size of 'cmd' isn't known webcamd.c:428: error: 'V4B_IOCTL_ALLOC_MEMORY' undeclared (first use in this function) webcamd.c:442: error: 'V4B_ALLOC_PAGES_MAX' undeclared (first use in this function) webcamd.c:446: error: 'V4B_IOCTL_FREE_MEMORY' undeclared (first use in this function) webcamd.c:403: warning: unused variable 'cmd' webcamd.c: In function 'free_vm': webcamd.c:466: error: variable 'cmd' has initializer but incomplete type webcamd.c:466: warning: excess elements in struct initializer webcamd.c:466: warning: (near initialization for 'cmd') webcamd.c:466: warning: excess elements in struct initializer webcamd.c:466: warning: (near initialization for 'cmd') webcamd.c:466: error: storage size of 'cmd' isn't known webcamd.c:483: error: 'V4B_IOCTL_FREE_MEMORY' undeclared (first use in this function) webcamd.c:466: warning: unused variable 'cmd' *** Error code 1 Stop in /usr/ports/multimedia/webcamd/work/webcamd-0.1.0. *** Error code 1 Stop in /usr/ports/multimedia/webcamd. Exit 1 -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email.