From owner-freebsd-multimedia@FreeBSD.ORG Sat Feb 3 06:27:24 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 2907916A400 for ; Sat, 3 Feb 2007 06:27:24 +0000 (UTC) (envelope-from kk_q@msn.com) Received: from bay0-omc1-s32.bay0.hotmail.com (bay0-omc1-s32.bay0.hotmail.com [65.54.246.104]) by mx1.freebsd.org (Postfix) with ESMTP id 15C6013C461 for ; Sat, 3 Feb 2007 06:27:24 +0000 (UTC) (envelope-from kk_q@msn.com) Received: from hotmail.com ([65.54.229.14]) by bay0-omc1-s32.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Fri, 2 Feb 2007 22:15:24 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 2 Feb 2007 22:15:24 -0800 Message-ID: Received: from 65.54.229.220 by by110fd.bay110.hotmail.msn.com with HTTP; Sat, 03 Feb 2007 06:15:19 GMT X-Originating-IP: [222.216.125.236] X-Originating-Email: [kk_q@msn.com] X-Sender: kk_q@msn.com From: "yang yang" To: freebsd-multimedia@freebsd.org Date: Sat, 03 Feb 2007 14:15:19 +0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 03 Feb 2007 06:15:24.0039 (UTC) FILETIME=[B0B15970:01C7475A] Subject: 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 06:27:24 -0000 system architecture: AMD64 (athlon64 1800+) Operating System version: FreeBSD 6.2-RELEASE amd64 http://info.iet.unipi.it/~luigi/FreeBSD/linux_bsd_kld.html download linux-kld.20070130-full.tgz #cd gspcav1-20070110 # make "Makefile", line 30: Missing dependency operator "Makefile", line 35: Need an operator "Makefile", line 57: Need an operator make: fatal errors encountered -- cannot continue #make -f Makefile.kld 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/ldev_stub.c 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 'usbd_get_desc' @/dev/usb/usbdi_util.h:42: warning: previous declaration of 'usbd_get_desc' was here @/dev/usb/usbdi_util.h:44: warning: redundant redeclaration of 'usbd_get_config_desc' @/dev/usb/usbdi_util.h:44: warning: previous declaration of 'usbd_get_config_desc' was here @/dev/usb/usbdi_util.h:45: warning: redundant redeclaration of 'usbd_get_config_desc_full' @/dev/usb/usbdi_util.h:45: warning: previous declaration of 'usbd_get_config_desc_full' was here @/dev/usb/usbdi_util.h:47: warning: redundant redeclaration of 'usbd_get_device_desc' @/dev/usb/usbdi_util.h:47: warning: previous declaration of 'usbd_get_device_desc' was here @/dev/usb/usbdi_util.h:48: warning: redundant redeclaration of 'usbd_set_address' @/dev/usb/usbdi_util.h:48: warning: previous declaration of 'usbd_set_address' was here @/dev/usb/usbdi_util.h:50: warning: redundant redeclaration of 'usbd_get_port_status' @/dev/usb/usbdi_util.h:50: warning: previous declaration of 'usbd_get_port_status' was here @/dev/usb/usbdi_util.h:51: warning: redundant redeclaration of 'usbd_set_hub_feature' @/dev/usb/usbdi_util.h:51: warning: previous declaration of 'usbd_set_hub_feature' was here @/dev/usb/usbdi_util.h:52: warning: redundant redeclaration of 'usbd_clear_hub_feature' @/dev/usb/usbdi_util.h:52: warning: previous declaration of 'usbd_clear_hub_feature' was here @/dev/usb/usbdi_util.h:53: warning: redundant redeclaration of 'usbd_set_port_feature' @/dev/usb/usbdi_util.h:53: warning: previous declaration of 'usbd_set_port_feature' was here @/dev/usb/usbdi_util.h:54: warning: redundant redeclaration of 'usbd_clear_port_feature' @/dev/usb/usbdi_util.h:54: warning: previous declaration of 'usbd_clear_port_feature' was here @/dev/usb/usbdi_util.h:55: warning: redundant redeclaration of 'usbd_get_device_status' @/dev/usb/usbdi_util.h:55: warning: previous declaration of 'usbd_get_device_status' was here @/dev/usb/usbdi_util.h:56: warning: redundant redeclaration of 'usbd_get_hub_status' @/dev/usb/usbdi_util.h:56: warning: previous declaration of 'usbd_get_hub_status' was here @/dev/usb/usbdi_util.h:57: warning: redundant redeclaration of 'usbd_get_protocol' @/dev/usb/usbdi_util.h:57: warning: previous declaration of 'usbd_get_protocol' was here @/dev/usb/usbdi_util.h:58: warning: redundant redeclaration of 'usbd_set_protocol' @/dev/usb/usbdi_util.h:58: warning: previous declaration of 'usbd_set_protocol' was here @/dev/usb/usbdi_util.h:60: warning: redundant redeclaration of 'usbd_get_report_descriptor' @/dev/usb/usbdi_util.h:60: warning: previous declaration of 'usbd_get_report_descriptor' was here @/dev/usb/usbdi_util.h:61: warning: redundant redeclaration of 'usbd_get_hid_descriptor' @/dev/usb/usbdi_util.h:61: warning: previous declaration of 'usbd_get_hid_descriptor' was here @/dev/usb/usbdi_util.h:63: warning: redundant redeclaration of 'usbd_set_report' @/dev/usb/usbdi_util.h:63: warning: previous declaration of 'usbd_set_report' was here @/dev/usb/usbdi_util.h:65: warning: redundant redeclaration of 'usbd_set_report_async' @/dev/usb/usbdi_util.h:65: warning: previous declaration of 'usbd_set_report_async' was here @/dev/usb/usbdi_util.h:67: warning: redundant redeclaration of 'usbd_get_report' @/dev/usb/usbdi_util.h:67: warning: previous declaration of 'usbd_get_report' was here @/dev/usb/usbdi_util.h:68: warning: redundant redeclaration of 'usbd_set_idle' @/dev/usb/usbdi_util.h:68: warning: previous declaration of 'usbd_set_idle' was here @/dev/usb/usbdi_util.h:70: warning: redundant redeclaration of 'usbd_read_report_desc' @/dev/usb/usbdi_util.h:70: warning: previous declaration of 'usbd_read_report_desc' was here @/dev/usb/usbdi_util.h:71: warning: redundant redeclaration of 'usbd_get_config' @/dev/usb/usbdi_util.h:71: warning: previous declaration of 'usbd_get_config' was here @/dev/usb/usbdi_util.h:74: warning: redundant redeclaration of 'usbd_get_string_desc' @/dev/usb/usbdi_util.h:74: warning: previous declaration of 'usbd_get_string_desc' was here @/dev/usb/usbdi_util.h:75: warning: redundant redeclaration of 'usbd_delay_ms' @/dev/usb/usbdi_util.h:75: warning: previous declaration of 'usbd_delay_ms' was here @/dev/usb/usbdi_util.h:78: warning: redundant redeclaration of 'usbd_set_config_no' @/dev/usb/usbdi_util.h:78: warning: previous declaration of 'usbd_set_config_no' was here @/dev/usb/usbdi_util.h:79: warning: redundant redeclaration of 'usbd_set_config_index' @/dev/usb/usbdi_util.h:79: warning: previous declaration of 'usbd_set_config_index' was here @/dev/usb/usbdi_util.h:83: warning: redundant redeclaration of 'usbd_bulk_transfer' @/dev/usb/usbdi_util.h:83: warning: previous declaration of 'usbd_bulk_transfer' was here @/dev/usb/usbdi_util.h:87: warning: redundant redeclaration of 'usbd_intr_transfer' @/dev/usb/usbdi_util.h:87: warning: previous declaration of 'usbd_intr_transfer' was here @/dev/usb/usbdi_util.h:89: warning: redundant redeclaration of 'usb_detach_wait' @/dev/usb/usbdi_util.h:89: warning: previous declaration of 'usb_detach_wait' was here @/dev/usb/usbdi_util.h:90: warning: redundant redeclaration of 'usb_detach_wakeup' @/dev/usb/usbdi_util.h:90: warning: previous declaration of 'usb_detach_wakeup' was here @/dev/usb/usbdi_util.h:93: warning: redundant redeclaration of 'usb_find_desc' @/dev/usb/usbdi_util.h:93: warning: previous declaration of 'usb_find_desc' was here *** Error code 1 Stop in /tmp/gspcav1-20070110. # pkg_info | grep make gmake-3.81_1 GNU version of 'make' utility gnu-automake-1.9.6 GNU Standards-compliant Makefile generator (GNU unmodified) gpgme-1.1.2_1 A library to make access to GnuPG easier imake-6.9.0_1 Imake and other utilities from X.Org qmake-3.3.6 The build utility of the Qt project # pkg_info | grep gcc gcc-4.1.2_20070129 GNU Compiler Collection 4.1 use the modules have been compiled in tgz: #kldload gspca.ko or #kldload pwc.ko kldload: can't load ***.ko: Exec format error cat /var/log/messages kernel: kldload: Unsupported file layout last message repeated 3 times USB vendor and product id: kde kinfocenter output:VIA 0x0 0x0 ehci uhci dmesg output: uhci0: port 0xdc00-0xdc1f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe000-0xe01f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xe400-0xe41f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xe800-0xe81f irq 21 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xcffffd00-0xcffffdff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered Camera information use ports graphics/spcaview,it work,and no /dev/video0 # spca5shot -i USB SPCA5XX camera found. Type Vimicro Zc301P 0x301b [spca5xx_probe:8250] Camera type JPEG [zc3xx_config:530] Find Sensor HV7131R(c) and kde kinfocenter output: vid 0xac08 z-star microelectronics pid 0x301b zc0301 webcam _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/