[ovs-discuss] Compile ovs for Andriod
Ben Pfaff
blp at nicira.com
Fri Jun 7 20:36:07 UTC 2013
Please do not drop the mailing list.
Open vSwitch 1.1.0pre2 was released in September 2010. The most
recently released version is 1.10.0, released last month. I doubt
that you would be satisfied with version 1.1.0pre2, even if you can
get it to work, so I doubt that the work required to make it compile
would be worthwhile.
I don't know of a recent port to Android. Have you tried building it?
On Fri, Jun 07, 2013 at 08:28:32PM +0000, Uddin, Mostafa Abdulla wrote:
> Hello Ben
>
> Thank you for your quick reply,
>
> I have found the following cross compiling patch for openvswitch.
>
> "http://www.stanford.edu/~huangty/cross_compile_patches.tar.gz"
>
> In this package they have README file for how to cross compile openvswitch in Android. At step 4 I have the following error message.
>
> "
> ...
> utilities/ovs-dpctl.o: In function `do_add_if':
> ovs-dpctl.c:(.text+0x714): undefined reference to `getsubopt'
> collect2: ld returned 1 exit status
> make[2]: *** [utilities/ovs-dpctl] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> "
>
> However, the kernel module "openvswitch_mod.ko" in Datapath builds perfectly. In addition the lib/libopenvswitch.a builds too.
>
> FYI. I am using openvswitch "1.1.0pre2"
>
> Regards
> Mostafa
>
>
> On Jun 7, 2013, at 8:41 AM, Ben Pfaff wrote:
>
> On Fri, Jun 07, 2013 at 02:02:01AM +0000, Uddin, Mostafa Abdulla wrote:
> I was trying to compile openvswitch in android 4.2 (jelly bean) and
> kernel version 3.4.
>
> It builds the kernel module fine. However, I am facing the problem
> while compiling the user space program .
>
> What is the problem?
>
> FYI. I used the cros_compile_patch but it seems it fails to update
> some files.
>
> What is the cros_compile_patch?
>
> Can you please suggest me the version of the openvswitch and the
> android, which will work?
>
> I do not think that anyone has reported that any particular pair of
> versions works.
>
More information about the discuss
mailing list