Hi Dongsheng,

I ran make twice as suggested. And now the module is built! Thank you
so much! What was the trick of doing make twice?

Output from 2nd make:
----------------------------------
make
make  all-recursive
make[1]: Entering directory `/home/jason1/ymchen/openvswitch-1.4.1'
Making all in datapath
make[2]: Entering directory `/home/jason1/ymchen/openvswitch-1.4.1/datapath'
Making all in linux
make[3]: Entering directory
`/home/jason1/ymchen/openvswitch-1.4.1/datapath/linux'
make -C /usr/src/linux-headers-2.6.32-37-generic
M=/home/jason1/ymchen/openvswitch-1.4.1/datapath/linux modules
make[4]: Entering directory `/usr/src/linux-headers-2.6.32-37-generic'
  Building modules, stage 2.
  MODPOST 2 modules
make[4]: Leaving directory `/usr/src/linux-headers-2.6.32-37-generic'
make[3]: Leaving directory
`/home/jason1/ymchen/openvswitch-1.4.1/datapath/linux'
make[3]: Entering directory `/home/jason1/ymchen/openvswitch-1.4.1/datapath'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/jason1/ymchen/openvswitch-1.4.1/datapath'
make[2]: Leaving directory `/home/jason1/ymchen/openvswitch-1.4.1/datapath'
make[2]: Entering directory `/home/jason1/ymchen/openvswitch-1.4.1'
make[2]: Leaving directory `/home/jason1/ymchen/openvswitch-1.4.1'
make[1]: Leaving directory `/home/jason1/ymchen/openvswitch-1.4.1'

---------------------
output from ls:
---------------------
ls -la datapath/linux/openvswitch_mod.ko
-rw-r--r-- 1 ymchen ymchen 4750297 2012-05-18 11:08
datapath/linux/openvswitch_mod.ko


Thanks,
Yimin

On Fri, May 18, 2012 at 11:07 AM, Dongsheng Song
<[email protected]> wrote:
> On Fri, May 18, 2012 at 10:58 AM, YIMIN CHEN <[email protected]> wrote:
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating datapath/Makefile
>> config.status: creating datapath/linux/Kbuild
>> config.status: creating datapath/linux/Makefile
>> config.status: creating datapath/linux/Makefile.main
>
> Looks fine. Please run make 2 times, then post the second output.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to