[ovs-discuss] Error compiling on Ubuntu 9.10

Justin Pettit jpettit at nicira.com
Wed Nov 4 18:18:02 PST 2009


Yes, this was fixed in the following patch:

	http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=43a6c464ef

The fix went into the master branch, while the 0.90.x releases are  
from "citrix".  The reason is that the "citrix" branch is considered  
stable for working against XenServer 5.5, which is based on the 2.6.18  
kernel.  You can grab a snapshot of this branch by going to the  
following link:

	http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=snapshot;sf=tgz

There has been a documentation clarification that hasn't been merged  
into master yet: you will need to run "./boot.sh" on sources pulled  
from Git before you run "./configure".

--Justin


On Nov 4, 2009, at 6:13 PM, Huy Nguyen wrote:

> Hi,
> Getting these errors compiling 0.90.6 against 2.6.31 kernel headers.
> It looks like net_device  has a new struct net_device_ops where  
> these fields are defined. Has this been fixed?
> Thanks,
>  Huy
>
> /work/src/openvswitch-0.90.6/datapath/linux-2.6/dp_dev.c: In  
> function ‘do_setup’:
> /work/src/openvswitch-0.90.6/datapath/linux-2.6/dp_dev.c:165: error:  
> ‘struct net_device’ has no member named ‘do_ioctl’
> /work/src/openvswitch-0.90.6/datapath/linux-2.6/dp_dev.c:166: error:  
> ‘struct net_device’ has no member named ‘get_stats’
> /work/src/openvswitch-0.90.6/datapath/linux-2.6/dp_dev.c:167: error:  
> ‘struct net_device’ has no member named ‘hard_start_xmit’
> /work/src/openvswitch-0.90.6/datapath/linux-2.6/dp_dev.c:168: error:  
> ‘struct net_device’ has no member named ‘open’
> /work/src/openvswitch-0.90.6/datapath/linux-2.6/dp_dev.c:170: error:  
> ‘struct net_device’ has no member named ‘stop’
> /work/src/openvswitch-0.90.6/datapath/linux-2.6/dp_dev.c:172: error:  
> ‘struct net_device’ has no member named ‘set_mac_address’
> /work/src/openvswitch-0.90.6/datapath/linux-2.6/dp_dev.c:173: error:  
> ‘struct net_device’ has no member named ‘change_mtu’
> /work/src/openvswitch-0.90.6/datapath/linux-2.6/dp_dev.c:174: error:  
> ‘struct net_device’ has no member named ‘init’
> /work/src/openvswitch-0.90.6/datapath/linux-2.6/dp_dev.c: In  
> function ‘is_dp_dev’:
> /work/src/openvswitch-0.90.6/datapath/linux-2.6/dp_dev.c:236: error:  
> ‘struct net_device’ has no member named ‘open’
>
>
>
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org





More information about the discuss mailing list