FYI: v4l-linuxulator support in FreeBSD-current now

Matthias Apitz guru at unixarea.de
Sat Jan 9 07:13:08 UTC 2010


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 at 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 at unixarea.de> - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu


More information about the freebsd-emulation mailing list