USB webcam++ support for FreeBSD-8-current is soon here

Hans Petter Selasky hselasky at c2i.net
Tue Jun 2 13:13:03 UTC 2009


On Tuesday 02 June 2009, Nicolas wrote:
> Ok, i rename the struc in /usr/src/lib/libusb/libusb20_int.h
>
> And it does not compile:
>
> localhost# make
> cc -O2 -pipe -march=prescott -std=gnu99 -fstack-protector  -c
> /usr/src/lib/libusb/libusb20_ugen20.c
> /usr/src/lib/libusb/libusb20_ugen20.c:896: error: conflicting types for
> 'ugen20_dev_get_info'
> /usr/src/lib/libusb/libusb20_ugen20.c:54: error: previous declaration of
> 'ugen20_dev_get_info' was here
> *** Error code 1
>
> What's else to modify ?
> Nicolas.
>
> > Just rename it to "usb2_device_info" and it should compile.
> >
> > --HPS

You need to change both the header file and the .c file so that the typedef is 
the same like the implementation function.

--HPS


More information about the freebsd-multimedia mailing list