From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 2 13:13:03 2009 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 465CA1065672 for ; Tue, 2 Jun 2009 13:13:03 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.swip.net [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id D2E598FC1C for ; Tue, 2 Jun 2009 13:13:02 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=UVsXOa8ue38A:10 a=FbYV3LkVdecA:10 a=2hVqYoY_oK64SiGY47kA:9 a=bLiiTtsgU7k7uNBnMaAA:7 a=igmzhVg947LiLLZUbePjmKyDPg8A:4 Received: from [81.191.55.181] (account mc467741@c2i.net HELO [10.36.2.158]) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1081970553; Tue, 02 Jun 2009 15:13:00 +0200 From: Hans Petter Selasky To: Nicolas Date: Tue, 2 Jun 2009 15:17:09 +0200 User-Agent: KMail/1.9.7 References: <4A24F849.80204@wanadoo.fr> <200906021425.55635.hselasky@c2i.net> <4A2521C3.3050502@wanadoo.fr> In-Reply-To: <4A2521C3.3050502@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906021517.09787.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: USB webcam++ support for FreeBSD-8-current is soon here 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: Tue, 02 Jun 2009 13:13:03 -0000 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