I can't install OVS on Android My phone uses ARM64. The kernel is a 3.10.73-gad82c6620de
I using this configure options. but this has error. ./configure \ -with-linux=/home/ppp/msm \ KARCH=arm64 \ --prefix=/home/ppp/crs_out/out \ --host=aarch64-linux-android \ CC=/home/ppp/crs_out/aarch64-tool/bin/aarch64-linux-android-gcc \ CXX=/home/ppp/crs_out/aarch64-tool/bin/aarch64-linux-android-g++ \ --with-sysroot=/home/ppp/android-ndk-r14b/platforms/android-24/arch-arm64 \ CPPFLAGS=-I/home/ppp/crs_out/aarch64-tool/include \ LDFLAGS="-L/home/ppp/android-ndk-r14b/prebuilt/linux-x86_64/lib" when is using make error message In file included from /home/ppp/msm/arch/x86/include/asm/segment.h:148:0, from /home/ppp/msm/arch/x86/include/asm/ptrace.h:4, from /home/ppp/msm/arch/x86/include/asm/vm86.h:5, from /home/ppp/msm/arch/x86/include/asm/processor.h:10, from /home/ppp/msm/arch/x86/include/asm/thread_info.h:22, from include/linux/thread_info.h:54, from include/linux/preempt.h:9, from include/linux/spinlock.h:50, from include/linux/mm_types.h:8, from include/linux/kmemcheck.h:4, from include/linux/skbuff.h:18, from /home/ppp/ovs/openvswitch-2.5.4/datapath/linux/compat/include/linux/skbuff.h:17, from /home/ppp/ovs/openvswitch-2.5.4/datapath/linux/actions.c:21: /home/ppp/msm/arch/x86/include/asm/cache.h:7:25: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function) #define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT) ^ /home/ppp/msm/arch/x86/include/asm/cache.h:8:30: note: in expansion of macro ‘L1_CACHE_SHIFT’ #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) ^ include/linux/cache.h:12:25: note: in expansion of macro ‘L1_CACHE_BYTES’ #define SMP_CACHE_BYTES L1_CACHE_BYTES ^ /home/ppp/msm/arch/x86/include/asm/processor.h:131:30: note: in expansion of macro ‘SMP_CACHE_BYTES’ } __attribute__((__aligned__(SMP_CACHE_BYTES))); Many other error messages are generated. please let me know some idea.
_______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss