[ovs-dev] Bug#651798: Fails to build against Linux 3.1

Ben Hutchings ben at decadent.org.uk
Mon Dec 12 08:00:25 UTC 2011

Package: openvswitch-datapath-source
Version: 1.2.2-2
Severity: grave

This module fails to build against Linux 3.1:

make[3]: Entering directory `/usr/src/linux-headers-3.1.0-1-amd64'
/usr/src/linux-headers-3.1.0-1-common/arch/x86/Makefile:81: stack protector enabled but no compiler support
  CC [M]  /usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux/genetlink-brcompat.o
  CC [M]  /usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux/brcompat.o
  CC [M]  /usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux/actions.o
  CC [M]  /usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux/checksum.o
  CC [M]  /usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux/datapath.o
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux/datapath.c:58:2: error: #error Kernels before 2.6.18 or after 3.0 are not supported by this version of Open vSwitch.
make[6]: *** [/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux/datapath.o] Error 1
make[5]: *** [_module_/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux] Error 2
make[4]: *** [sub-make] Error 2
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-3.1.0-1-amd64'

Since a version of Open vSwitch has been accepted for inclusion in
mainline Linux 3.3, perhaps it could be included in Debian kernel
packages starting with Linux 3.2 and then this binary package could be
removed.  However I don't know whether the mainline version is fully-


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openvswitch-datapath-source depends on:
ii  bzip2             1.0.6-1
ii  debhelper         8.9.11 
ii  module-assistant  0.11.4 

openvswitch-datapath-source recommends no packages.

Versions of packages openvswitch-datapath-source suggests:
pn  openvswitch-switch  <none>

-- no debconf information

More information about the dev mailing list