[ovs-dev] Bug#710125: openvswitch: unable to compile kernel module with linux-3.8

Maciej Galkiewicz maciej.galkiewicz at gmail.com
Tue May 28 13:56:48 UTC 2013


Package: openvswitch
Version: 1.4.2+git20120612-9
Severity: important

# dkms install -m openvswitch -v 1.4.2+git20120612 -k 3.8-2-amd64

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....(bad exit status: 2)
../configure --with-linux='/lib/modules/3.8-2-amd64/build' && make -C
datapath/linux.....(bad exit status: 1)
Error! Bad return status for module build on kernel: 3.8-2-amd64 (x86_64)
Consult /var/lib/dkms/openvswitch/1.4.2+git20120612/build/make.log for more
information.

# cat /var/lib/dkms/openvswitch/1.4.2+git20120612/build/make.log
DKMS make.log for openvswitch-1.4.2+git20120612 for kernel 3.8-2-amd64 (x86_64)
Tue May 28 15:49:45 CEST 2013
checking build number... none
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for grep that handles long lines and -e... /bin/grep
checking for fgrep... /bin/grep -F
checking for perl... /usr/bin/perl
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for library containing pow... -lm
checking for library containing clock_gettime... -lrt
checking for library containing timer_create... none required
checking for linux/netlink.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SSL... yes
checking for Python 2.x for x >= 4... /usr/bin/python
checking for pyuic4... no
checking for PySide.QtCore Python module... no
checking for PyQt4.QtCore Python module... no
checking for twisted.conch.ssh Python module... yes
checking for twisted.internet Python module... yes
checking for twisted.application Python module... yes
checking for json Python module... yes
checking for zope.interface Python module... yes
checking whether to build ovsdbmonitor... no
checking for dot... no
checking net/if_packet.h usability... yes
checking net/if_packet.h presence... yes
checking for net/if_packet.h... yes
checking whether strtok_r macro segfaults on some inputs... no
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct stat.st_mtimensec... no
checking for mlockall... yes
checking for strnlen... yes
checking for strsignal... yes
checking for getloadavg... yes
checking for statvfs... yes
checking for setmntent... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for backtrace... yes
checking whether libc supports hooks for malloc and related functions... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking for connect in -lsocket... no
checking for library containing gethostbyname... none required
checking for user-defined linker section support... yes
checking XenServer release... none
checking for groff... yes
checking whether gcc accepts -Wall... yes
checking whether gcc accepts -Wno-sign-compare... yes
checking whether gcc accepts -Wpointer-arith... yes
checking whether gcc accepts -Wdeclaration-after-statement... yes
checking whether gcc accepts -Wformat-security... yes
checking whether gcc accepts -Wswitch-enum... yes
checking whether gcc accepts -Wunused-parameter... yes
checking whether gcc accepts -Wstrict-aliasing... yes
checking whether gcc accepts -Wbad-function-cast... yes
checking whether gcc accepts -Wcast-align... yes
checking whether gcc accepts -Wstrict-prototypes... yes
checking whether gcc accepts -Wold-style-definition... yes
checking whether gcc accepts -Wmissing-prototypes... yes
checking whether gcc accepts -Wmissing-field-initializers... yes
checking whether gcc accepts -Wno-override-init... yes
checking whether gcc accepts -Wno-unused... yes
checking whether gcc accepts -Wno-unused-parameter... yes
checking target hint for cgcc... x86_64
checking whether make has GNU make $(if) extension... yes
checking for Linux build directory... /lib/modules/3.8-2-amd64/build
checking for Linux source directory... /usr/src/linux-headers-3.8-2-common
checking for kernel version... 3.8.13
configure: error: Linux kernel source in /lib/modules/3.8-2-amd64/build is not
configured

# dpkg -l | grep ' linux-'
ii  linux-base                            3.5                        all
Linux image base package
ii  linux-headers-3.2.0-4-amd64           3.2.41-2+deb7u2            amd64
Header files for Linux 3.2.0-4-amd64
ii  linux-headers-3.2.0-4-common          3.2.41-2+deb7u2            amd64
Common header files for Linux 3.2.0-4
ii  linux-headers-3.8-2-amd64             3.8.13-1                   amd64
Header files for Linux 3.8-2-amd64
ii  linux-headers-3.8-2-common            3.8.13-1                   amd64
Common header files for Linux 3.8-2
ii  linux-headers-amd64                   3.2+46                     amd64
Header files for Linux amd64 configuration (meta-package)
ii  linux-image-2.6-amd64                 3.2+46                     amd64
Linux for 64-bit PCs (dummy package)
ii  linux-image-2.6.32-5-amd64            2.6.32-46                  amd64
Linux 2.6.32 for 64-bit PCs
ii  linux-image-3.2.0-4-amd64             3.2.41-2+deb7u2            amd64
Linux 3.2 for 64-bit PCs
ii  linux-image-3.8-2-amd64               3.8.13-1                   amd64
Linux 3.8 for 64-bit PCs
ii  linux-image-amd64                     3.2+46                     amd64
Linux for 64-bit PCs (meta-package)
ii  linux-kbuild-3.2                      3.2.17-1                   amd64
Kbuild infrastructure for Linux 3.2
ii  linux-kbuild-3.8                      3.8.11-1                   amd64
Kbuild infrastructure for Linux 3.8
ii  linux-libc-dev:amd64                  3.2.41-2+deb7u2            amd64
Linux support headers for userspace development
ii  linux-source-3.8                      3.8.13-1                   all
Linux kernel source for version 3.8 with Debian patches



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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



More information about the dev mailing list