Ah! Thanks, Justin!

I reran "./boot.sh" (after a make distclean) and that got me past the
configure errors. Since I'm compiling OVS for kernel v3.1.0, I made a small
change in datapath/linux/datapath.c -- changed line 57 to:
"LINUX_VERSION_CODE > KERNEL_VERSION(3,1,0)"

Now "make" gives me the following errors:
/home/nikhilh/openvswitch/datapath/linux/tunnel.c: In function
‘check_cache_valid’:
/home/nikhilh/openvswitch/datapath/linux/tunnel.c:844: error: ‘struct
dst_entry’ has no member named ‘hh’
/home/nikhilh/openvswitch/datapath/linux/tunnel.c: In function
‘create_eth_hdr’:
/home/nikhilh/openvswitch/datapath/linux/tunnel.c:879: error: ‘const struct
dst_entry’ has no member named ‘hh’
/home/nikhilh/openvswitch/datapath/linux/tunnel.c:880: error: ‘const struct
dst_entry’ has no member named ‘hh’
/home/nikhilh/openvswitch/datapath/linux/tunnel.c:886: error: ‘const struct
dst_entry’ has no member named ‘hh’
/home/nikhilh/openvswitch/datapath/linux/tunnel.c:887: error: ‘const struct
dst_entry’ has no member named ‘hh’
/home/nikhilh/openvswitch/datapath/linux/tunnel.c:888: error: ‘const struct
dst_entry’ has no member named ‘hh’
/home/nikhilh/openvswitch/datapath/linux/tunnel.c: In function
‘build_cache’:
/home/nikhilh/openvswitch/datapath/linux/tunnel.c:914: error: ‘struct
dst_entry’ has no member named ‘hh’
/home/nikhilh/openvswitch/datapath/linux/tunnel.c:930: error: ‘struct
dst_entry’ has no member named ‘hh’
/home/nikhilh/openvswitch/datapath/linux/tunnel.c:940: error: ‘struct
dst_entry’ has no member named ‘hh’
/home/nikhilh/openvswitch/datapath/linux/tunnel.c: In function ‘tnl_send’:
/home/nikhilh/openvswitch/datapath/linux/tunnel.c:1270: error: ‘struct
dst_entry’ has no member named ‘hh’

Any suggestions on how to fix this?

Thanks,
Nikhil


On Tue, Sep 6, 2011 at 12:41 AM, Justin Pettit <jpet...@nicira.com> wrote:

> I assume you're doing this from git, right?  Have you run "./boot.sh"
> lately?
>
> --Justin
>
>
> On Sep 6, 2011, at 12:17 AM, Nikhil Handigol wrote:
>
> > I tried compiling on kernel 3.1.0-rc4:
> > ./configure --with-linux=/usr/src/linux-headers-`uname -r`
> >
> > I got the following error:
> > configure: creating ./config.status
> > config.status: creating Makefile
> > config.status: creating datapath/Makefile
> > config.status: error: cannot find input file:
> `datapath/linux-2.6/Kbuild.in'
> >
> >
> > Am I doing something wrong?
> >
> > -/\/
> >
> >
> > On Tue, Sep 6, 2011 at 12:12 AM, Justin Pettit <jpet...@nicira.com>
> wrote:
> > Both of these changes have been available since the 1.2.0 release of Open
> vSwitch.
> >
> > --Justin
> >
> >
> > On Sep 6, 2011, at 12:04 AM, Nikhil Handigol wrote:
> >
> > > Hi Ben,
> > >
> > > Where can I find the patches?
> > >
> > > Thanks,
> > > Nikhil
> > >
> > >
> > > On Wed, Jun 22, 2011 at 10:23 AM, Ben Pfaff <b...@nicira.com> wrote:
> > > On Mon, Jun 20, 2011 at 02:29:49PM -0700, Andrew Evans wrote:
> > > > I think a proper fix would be to rename the '--with-l26' configure
> option to
> > > > '--with-linux' and change the configure-time kernel version check to
> allow
> > > > 2.6.x or 3.x.
> > >
> > > I sent out patches for this.
> > > _______________________________________________
> > > discuss mailing list
> > > discuss@openvswitch.org
> > > http://openvswitch.org/mailman/listinfo/discuss
> > >
> >
> >
>
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to