Hi Dongsheng, Thank you very much for your reply!
The build directory seems not empty. This is what I used to verify: openvswitch-1.4.1$ uname -r 2.6.32-37-generic openvswitch-1.4.1$ ls -la /lib/modules/2.6.32-37-generic/build/ total 772 drwxr-xr-x 7 root root 4096 2012-03-14 14:42 . drwxrwsr-x 12 root src 4096 2012-03-14 14:43 .. drwxr-xr-x 3 root root 4096 2012-03-14 14:42 arch lrwxrwxrwx 1 root root 32 2012-03-14 14:42 block -> ../linux-headers-2.6.32-37/block -rw-r--r-- 1 root root 110589 2011-12-03 05:23 .config lrwxrwxrwx 1 root root 33 2012-03-14 14:42 crypto -> ../linux-headers-2.6.32-37/crypto lrwxrwxrwx 1 root root 40 2012-03-14 14:42 Documentation -> ../linux-headers-2.6.32-37/Documentation lrwxrwxrwx 1 root root 34 2012-03-14 14:42 drivers -> ../linux-headers-2.6.32-37/drivers lrwxrwxrwx 1 root root 35 2012-03-14 14:42 firmware -> ../linux-headers-2.6.32-37/firmware lrwxrwxrwx 1 root root 29 2012-03-14 14:42 fs -> ../linux-headers-2.6.32-37/fs drwxr-xr-x 5 root root 4096 2012-03-14 14:42 include lrwxrwxrwx 1 root root 31 2012-03-14 14:42 init -> ../linux-headers-2.6.32-37/init lrwxrwxrwx 1 root root 30 2012-03-14 14:42 ipc -> ../linux-headers-2.6.32-37/ipc lrwxrwxrwx 1 root root 33 2012-03-14 14:42 Kbuild -> ../linux-headers-2.6.32-37/Kbuild drwxr-xr-x 2 root root 4096 2012-03-14 14:42 kernel lrwxrwxrwx 1 root root 30 2012-03-14 14:42 lib -> ../linux-headers-2.6.32-37/lib lrwxrwxrwx 1 root root 35 2012-03-14 14:42 Makefile -> ../linux-headers-2.6.32-37/Makefile -rw-r--r-- 1 root root 488 2011-12-03 05:23 .missing-syscalls.d lrwxrwxrwx 1 root root 29 2012-03-14 14:42 mm -> ../linux-headers-2.6.32-37/mm -rw-r--r-- 1 root root 646700 2011-12-03 05:23 Module.symvers lrwxrwxrwx 1 root root 30 2012-03-14 14:42 net -> ../linux-headers-2.6.32-37/net lrwxrwxrwx 1 root root 34 2012-03-14 14:42 samples -> ../linux-headers-2.6.32-37/samples drwxr-xr-x 7 root root 4096 2012-03-14 14:42 scripts lrwxrwxrwx 1 root root 35 2012-03-14 14:42 security -> ../linux-headers-2.6.32-37/security lrwxrwxrwx 1 root root 32 2012-03-14 14:42 sound -> ../linux-headers-2.6.32-37/sound lrwxrwxrwx 1 root root 26 2012-03-14 14:42 source -> /build/buildd/linux-2.6.32 drwxr-xr-x 2 root root 4096 2011-12-03 05:23 .tmp_versions lrwxrwxrwx 1 root root 32 2012-03-14 14:42 tools -> ../linux-headers-2.6.32-37/tools lrwxrwxrwx 1 root root 33 2012-03-14 14:42 ubuntu -> ../linux-headers-2.6.32-37/ubuntu lrwxrwxrwx 1 root root 30 2012-03-14 14:42 usr -> ../linux-headers-2.6.32-37/usr lrwxrwxrwx 1 root root 31 2012-03-14 14:42 virt -> ../linux-headers-2.6.32-37/virt I was running openvswitch 1.1 on the system, which was previously installed by someone else. Now I would like to upgrade to 1.4.1, and trying to install it myself. As I do not yet have much experience on system installation, I guess I must have made some dumb mistakes. I really appreciate your help! Thanks! Yimin On Fri, May 18, 2012 at 10:22 AM, Dongsheng Song <[email protected]> wrote: > On Fri, May 18, 2012 at 9:59 AM, YIMIN CHEN <[email protected]> wrote: >> Hi, >> openvswitch-1.4.1$ ./configure --with-linux=/lib/modules/`uname >> -r`/build <== Is this step wrong? > > Please confirm you have installed the linux-headers package, is the directory > 'b/modules/`uname -r`/build/' empty ? > > apt-get install linux-headers-`uname -r` > dpkg -S /usr/src/linux-headers-`uname -r`/Makefile > dpkg -S /lib/modules/`uname -r`/build _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
