Hello guys,
I have a question. I know that the kernel 2.6.39-400.210.2.el6uek.x86_64
(Oracle Linux kernel) has Open vSwitch built-in (or at least a modified
version of Open vSwitch), but I would like to install Open vSwitch from
source on in it.
The problem I ran into is as follows:
I configured the project with:
`./configure --prefix=/
--with-linux=/usr/src/kernels/2.6.39-400.210.2.el6uek.x86_64/`
and everything went ok.
Then I tried to build it with make. Here's the output:
[root@sl57-186 openvswitch-svn]# make
make all-recursive
make[1]: Entering directory `/work/workspace/openvswitch-svn'
Making all in datapath
make[2]: Entering directory `/work/workspace/openvswitch-svn/datapath'
Making all in linux
make[3]: Entering directory `/work/workspace/openvswitch-svn/datapath/linux'
make -C /usr/src/kernels/2.6.39-400.210.2.el6uek.x86_64/
M=/work/workspace/openvswitch-svn/datapath/linux modules
make[4]: Entering directory
`/home/andreiandone/rpmbuild/BUILDROOT/kernel-uek-2.6.39-400.210.2.el6uek.x86_64/usr/src/kernels/2.6.39-400.210.2.el6uek.x86_64'
CC [M] /work/workspace/openvswitch-svn/datapath/linux/actions.o
In file included from include/net/sock.h:50,
from
/work/workspace/openvswitch-svn/datapath/linux/compat/include/net/sock.h:4,
from include/linux/tcp.h:210,
from
/work/workspace/openvswitch-svn/datapath/linux/compat/include/linux/tcp.h:4,
from
/work/workspace/openvswitch-svn/datapath/linux/actions.c:26:
/work/workspace/openvswitch-svn/datapath/linux/compat/include/linux/netdevice.h:180:
error: redefinition of typedef 'netdev_features_t'
include/linux/netdevice.h:985: note: previous declaration of
'netdev_features_t' was here
make[5]: *** [/work/workspace/openvswitch-svn/datapath/linux/actions.o]
Error 1
make[4]: *** [_module_/work/workspace/openvswitch-svn/datapath/linux]
Error 2
make[4]: Leaving directory
`/home/andreiandone/rpmbuild/BUILDROOT/kernel-uek-2.6.39-400.210.2.el6uek.x86_64/usr/src/kernels/2.6.39-400.210.2.el6uek.x86_64'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/work/workspace/openvswitch-svn/datapath/linux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/work/workspace/openvswitch-svn/datapath'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/work/workspace/openvswitch-svn'
make: *** [all] Error 2
[root@sl57-186 openvswitch-svn]#
So is there any way I can compile Open vSwitch with this kernel?
Or is there any other solution?
Thanks,
Andrei
--
Andrei Andone
SOFTVISION
Email: andrei.and...@softvision.ro <mailto:andrei.and...@softvision.ro>
| Web: www.softvision.ro <http://www.softvision.ro>
The content of this communication is classified as SOFTVISION
Confidential and Proprietary Information.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss