From owner-freebsd-multimedia@FreeBSD.ORG Sat Feb 3 12:15:15 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9095F16A413 for ; Sat, 3 Feb 2007 12:15:15 +0000 (UTC) (envelope-from kk_q@msn.com) Received: from bay0-omc1-s10.bay0.hotmail.com (bay0-omc1-s10.bay0.hotmail.com [65.54.246.82]) by mx1.freebsd.org (Postfix) with ESMTP id 9096613C4AC for ; Sat, 3 Feb 2007 12:15:10 +0000 (UTC) (envelope-from kk_q@msn.com) Received: from hotmail.com ([65.54.229.14]) by bay0-omc1-s10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sat, 3 Feb 2007 04:15:10 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 3 Feb 2007 04:15:09 -0800 Message-ID: Received: from 65.54.229.220 by by110fd.bay110.hotmail.msn.com with HTTP; Sat, 03 Feb 2007 12:15:05 GMT X-Originating-IP: [222.216.125.236] X-Originating-Email: [kk_q@msn.com] X-Sender: kk_q@msn.com In-Reply-To: <20070203012927.A6510@xorpc.icir.org> From: "yang yang" To: freebsd-multimedia@freebsd.org Date: Sat, 03 Feb 2007 20:15:05 +0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 03 Feb 2007 12:15:09.0906 (UTC) FILETIME=[F2DF4320:01C7478C] Subject: Re: Luigi Rizzo's webcam pkg compile error X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 12:15:15 -0000 >... > > 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/