[ovs-discuss] Error compiling on Ubuntu 9.10

Huy Nguyen huy_nguyen at yahoo.com
Thu Nov 5 02:13:04 UTC 2009


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’



      




More information about the discuss mailing list