[FreeBSD 8/9] USB webcamd and video4bsd: Call for testing
[SEC=UNCLASSIFIED]
Hans Petter Selasky
hselasky at c2i.net
Tue Jan 19 15:30:40 UTC 2010
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
More information about the freebsd-current
mailing list