[ovs-discuss] Installing OVS 1.7.1 on SLES 10.1

Arindam Choudhury arindamchoudhury0 at gmail.com
Mon Nov 26 11:56:40 UTC 2012


Hi,

I am trying to install ovs 1.7.1 on SLES 10.1 (kernel 2.6.32.60, make 3.80,
gcc 4.1.2). I am getting the following errors:

openvswitch-1.7.1> make
make  all-recursive
make[1]: Entering directory `/home/arindam/Desktop/openvswitch-1.7.1'
Making all in datapath
make[2]: Entering directory
`/home/arindam/Desktop/openvswitch-1.7.1/datapath'
Making all in linux
make[3]: Entering directory
`/home/arindam/Desktop/openvswitch-1.7.1/datapath/li nux'
make -C /lib/modules/2.6.32.60-PAPI-KVM/build
M=/home/arindam/Desktop/openvswitc h-1.7.1/datapath/linux modules
make[4]: Entering directory
`/usr/src/packages/BUILD/kernel-2.6.32.60PAPIKVM'
  CC [M]
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/genetlink-brcom pat.o
In file included from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from include/linux/textsearch.h:7,
                 from include/linux/skbuff.h:27,
                 from
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/com
pat/include/linux/skbuff.h:4,
                 from
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/com
pat/include/linux/netlink.h:4,
                 from
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/com
pat/include/net/genetlink.h:5,
                 from
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/com
pat/genetlink.inc:3,
                 from
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/gen
etlink-brcompat.c:10:
include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or
directory
include/linux/mmzone.h:258:5: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from include/linux/textsearch.h:7,
                 from include/linux/skbuff.h:27,
                 from
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/com
pat/include/linux/skbuff.h:4,
                 from
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/com
pat/include/linux/netlink.h:4,
                 from
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/com
pat/include/net/genetlink.h:5,
                 from
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/com
pat/genetlink.inc:3,
                 from
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/gen
etlink-brcompat.c:10:
include/linux/mmzone.h:307: error: ‘MAX_NR_ZONES’ undeclared here (not
in a func tion)
In file included from include/linux/scatterlist.h:6,
                 from include/linux/dma-mapping.h:7,
                 from include/linux/dmaengine.h:26,
                 from include/linux/skbuff.h:30,
                 from
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/com
pat/include/linux/skbuff.h:4,
                 from
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/com
pat/include/linux/netlink.h:4,
                 from
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/com
pat/include/net/genetlink.h:5,
                 from
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/com
pat/genetlink.inc:3,
                 from
/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/gen
etlink-brcompat.c:10:
include/linux/mm.h:458:63: warning: "NR_PAGEFLAGS" is not defined
include/linux/mm.h:506:62: warning: "NR_PAGEFLAGS" is not defined
make[5]: ***
[/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux/genetlink-b
rcompat.o] Error 1
make[4]: ***
[_module_/home/arindam/Desktop/openvswitch-1.7.1/datapath/linux] Er ror 2
make[4]: Leaving directory `/usr/src/packages/BUILD/kernel-2.6.32.60PAPIKVM'
make[3]: *** [default] Error 2
make[3]: Leaving directory
`/home/arindam/Desktop/openvswitch-1.7.1/datapath/lin ux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/arindam/Desktop/openvswitch-1.7.1/datapath'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/arindam/Desktop/openvswitch-1.7.1'
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20121126/640a3da0/attachment.html>


More information about the discuss mailing list