openvswitch-datapath-dkms 1.4.6-0ubuntu1.12.04.4: openvswitch kernel module failed to build [error: conflicting types for ‘genl_notify’]

Bug #1418442 reported by Krishna Pandey
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openvswitch (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Trying to get OpenVSwitch working. module-assistant keeps on failing with below error:

include/net/genetlink.h:176:6: note: previous declaration of ‘genl_notify’
 │ was here
 │ make[4]: ***
 │ [/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux/genetlin
 │ k-brcompat.o] Error 1
 │ make[3]: ***
 │ [_module_/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux]
 │ Error 2
 │ make[3]: Leaving directory `/usr/src/linux-headers-3.13.0-45-generic'
 │ make[2]: *** [default] Error 2
 │ make[2]: Leaving directory
 │ `/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux'
 │ make[1]: *** [binary-modules] Error 2
 │ make[1]: Leaving directory `/usr/src/modules/openvswitch-datapath'
 │ make: *** [kdist_build] Error 2

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: openvswitch-datapath-dkms 1.4.6-0ubuntu1.12.04.4
ProcVersionSignature: Ubuntu 3.13.0-45.74~precise1-generic 3.13.11-ckt13
Uname: Linux 3.13.0-45-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.8
Architecture: amd64
DKMSKernelVersion: 3.13.0-45-generic
Date: Thu Feb 5 20:48:45 2015
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
MarkForUpload: True
PackageArchitecture: all
PackageVersion: 1.4.6-0ubuntu1.12.04.4
SourcePackage: openvswitch
Title: openvswitch-datapath-dkms 1.4.6-0ubuntu1.12.04.4: openvswitch kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Krishna Pandey (krish-pandey21) wrote :
tags: removed: need-duplicate-check
summary: openvswitch-datapath-dkms 1.4.6-0ubuntu1.12.04.4: openvswitch kernel
- module failed to build
+ module failed to build [error: conflicting types for ‘genl_notify’]
Revision history for this message
James Page (james-page) wrote :

As you are using the 3.13 kernel, there really is no need to use the DKMS module as the kernel provides all of the function required in its ovs module in-tree.

Take a read of https://javacruft.wordpress.com/2014/03/03/which-open-vswitch/

Changed in openvswitch (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.