[ovs-discuss] Compile ovs for Andriod

Yongqiang Liu liuyq7809 at gmail.com
Wed Jan 26 19:31:59 UTC 2011


Hi Everyone,

I am trying to cross compile and install ovs on Andriod phone but i had a
problem while doing configure.
my command is

./configure
CC=~/android/kernel/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc
--target=arm-linux -with-l26=~/android/kernel/droid/omap KARCH=arm

The problem is:

checking build number... none
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc...
/home/leo/android/kernel/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc
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 ?

And another question is for running ovs on android, which version of ovs is
best for this?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20110126/f905043a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 9368 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20110126/f905043a/attachment-0004.bin>


More information about the discuss mailing list