Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2010 08:12:57 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        "J.R. Oldroyd" <fbsd@opal.com>
Cc:        emulation@freebsd.org, Alexander Leidinger <Alexander@Leidinger.net>, multimedia@freebsd.org
Subject:   Re: FYI: v4l-linuxulator support in FreeBSD-current now
Message-ID:  <20100109071257.GA2520@current.Sisis.de>
In-Reply-To: <20100108113658.083917b2@shibato.opal.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 $
 */

#ifndef _NET_VNET_H_
#define _NET_VNET_H_

#include <net/if_var.h>

struct vnet_net {
        int                     _if_index;
        struct ifindex_entry *  _ifindex_table;
        struct ifnethead        _ifnet;
        struct ifgrouphead      _ifg_head;

        int                     _if_indexlim;
        struct knlist           _ifklist;

        struct rtstat           _rtstat;
        struct radix_node_head *_rt_tables[RT_MAXFIBS][AF_MAX+1];

which CVS revision your net/vnet.h has?

	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?20100109071257.GA2520>