[ovs-discuss] Compile ovs for Andriod
liuyq7809 at gmail.com
Wed Jan 26 20:35:33 UTC 2011
The motivation of installing ovs on Andriod is to easily control multiple
interfaces (e.g, wifi and 3G). So far we have found out that wifi can
appear as an eth0 interface, and 3G can appear as a ppp-based interface, for
example in Nexus One Phone, the name of the interface is rmnet0.
Do you think ovs can handle these two interfaces?
BTW, i have cross compiled the openvswitch_mod.ko module for Android by a
run configure without cross_compile, and then modify the Makefile in
datapath/linux-2.6 to add cross compile variables, and then run make in that
directory, and then i can get the cross compiled kernel module and it can be
installed on android.
It seems ok, and this is a snapshot on my phone:
<3>[105110.598785] init: sys_prop: permission denied uid:2000
<4>[105178.558044] Open vSwitch 1.0.3, built Jan 24 2011 19:24:35
openvswitch_mod 62905 0 - Live 0xbf211000
tiwlan_drv 660205 0 - Live 0xbf14f000
stp 1266 0 - Live 0xbf135000
llc 3143 1 stp, Live 0xbf12e000
So i wonder how can test the module with the minimal cost?
2011/1/26 Ben Pfaff <blp at nicira.com>
> On Wed, Jan 26, 2011 at 11:31:59AM -0800, Yongqiang Liu wrote:
> > checking whether the C compiler works... no
> > configure: error: in `/home/leo/android/kernel/openvswitch':
> > configure: error: C compiler cannot create executables
> > See `config.log' for more details.
> > Attached please find my config.log.
> > Does anyone has ideas to solve the problem ?
> Your compiler doesn't work. You need to find a compiler that does work.
> Here is the relevant part of config.log:
> configure:3129: checking whether the C compiler works
> conftest.c >&5
> crt0.o: No such file: No such file or directory
> > And another question is for running ovs on android, which version of ovs
> > best for this?
> I doubt that it makes sense to run OVS on Android at all. Do any
> Android devices have more than one Ethernet port? Do any Android
> devices support virtualization? If the answer to both is "no" then I
> don't know what OVS would be good for on Android.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss