[ovs-discuss] How to solve the build error for kernel module

Koichi Yagishita yagishita.koichi at jrc.co.jp
Tue Jan 18 06:34:05 UTC 2011

Dear all,

Could anyone teach me how to solve the build error for kernel module below?
I applied source acquired from git tree today.
I have confirmed that, build after running the configure script
without any arguments is OK.

./configure --with-l26=/lib/modules/`uname -r`/build

[Build Error Log]
error: redefinition of ‘csum_replace4’
include/net/checksum.h:93: error: previous definition of
‘csum_replace4’ was here
make[5]: *** [/home/yagi/workspace/open_vswitch/openvswitch/datapath/linux-2.6/genetlink-brcompat.o]
Error 1
make[4]: *** [_module_/home/yagi/workspace/open_vswitch/openvswitch/datapath/linux-2.6]
Error 2
make[4]: Leaving directory `/usr/src/kernels/2.6.18-194.32.1.el5-i686'
make[3]: *** [default] Error 2
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yagi/workspace/open_vswitch/openvswitch'
make: *** [all] Error 2Regards,


More information about the discuss mailing list