From owner-freebsd-current@FreeBSD.ORG Tue Jan 19 15:30:40 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD78B106568F; Tue, 19 Jan 2010 15:30:40 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id C07E48FC15; Tue, 19 Jan 2010 15:30:38 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=9zKBo0zsyzYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=ldXBf-_B8ngLE07iZGMA:9 a=zuCo5EVPxe2ME6YR5X2INzG0KH0A:4 a=Zm-1vYCK5YE9VYxm:21 a=HhhIMW2kEs7IxnR4:21 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1359616748; Tue, 19 Jan 2010 16:30:36 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 19 Jan 2010 16:29:13 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001101437.37269.hselasky@c2i.net> <20100114090329.GH63408@citylink.fud.org.nz> <20100119091217.GR39820@stlux503.dsto.defence.gov.au> In-Reply-To: <20100119091217.GR39820@stlux503.dsto.defence.gov.au> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001191629.13323.hselasky@c2i.net> Cc: freebsd-current@freebsd.org, "Wilkinson, Alex" Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing [SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 19 Jan 2010 15:30:40 -0000 On Tuesday 19 January 2010 10:12:17 Wilkinson, Alex wrote: > 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/m > edia/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 Please check /etc/make.conf and replace any CFLAGS= with CFLAGS+= --HPS