Date: Sat, 03 Feb 2007 20:15:05 +0800 From: "yang yang" <kk_q@msn.com> To: freebsd-multimedia@freebsd.org Subject: Re: Luigi Rizzo's webcam pkg compile error Message-ID: <BAY110-F4E6FD43BC436B0234411DEB9A0@phx.gbl> In-Reply-To: <20070203012927.A6510@xorpc.icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>... > > 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY110-F4E6FD43BC436B0234411DEB9A0>
