Luigi Rizzo's webcam pkg compile error

yang yang kk_q at msn.com
Sat Feb 3 12:15:15 UTC 2007


>...
> > In file included from linux_compat/linux/usb.h:44,
> >                  from linux_compat/ldev_stub.h:77,
> >                  from /tmp/gspcav1-20070110/linux_compat/ldev_stub.c:44:
> > @/dev/usb/usbdi_util.h:42: warning: redundant redeclaration of
>
>see the web page - you can either set WERROR= (leave it empty) in
>the Makefile.kld, or upgrade usbdi_util.h (the newer version
>has protection against nested includes).

After cvsup the  src/sys to releng stable 6,  no warnings in usbdi_util.h.
and now another error:
cc -O -pipe -march=athlon64 -DUSB_DEBUG -DGSPCA_ENABLE_DEBUG 
-DGSPCA_ENABLE_COMPRESSION -DCONFIG_USB_GSPCA_MODULE=1 -D__KERNEL__ 
-DVID_HARDWARE_GSPCA=0xFF -DGSPCA_VERSION=\"01.00.12\" -DDRIVER_NAME=gspca 
-DDEV_NAME=\"video\" -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-  -ISunplus 
-ISunplus-jpeg -ISonix -IConexant -IVimicro -Idecoder -Ilinux_compat -I. -I@ 
-I@/contrib/altq -I/usr/include -finline-limit=8000 -fno-common  
-fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse 
-mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables 
-ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99 -c 
/tmp/gspcav1-20070110/linux_compat/linux_compat.c
/tmp/gspcav1-20070110/linux_compat/linux_compat.c: In function 
`usb_buffer_alloc':
/tmp/gspcav1-20070110/linux_compat/linux_compat.c:481: warning: int format, 
different type arg (arg 5)
/tmp/gspcav1-20070110/linux_compat/linux_compat.c: In function 
`usb_buffer_free':
/tmp/gspcav1-20070110/linux_compat/linux_compat.c:490: warning: cast to 
pointer from integer of different size
/tmp/gspcav1-20070110/linux_compat/linux_compat.c: In function 
`usb_free_urb':
/tmp/gspcav1-20070110/linux_compat/linux_compat.c:536: warning: cast to 
pointer from integer of different size
/tmp/gspcav1-20070110/linux_compat/linux_compat.c: In function 
`usb_submit_urb':
/tmp/gspcav1-20070110/linux_compat/linux_compat.c:628: warning: cast to 
pointer from integer of different size
/tmp/gspcav1-20070110/linux_compat/linux_compat.c:636: warning: cast to 
pointer from integer of different size
*** Error code 1

Stop in /tmp/gspcav1-20070110.

thx your gspca+pwcbsd

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



More information about the freebsd-multimedia mailing list