Hi,
I run Ubuntu 18.04 64 bit with kernel version 4.15.0-29-generic.
I was trying to install the package openvswitch-datapath-dkms and it failed
with below error. Can anyone inspect the below logs and point me in the
correct direction.
Unpacking openvswitch-datapath-dkms (2.9.2-1) over (2.9.2-1) ...
Setting up openvswitch-datapath-dkms (2.9.2-1) ...
Creating symlink /var/lib/dkms/openvswitch/2.9.2/source ->
/usr/src/openvswitch-2.9.2
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...(bad exit status: 2)
./configure --with-linux='/lib/modules/4.15.0-29-generic/build' && make -C
datapath/linux............(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists:
'/var/crash/openvswitch-datapath-dkms.0.crash'
Error! Bad return status for module build on kernel: 4.15.0-29-generic
(x86_64)
Consult /var/lib/dkms/openvswitch/2.9.2/build/make.log for more information.
Then I found the below error in make.log.
make -C /lib/modules/4.15.0-29-generic/build
M=/var/lib/dkms/openvswitch/2.9.2/build/datapath/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-29-generic'
CC [M] /var/lib/dkms/openvswitch/2.9.2/build/datapath/linux/actions.o
In file included from ./include/linux/compiler_types.h:58:0,
checking for sys/from ././include/linux/kconfig.h:74,
checking for stdlfrom <command-line>:0:
/var/lib/dkms/openvswitch/2.9.2/build/datapath/linux/compat/include/linux/compiler-gcc.h:3:2:
error: #error "Please don't include <linux/compiler-gcc.h> directly,
include <linux/compiler.h> instead."for memory.h... yes
#error "Please don't include <linux/compiler-gcc.h> directly, include
<linux/compiler.h> instead."
^~~~~g for inttypes.h... yes
scripts/Makefile.build:332: recipe for target
'/var/lib/dkms/openvswitch/2.9.2/build/datapath/linux/actions.o' failed
make[2]: ***
[/var/lib/dkms/openvswitch/2.9.2/build/datapath/linux/actions.o] Error 1
Makefile:1552: recipe for target
'_module_/var/lib/dkms/openvswitch/2.9.2/build/datapath/linux' failed
make[1]: *** [_module_/var/lib/dkms/openvswitch/2.9.2/build/datapath/linux]
Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-29-generic'
Makefile.main:71: recipe for target 'default' failed... yes
make: *** [default] Error 2ing is bigendian... no
make: Leaving directory
'/var/lib/dkms/openvswitch/2.9.2/build/datapath/linux'
Thank you,
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss