Date: Sat, 9 Jan 2010 10:07:58 +0100 From: Matthias Apitz <guru@unixarea.de> To: "J.R. Oldroyd" <fbsd@opal.com>, emulation@freebsd.org, Alexander Leidinger <Alexander@Leidinger.net>, multimedia@freebsd.org Subject: Re: FYI: v4l-linuxulator support in FreeBSD-current now Message-ID: <20100109090758.GA3046@current.Sisis.de> In-Reply-To: <20100109071257.GA2520@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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <guru@unixarea.de> 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 <net/if.h> #include <net/if_dl.h> #include <net/if_types.h> #include <net/route.h> #include <net/vnet.h> while the V4L compat/linux/linux_ioctl.c does only include #include <net/if.h> #include <net/if_dl.h> #include <net/if_types.h> #include <net/vnet.h> 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 <guru@unixarea.de> - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100109090758.GA3046>