PaddlePaddle/Anakin

使用脚本编译Anakin Lite库,直接运行lite_ios_build_armv7/8.sh,出现很多error

xiaoqingq opened this issue · 1 comments

In file included from error/usr/include/c++/4.2.1/vector: :65:
In file included from /usr/include/c++/4.2.1/bits/functexcept.h:Unsupported41 :
architectureIn file included from /usr/include/c++/4.2.1/bits/c++config.h
:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:71:
In file included from /usr/include/_types.h:27:
In file included from /usr/include/sys/_types.h:32:
/usr/include/sys/cdefs.h#error Unsupported architecture:
763: ^2
: error: Unsupported architecture
#error Unsupported architecture
^
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/tensor_lite.h:19:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/shape_lite.h:17:
In file included from /usr/include/c++/4.2.1/vector:65:
In file included from /usr/include/c++/4.2.1/bits/functexcept.h:41:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_op_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_op_lite.h:18:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/tensor_lite.h:19:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/shape_lite.h:17:
In file included from /usr/include/c++/4.2.1/vector:65:
In file included from /usr/include/c++/4.2.1/bits/functexcept.h:41:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:71:
In file included from /usr/include/_types.h:27:
In file included from /usr/include/sys/_types.h:33:
/usr/include/machine/_types.h:34:2: error: architecture not:
In file included from /usr/include/unistd.h:71:
In file included from /usr/include/_types.h:27:
In file included from /usr/include/sys/_types.h:33:
/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
^
In file included from supported
/Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/context_lite.cpp:1#error architecture not supported:

In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/context_lite.h ^:
17:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/common_lite.h:18:
In file included from /usr/include/c++/4.2.1/memory:53:
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:65:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:71:
In file included from /usr/include/_types.h:27:
In file included from /usr/include/sys/_types.h:32:
/usr/include/sys/cdefs.h:763:2: error: Unsupported architecture
#error Unsupported architecture
^
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/context_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/context_lite.h:17:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/common_lite.h:18:
In file included from /usr/include/c++/4.2.1/memory:53:
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:65:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:71:
In file included from /usr/include/_types.h:27:
In file included from /usr/include/sys/_types.h:33:
/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
^
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/buffer_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/buffer_lite.h:18:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/common_lite.h:18:
In file included from /usr/include/c++/4.2.1/memory:53:
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:65:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:71:
In file included from /usr/include/_types.h:27:
In file included from /usr/include/sys/_types.h:32:
/usr/include/sys/cdefs.h:763:2: error: Unsupported architecture
#error Unsupported architecture
^
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/buffer_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/buffer_lite.h:18:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/common_lite.h:18:
In file included from /usr/include/c++/4.2.1/memory:53:
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:65:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:71:
In file included from /usr/include/_types.h:27:
In file included from /usr/include/sys/_types.h:33:
/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
^
In file included from In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/buffer_lite.cpp/Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_op_lite.cpp::11:
:
In file included from In file included from In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/buffer_lite.h/Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_op_lite.h/Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_lite.cpp:::18181:
:
:
In file included from In file included from In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/common_lite.h/Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/tensor_lite.h/Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/teIn file included from nsor_lite.h/Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/context_lite.cpp:::11918:
:
:
In file included from In file included from In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/context_lite.h/Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/shape_lite.h/usr/include/c++/4.2.1/memory:::171753:
:
:
In file included from In file included from In file included from /usr/include/c++/4.2.1/vector/Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/common_lite.h/usr/include/c++/4.2.1/bits/stl_algobase.h:::651865:
:
:
In file included from In file included from In file included from /usr/include/c++/4.2.1/bits/functexcept.h/usr/include/c++/4.2.1/memory/usr/include/c++/4.2.1/bits/c++config.h:::534141:
:
:
In file included from In file included from In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h/usr/include/c++/4.2.1/bits/c++config.h/usr/include/c++/4.2.1/bits/os_defines.h:::654161:
:
:
In file included from In file included from In file included from /usr/include/c++/4.2.1/bits/os_defines.h/usr/include/c++/4.2.1/bits/c++config.h/usr/include/unistd.h:::416171:
:
:
In file included from In file included from In file included from /usr/include/c++/4.2.1/bits/os_defines.h/usr/include/unistd.h/usr/include/_types.h:::617127:
:
:
In file included from In file included from /usr/include/unistd.h/usr/include/_types.h/usr/include/sys/_types.h:::277155:
:
:In file included from 9/usr/include/sys/_types.h/usr/include/_types.h::: 5527::
9error:/usr/include/sys/_types.h: :55:unknown9error :: type nameunknown error '__int64_t': type
name unknown'__int64_t' type
name '__int64_t'
typedef __int64_t __darwin_blkcnt_t; /* total blocks /
^
typedef __int64_t __darwin_blkcnt_t; /
total blocks /
^typedef __int64_t __darwin_blkcnt_t; /
total blocks */

    ^

:19:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/shape_lite.h:17:
In file included from /usr/include/c++/4.2.1/vector:65:
In file included from /usr/include/c++/4.2.1/bits/functexcept.h:41:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:71:
In file included from /usr/include/_types.h:27:
/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'
typedef __int64_t __darwin_blkcnt_t; /* total blocks /
^
/usr/include/sys/_types.h:56/usr/include/sys/_types.h::956:: 9: error: error: unknown typeunknown nametype '__int32_t'name
'__int32_t'
typedef __int32_t __darwin_blksize_t; /
preferred block size /typedef __int32_t __darwin_blksize_t; / preferred block size */

    ^        ^

/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'
typedef __int32_t __darwin_blksize_t; /* preferred block size */
^
/usr/include/sys/_types.h:/usr/include/sys/_types.h57::579::9 : error: error: unknown unknowntype typename name'__int32_t' '__int32_t'

typedef __int32_t __darwin_dev_t; /* dev_t /
typedef __int32_t __darwin_dev_t; /
dev_t /
^
^
/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'
typedef __int32_t __darwin_dev_t; /
dev_t /
^
/usr/include/sys/_types.h:60:9: error/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'
/usr/include/sys/_types.h:56:9: error: unknown /usr/include/sys/_types.htype: : 60:typedef __uint32_t __darwin_gid_t; /
[???] process and gro...9unknown:
type ^errorname
: '__uint32_t'unknown
type name '__uint32_t'
typedef __uint32_t __darwin_gid_t; /* [???] process and gro...
typedef __uint32_t __darwin_gid_t; /* [???] process and gro...
^
^
/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'
/usr/include/sys/_types.h:61:9: error: unknowntypedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, o...
type ^namename '__int32_t'
'__uint32_t'

typedef __int32_t __darwin_blksize_t; /* preferred block size /typedef __uint32_t __darwin_id_t; / [XSI] pid_t, uid_t, o...

    ^        ^

/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'
/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'/usr/include/sys/_types.h
:57:typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bi...9
: ^
error: unknown type name '__int32_t'
typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bi...
^
typedef __int32_t __darwin_dev_t; /* dev_t /
^
/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'
typedef __uint32_t __darwin_gid_t; /
[???] process and gro...
^
/usr/include/sys/_types.h:61:9: error: unknown type/usr/include/sys/_types.h :name61 :'__uint32_t'9:
error: unknown type name '__uint32_t'
typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, o...
^
typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, o...
^
/usr/include/sys/_types.h:62:9: error: unknown/usr/include/sys/_types.h :type62 :name9 :'__uint64_t'
error: unknown type name '__uint64_t'
typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bi...
^
typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bi...
^
/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach /
^
/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
typedef __darwin_natural_t __darwin_mach_port_name_t; /
Used by mach /
^
/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'
typedef __uint16_t __darwin_mode_t; /
[???] Some file attributes /
^
/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'
typedef __uint16_t __darwin_mode_t; /
[???] Some file attributes /
^
/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
typedef __int64_t __darwin_off_t; /
[???] Used for file sizes /
^
/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
typedef __darwin_natural_t __darwin_mach_port_name_t; /
Used by mach /
^
/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
/usr/include/sys/_types.h:72:9typedef __int64_t __darwin_off_t; /
[???] Used for file sizes /:
^error
: unknown type name '__int32_t'
typedef __int32_t __darwin_pid_t; /
[???] process and gro...
^
/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'
/usr/include/sys/_types.h:72:typedef __uint16_t __darwin_mode_t; /* [???] Some file attributes /9
: ^
error: unknown type name '__int32_t'
/usr/include/sys/_types.h:73:9typedef __int32_t __darwin_pid_t; /
[???] process and gro...:
^
error: unknown type name '__uint32_t'
typedef __uint32_t __darwin_sigset_t; /* [???] signal set /
^
/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
typedef __int64_t __darwin_off_t; /
[???] Used for file sizes /
^
/usr/include/sys/_types.h:73:9: error/usr/include/sys/_types.h: :74:9:unknown type errorname: '__uint32_t'unknown
type name '__int32_t'
typedef __uint32_t __darwin_sigset_t; /
[???] signal set /
^
typedef __int32_t __darwin_suseconds_t; /
[???] microseconds /
^
/usr/include/sys/_types.h:68:9: /usr/include/sys/_types.h:72error:: 9: unknown type errorname: unknown '__darwin_natural_t'type
name '__int32_t'
typedef __darwin_natural_t __darwin_mach_port_name_t; /
Used by mach /
^
typedef __int32_t __darwin_pid_t; /
[???] process and gro...
^
/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'
typedef __int32_t __darwin_suseconds_t; /* [???] microseconds /
^
/usr/include/sys/_types.h:73:9: /usr/include/sys/_types.herror:: 70:9unknown: type nameerror : '__uint32_t'
unknown type name '__uint16_t'
typedef __uint32_t __darwin_sigset_t; /
[???] signal set /
^
typedef __uint16_t __darwin_mode_t; /
[???] Some file attributes /
^
/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'
/usr/include/sys/_types.h:74:9: error: unknowntypedef __uint32_t __darwin_uid_t; /
[???] user IDs /
type /usr/include/sys/_types.h ^name:
71'__int32_t':9
: error: unknown type name '__int64_t'
typedef __int32_t __darwin_suseconds_t; /
[???] microseconds /
^
typedef __int64_t __darwin_off_t; /
[???] Used for file sizes /
^
/usr/include/sys/_types.h:76:9: error: /usr/include/sys/_types.hunknown:75:9: /usr/include/sys/_types.h:72error:: 9: unknown typeerror : name '__uint32_t'unknown
type name '__int32_t'
typedef __uint32_t __darwin_uid_t; /
[???] user IDs /
^
typedef __int32_t __darwin_pid_t; /
[???] process and gro...
^
/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'
typedef __uint32_t __darwin_uid_t; /* [???] user IDs /
^
/usr/include/sys/_types.h:76:9: error: unknown type/usr/include/sys/_types.h :name73 :'__uint32_t'9:
error: unknown type name '__uint32_t'
typedef __uint32_t __darwin_useconds_t; /
[???] microseconds /
^
typedef __uint32_t __darwin_sigset_t; /
[???] signal set /
^
/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'
/usr/include/sys/_types.h:74:9: error: unknown type nametypedef __uint32_t __darwin_useconds_t; /
[???] microseconds */
'__int32_t' ^

typedef __int32_t __darwin_suseconds_t; /* [???] microseconds /
^
/usr/include/sys/_types.h:75:9: errortype: unknown type name '__uint32_t'
typedef __uint32_t __darwin_uid_t; /
[???] user IDs /
^
name '__uint32_t'
typedef __uint32_t __darwin_useconds_t; /
[???] microseconds /
^
/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'
typedef __uint32_t __darwin_useconds_t; /
[???] microseconds /
^
In file included from In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/context_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/context_lite.h:17:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/common_lite.h:18:
In file included from /usr/include/c++/4.2.1/memory:53:
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:65:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:72:
In file included from /usr/include/sys/unistd.h:180:
/usr/include/sys/_types/_size_t.h:31:9: error: unknown type name
'__darwin_size_t'; did you mean '__darwin_ino_t'?
typedef __darwin_size_t size_t;
^
/usr/include/sys/_types.h:64:26: note: '__darwin_ino_t' declared here
typedef __darwin_ino64_t __darwin_ino_t; /
[???] Used for inodes /
^
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/tensor_lite.h:19:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/shape_lite.h:17:
In file included from /usr/include/c++/4.2.1/vector:65:
In file included from /usr/include/c++/4.2.1/bits/functexcept.h:41:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:72:
In file included from /usr/include/sys/unistd.h:180:
/usr/include/sys/_types/_size_t.h:31:9: error: unknown/Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/buffer_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/buffer_lite.h:18:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/common_lite.h:18:
In file included from /usr/include/c++/4.2.1/memory:53:
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:65:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:72:
In file included from /usr/include/sys/unistd.h:180:
/usr/include/sys/_types/_size_t.h:31:9: error: unknown type name
'__darwin_size_t'; did you mean '__darwin_ino_t'?
typedef __darwin_size_t size_t;
^
/usr/include/sys/_types.h:64:26: note: '__darwin_ino_t' declared here
typedef __darwin_ino64_t __darwin_ino_t; /
[???] Used for inodes /
^
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_op_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_op_lite.h:18:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/tensor_lite.htype name
'__darwin_size_t'; did you mean '__darwin_ino_t'?
typedef __darwin_size_t size_t;
^
/usr/include/sys/_types.h:64:26: note: '__darwin_ino_t' declared here
:19:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/shape_lite.h:17:
In file included from /usr/include/c++/4.2.1/vectortypedef __darwin_ino64_t __darwin_ino_t; /
[???] Used for inodes /:
65:
In file included from ^/usr/include/c++/4.2.1/bits/functexcept.h
:41:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:72:
In file included from /usr/include/sys/unistd.h:180:
/usr/include/sys/_types/_size_t.h:31:9: error: unknown type name
'__darwin_size_t'; did you mean '__darwin_ino_t'?
typedef __darwin_size_t size_t;
^
/usr/include/sys/_types.h:64:26: note: '__darwin_ino_t' declared here
typedef __darwin_ino64_t __darwin_ino_t; /
[???] Used for inodes */
^
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/buffer_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/buffer_lite.h:18:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/common_lite.h:18:
In file included from /usr/include/c++/4.2.1/memory:53:
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:65:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:72:
In file included from /usr/include/sys/unistd.h:199:
In file included from /usr/include/sys/_types/_ssize_t.h:30:
/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported
^
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/tensor_lite.h:19:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/shape_lite.h:17:
In file included from /usr/include/c++/4.2.1/vector:65:
In file included from /usr/include/c++/4.2.1/bits/functexcept.h:41:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:72:
In file included from /usr/include/sys/unistd.h:199:
In file included from /usr/include/sys/_types/_ssize_t.h:30:
/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported
^
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/context_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/context_lite.h:17:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/common_lite.h:18:
In file included from /usr/include/c++/4.2.1/memory:53:
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:65:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:72:
In file included from /usr/include/sys/unistd.h:199:
In file included from /usr/include/sys/_types/_ssize_t.h:30:
/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported
^
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/buffer_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/buffer_lite.h:18:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/common_lite.h:18:
In file included from /usr/include/c++/4.2.1/memory:53:
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:65:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:72:
In file included from /usr/include/sys/unistd.h:199:
/usr/include/sys/_types/_ssize_t.h:31:9: error: unknown type name
'__darwin_ssize_t'
typedef __darwin_ssize_t ssize_t;
^
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_op_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_op_lite.h:18:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/tensor_lite.h:19:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/shape_lite.h:17:
In file included from /usr/include/c++/4.2.1/vector:65:
In file included from /usr/include/c++/4.2.1/bits/functexcept.h:41:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:72:
In file included from /usr/include/sys/unistd.h:199:
In file included from /usr/include/sys/_types/_ssize_t.h:30:
/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/context_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/context_lite.h:17:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/common_lite.h:18:
In file included from /usr/include/c++/4.2.1/memory:53:
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:65:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:72:
In file included from /usr/include/sys/unistd.h:199:
/usr/include/sys/_types/_ssize_t.h:31:9: error: unknown type name
'__darwin_ssize_t'
typedef __darwin_ssize_t ssize_t;
^
/Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_lite.cpp:In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_op_lite.cpp:1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_op_lite.h:18:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/tensor_lite.h:19:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/shape_lite.h:17:
In file included from /usr/include/c++/4.2.1/vector:65:
In file included from /usr/include/c++/4.2.1/bits/functexcept.h:41:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:72:
In file included from /usr/include/sys/unistd.h:199:
/usr/include/sys/_types/_ssize_t.h:31:9: error: unknown type name
'__darwin_ssize_t'
typedef __darwin_ssize_t ssize_t;
^
1:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/tensor_lite.h:19:
In file included from /Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/tools/anakin-lite/../../saber/lite/../../saber/lite/core/shape_lite.h:17:
In file included from /usr/include/c++/4.2.1/vector:65:
In file included from /usr/include/c++/4.2.1/bits/functexcept.h:41:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:72:
In file included from /usr/include/sys/unistd.h:199:
/usr/include/sys/_types/_ssize_t.h:31:9: error: unknown type name
'__darwin_ssize_t'
typedef __darwin_ssize_t ssize_t;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
fatal error: too many errors emitted, stopping now [-ferror-limit=]
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [CMakeFiles/ANAKIN_LITE_OBJS.dir/Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/buffer_lite.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
20 errors generated.
20 errors generated.
make[2]: *** [CMakeFiles/ANAKIN_LITE_OBJS.dir/Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_op_lite.cpp.o] Error 1
20 errors generated.
make[2]: *** [CMakeFiles/ANAKIN_LITE_OBJS.dir/Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/tensor_lite.cpp.o] Error 1
make[2]: *** [CMakeFiles/ANAKIN_LITE_OBJS.dir/Users/v_zhangxiaoqing01/Desktop/新/Anakin-arm_lite/saber/lite/core/context_lite.cpp.o] Error 1
make[1]: *** [CMakeFiles/ANAKIN_LITE_OBJS.dir/all] Error 2
make: *** [all] Error 2

请问NDK版本是多少?我们现在编译通过的版本从r14到r16