[ovs-discuss] Compile ovs for Andriod

Ben Pfaff blp at nicira.com
Wed Jan 26 20:01:18 UTC 2011

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
    configure:3151: /home/leo/android/kernel/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc    conftest.c  >&5
    /home/leo/android/kernel/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: crt0.o: No such file: No such file or directory

> And another question is for running ovs on android, which version of ovs is
> 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.

More information about the discuss mailing list