From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 9 09:08:00 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDC891065672; Sat, 9 Jan 2010 09:08:00 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms4-1.1blu.de (ms4-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 5A5158FC0C; Sat, 9 Jan 2010 09:08:00 +0000 (UTC) Received: from [93.104.118.100] (helo=current.Sisis.de) by ms4-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1NTXIb-00052H-Sg; Sat, 09 Jan 2010 10:07:58 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o0997x1M003073; Sat, 9 Jan 2010 10:07:59 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o0997wf4003072; Sat, 9 Jan 2010 10:07:58 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Sat, 9 Jan 2010 10:07:58 +0100 From: Matthias Apitz To: "J.R. Oldroyd" , emulation@freebsd.org, Alexander Leidinger , multimedia@freebsd.org Message-ID: <20100109090758.GA3046@current.Sisis.de> References: <20091204223126.00005392@unknown> <20091205140927.2b47e0f3@shibato.opal.com> <20100108153856.GA2752@current.Sisis.de> <20100108104103.0ec0761a@shibato.opal.com> <20100108160305.GA36119@current.Sisis.de> <20100108113658.083917b2@shibato.opal.com> <20100109071257.GA2520@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100109071257.GA2520@current.Sisis.de> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 93.104.118.100 Cc: Subject: Re: FYI: v4l-linuxulator support in FreeBSD-current now X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 09:08:01 -0000 El día Saturday, January 09, 2010 a las 08:12:57AM +0100, Matthias Apitz escribió: > El día Friday, January 08, 2010 a las 11:36:58AM -0500, J.R. Oldroyd escribió: > > > On Fri, 8 Jan 2010 17:03:05 +0100, Matthias Apitz wrote: > > > > > > Thanks, > > > > > > but compiling the kernel fails with: > > > > > > ... > > > In file included from > > > /usr/src/sys/modules/linux/../../compat/linux/linux_ioctl. > > > c:66: > > > @/net/vnet.h:47: error: field '_rtstat' has incomplete type > > > @/net/vnet.h:48: error: 'RT_MAXFIBS' undeclared here (not in a function) > > > @/net/vnet.h:64: error: expected ')' before 'sizeof' > > > > > > the kernel sources are a CVS checkout of 8-CURRENT from May, 28 2009. > > > > > > Any idea? > > > > > > matthias > > > > > > > There is no reference to _rtstat or RT_MAXFIBS in net/vnet.h > > on my system. Lines 47/48 in my vnet.h are part of a comment. > > mine reads: > > * $FreeBSD: src/sys/net/vnet.h,v 1.10 2009/05/23 21:43:44 zec Exp $ > */ > ... I digged into this and the problem is that the original compat/linux/linux_ioctl.c includes from net/*.h ... #include #include #include #include #include while the V4L compat/linux/linux_ioctl.c does only include #include #include #include #include and exactly net/route.h contains the definition of RT_MAXFIBS required by net/vnet.h; will see if I can fix this... matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu