[ovs-discuss] problem report

Cain NG cain.ng83 at gmail.com
Sat Oct 30 12:18:01 UTC 2010


Hi,

When I tried to build the Linux kernel module using "./configure
--with-126=/lib/modules/`uname -r`/build", I cannot build the kernel module
as shown as the attached message (like configure: error: Linux kernel source
in /lib/modules/2.6.18-164.el5xen/build is not configured), so please help,
thanks!

B.R.
Cain.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20101030/e9839eda/attachment-0001.html>
-------------- next part --------------
[root at servera openvswitch-1.0.1]# ./configure --with-l26=/lib/modules/`uname -r`/build
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... gawk
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 perl... /usr/bin/perl
checking for grep that handles long lines and -e... /bin/grep
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... 64
checking for library containing pow... -lm
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 ncurses5-config... no
checking for ncurses8-config... no
checking for library containing tgetent... -lncurses
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking linux/vt.h usability... yes
checking linux/vt.h presence... yes
checking for linux/vt.h... yes
checking for PCRE... no
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... no
checking for twisted.internet Python module... no
checking for twisted.application Python module... no
checking for json Python module... no
checking for zope.interface Python module... no
checking whether to build ovsdbmonitor... 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... yes
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct stat.st_mtimensec... no
checking for mlockall... 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 directory used for serial device lockfiles... /var/lock
checking for connect in -lsocket... no
checking for library containing gethostbyname... none required
checking for strsignal... 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... no
checking whether gcc accepts -Wno-unused... yes
checking for Linux 2.6 build directory... /lib/modules/2.6.18-164.el5xen/build
checking for Linux 2.6 source directory... configure: error: cannot find source directory
[root at servera openvswitch-1.0.1]# ./configure --with-l26=/lib/modules/`uname -r`/build
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... gawk
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 perl... /usr/bin/perl
checking for grep that handles long lines and -e... /bin/grep
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... 64
checking for library containing pow... -lm
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 ncurses5-config... no
checking for ncurses8-config... no
checking for library containing tgetent... -lncurses
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking linux/vt.h usability... yes
checking linux/vt.h presence... yes
checking for linux/vt.h... yes
checking for PCRE... no
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... no
checking for twisted.internet Python module... no
checking for twisted.application Python module... no
checking for json Python module... no
checking for zope.interface Python module... no
checking whether to build ovsdbmonitor... 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... yes
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct stat.st_mtimensec... no
checking for mlockall... 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 directory used for serial device lockfiles... /var/lock
checking for connect in -lsocket... no
checking for library containing gethostbyname... none required
checking for strsignal... 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... no
checking whether gcc accepts -Wno-unused... yes
checking for Linux 2.6 build directory... /lib/modules/2.6.18-164.el5xen/build
checking for Linux 2.6 source directory... /lib/modules/2.6.18-164.el5xen/build
checking for kernel version... 2.6.18
configure: error: Linux kernel source in /lib/modules/2.6.18-164.el5xen/build is not configured
[root at servera openvswitch-1.0.1]# ./configure --with-l26=/lib/modules/`uname -r`/build
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... gawk
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 perl... /usr/bin/perl
checking for grep that handles long lines and -e... /bin/grep
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... 64
checking for library containing pow... -lm
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 ncurses5-config... no
checking for ncurses8-config... no
checking for library containing tgetent... -lncurses
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking linux/vt.h usability... yes
checking linux/vt.h presence... yes
checking for linux/vt.h... yes
checking for PCRE... no
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... no
checking for twisted.internet Python module... no
checking for twisted.application Python module... no
checking for json Python module... no
checking for zope.interface Python module... no
checking whether to build ovsdbmonitor... 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... yes
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct stat.st_mtimensec... no
checking for mlockall... 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 directory used for serial device lockfiles... /var/lock
checking for connect in -lsocket... no
checking for library containing gethostbyname... none required
checking for strsignal... 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... no
checking whether gcc accepts -Wno-unused... yes
checking for Linux 2.6 build directory... /lib/modules/2.6.18-164.el5xen/build
checking for Linux 2.6 source directory... /lib/modules/2.6.18-164.el5xen/build
checking for kernel version... 2.6.18
configure: error: Linux kernel source in /lib/modules/2.6.18-164.el5xen/build is not configured
[root at servera openvswitch-1.0.1]# uname -r
2.6.18-164.el5xen


More information about the discuss mailing list