• 星瞳AI VISION软件内测!可以离线标注,训练,并生成OpenMV的模型。可以替代edge impulse https://forum.singtown.com/topic/8206
  • 我们只解决官方正版的OpenMV的问题(STM32),其他的分支有很多兼容问题,我们无法解决。
  • 如果有产品硬件故障问题,比如无法开机,论坛很难解决。可以直接找售后维修
  • 发帖子之前,请确认看过所有的视频教程,https://singtown.com/learn/ 和所有的上手教程http://book.openmv.cc/
  • 每一个新的提问,单独发一个新帖子
  • 帖子需要目的,你要做什么?
  • 如果涉及代码,需要报错提示全部代码文本,请注意不要贴代码图片
  • 必看:玩转星瞳论坛了解一下图片上传,代码格式等问题。
  • 编译固件,报错 "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"



    • 编译环境:Ubuntu14.04
      编译固件:openmv4 H7 plus

      In file included from /home/zjw/openmv/src/micropython/ports/stm32/mbedtls/mbedtls_config.h:97:0,
                       from ../../lib/mbedtls/include/mbedtls/build_info.h:59,
                       from ../../lib/mbedtls/library/common.h:26,
                       from ../../lib/mbedtls/library/entropy_poll.c:25:
      ../../lib/mbedtls/include/mbedtls/check_config.h:593:2: error: #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
       #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
        ^~~~~
      In file included from /home/zjw/openmv/src/micropython/ports/stm32/mbedtls/mbedtls_config.h:97:0,
                       from ../../lib/mbedtls/include/mbedtls/build_info.h:59,
                       from ../../lib/mbedtls/library/common.h:26,
                       from ../../lib/mbedtls/library/gcm.c:30:
      ../../lib/mbedtls/include/mbedtls/check_config.h:593:2: error: #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
       #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
        ^~~~~
      In file included from /home/zjw/openmv/src/micropython/ports/stm32/mbedtls/mbedtls_config.h:97:0,
                       from ../../lib/mbedtls/library/havege.c:57:
      ../../lib/mbedtls/include/mbedtls/check_config.h:593:2: error: #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
       #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
        ^~~~~
      In file included from /home/zjw/openmv/src/micropython/ports/stm32/mbedtls/mbedtls_config.h:97:0,
                       from ../../lib/mbedtls/include/mbedtls/build_info.h:59,
                       from ../../lib/mbedtls/library/common.h:26,
                       from ../../lib/mbedtls/library/hmac_drbg.c:26:
      ../../lib/mbedtls/include/mbedtls/check_config.h:593:2: error: #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
       #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
        ^~~~~
      In file included from /home/zjw/openmv/src/micropython/ports/stm32/mbedtls/mbedtls_config.h:97:0,
                       from ../../lib/mbedtls/library/md2.c:56:
      ../../lib/mbedtls/include/mbedtls/check_config.h:593:2: error: #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
       #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
        ^~~~~
      In file included from /home/zjw/openmv/src/micropython/ports/stm32/mbedtls/mbedtls_config.h:97:0,
                       from ../../lib/mbedtls/library/md4.c:56:
      ../../lib/mbedtls/include/mbedtls/check_config.h:593:2: error: #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
       #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
        ^~~~~
      In file included from /home/zjw/openmv/src/micropython/ports/stm32/mbedtls/mbedtls_config.h:97:0,
                       from ../../lib/mbedtls/include/mbedtls/build_info.h:59,
                       from ../../lib/mbedtls/library/common.h:26,
                       from ../../lib/mbedtls/library/md5.c:25:
      ../../lib/mbedtls/include/mbedtls/check_config.h:593:2: error: #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
       #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
        ^~~~~
      In file included from /home/zjw/openmv/src/micropython/ports/stm32/mbedtls/mbedtls_config.h:97:0,
                       from ../../lib/mbedtls/include/mbedtls/build_info.h:59,
                       from ../../lib/mbedtls/library/common.h:26,
                       from ../../lib/mbedtls/library/md.c:24:
      ../../lib/mbedtls/include/mbedtls/check_config.h:593:2: error: #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
       #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
        ^~~~~
      In file included from /home/zjw/openmv/src/micropython/ports/stm32/mbedtls/mbedtls_config.h:97:0,
                       from ../../lib/mbedtls/library/md_wrap.c:54:
      ../../lib/mbedtls/include/mbedtls/check_config.h:593:2: error: #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
       #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
        ^~~~~
      In file included from /home/zjw/openmv/src/micropython/ports/stm32/mbedtls/mbedtls_config.h:97:0,
                       from ../../lib/mbedtls/include/mbedtls/build_info.h:59,
                       from ../../lib/mbedtls/library/common.h:26,
                       from ../../lib/mbedtls/library/oid.c:22:
      ../../lib/mbedtls/include/mbedtls/check_config.h:593:2: error: #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
       #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
        ^~~~~
      In file included from /home/zjw/openmv/src/micropython/ports/stm32/mbedtls/mbedtls_config.h:97:0,
                       from ../../lib/mbedtls/include/mbedtls/build_info.h:59,
                       from ../../lib/mbedtls/library/common.h:26,
                       from ../../lib/mbedtls/library/padlock.c:26:
      ../../lib/mbedtls/include/mbedtls/check_config.h:593:2: error: #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
       #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
        ^~~~~
      In file included from /home/zjw/openmv/src/micropython/ports/stm32/mbedtls/mbedtls_config.h:97:0,
                       from ../../lib/mbedtls/include/mbedtls/build_info.h:59,
                       from ../../lib/mbedtls/library/common.h:26,
                       from ../../lib/mbedtls/library/pem.c:20:
      ../../lib/mbedtls/include/mbedtls/check_config.h:593:2: error: #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
       #error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"
      

      看样子 所有的错误都是同一个问题,应该是没有找到SHA224_C的宏定义,我在源码看了下 确实没有sha224.c这个文件,我又去github上看了下 也没有这个文件,那这个问题怎么解决?



    • https://book.openmv.cc/firmware/compile.html

      更新了教程,

      GitHub在国内因为网络问题,很容易出现子项目下载错误,导致编译失败。

      使用教程中打包好的代码,可以解决问题。



    • @kidswong999 你好 按照你最新的教程操作 编译继续报错:

      ../py/vmentrytable.h:120:5: error: (near initialization for ‘entry_table[240]’) [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: (near initialization for ‘entry_table[241]’) [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: (near initialization for ‘entry_table[242]’) [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: (near initialization for ‘entry_table[243]’) [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: (near initialization for ‘entry_table[244]’) [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: (near initialization for ‘entry_table[245]’) [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: (near initialization for ‘entry_table[246]’) [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: (near initialization for ‘entry_table[247]’) [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: (near initialization for ‘entry_table[248]’) [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: (near initialization for ‘entry_table[249]’) [-Werror=override-init]
      


    • 你把全部步骤发上来,和全部的log。



    • @kidswong999

      基本就是全部日志了 评论区有字数限制。

      Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
      make:进入目录'/home/zjw/openmv_v4.2.1/src/micropython/mpy-cross'
      make: *** 警告:文件“../py/mkrules.mk”的修改时间在将来4.6e+04
      GEN build/genhdr/moduledefs.h
      GEN build/genhdr/qstr.i.last
      GEN build/genhdr/qstr.split
      GEN build/genhdr/qstrdefs.collected.h
      QSTR not updated
      GEN build/genhdr/qstrdefs.generated.h
      CC ../py/mpstate.c
      CC ../py/nlr.c
      CC ../py/nlrx86.c
      CC ../py/nlrx64.c
      CC ../py/nlrthumb.c
      CC ../py/nlraarch64.c
      CC ../py/nlrpowerpc.c
      CC ../py/nlrxtensa.c
      CC ../py/nlrsetjmp.c
      CC ../py/malloc.c
      CC ../py/gc.c
      CC ../py/pystack.c
      CC ../py/qstr.c
      CC ../py/vstr.c
      CC ../py/mpprint.c
      CC ../py/unicode.c
      CC ../py/mpz.c
      CC ../py/reader.c
      CC ../py/lexer.c
      CC ../py/parse.c
      CC ../py/scope.c
      CC ../py/compile.c
      CC ../py/emitcommon.c
      CC ../py/emitbc.c
      CC ../py/asmbase.c
      CC ../py/asmx64.c
      CC ../py/emitnx64.c
      CC ../py/asmx86.c
      CC ../py/emitnx86.c
      CC ../py/asmthumb.c
      CC ../py/emitnthumb.c
      CC ../py/emitinlinethumb.c
      CC ../py/asmarm.c
      CC ../py/emitnarm.c
      CC ../py/asmxtensa.c
      CC ../py/emitnxtensa.c
      CC ../py/emitinlinextensa.c
      CC ../py/emitnxtensawin.c
      CC ../py/formatfloat.c
      CC ../py/parsenumbase.c
      CC ../py/parsenum.c
      CC ../py/emitglue.c
      CC ../py/persistentcode.c
      CC ../py/runtime.c
      CC ../py/runtime_utils.c
      CC ../py/scheduler.c
      CC ../py/nativeglue.c
      CC ../py/pairheap.c
      CC ../py/ringbuf.c
      CC ../py/stackctrl.c
      CC ../py/argcheck.c
      CC ../py/warning.c
      CC ../py/profile.c
      CC ../py/map.c
      CC ../py/obj.c
      CC ../py/objarray.c
      CC ../py/objattrtuple.c
      CC ../py/objbool.c
      CC ../py/objboundmeth.c
      CC ../py/objcell.c
      CC ../py/objclosure.c
      CC ../py/objcomplex.c
      CC ../py/objdeque.c
      CC ../py/objdict.c
      CC ../py/objenumerate.c
      CC ../py/objexcept.c
      CC ../py/objfilter.c
      CC ../py/objfloat.c
      CC ../py/objfun.c
      CC ../py/objgenerator.c
      CC ../py/objgetitemiter.c
      CC ../py/objint.c
      CC ../py/objint_longlong.c
      CC ../py/objint_mpz.c
      CC ../py/objlist.c
      CC ../py/objmap.c
      CC ../py/objmodule.c
      CC ../py/objobject.c
      CC ../py/objpolyiter.c
      CC ../py/objproperty.c
      CC ../py/objnone.c
      CC ../py/objnamedtuple.c
      CC ../py/objrange.c
      CC ../py/objreversed.c
      CC ../py/objset.c
      CC ../py/objsingleton.c
      CC ../py/objslice.c
      CC ../py/objstr.c
      CC ../py/objstrunicode.c
      CC ../py/objstringio.c
      CC ../py/objtuple.c
      CC ../py/objtype.c
      CC ../py/objzip.c
      CC ../py/opmethods.c
      CC ../py/sequence.c
      CC ../py/stream.c
      CC ../py/binary.c
      CC ../py/builtinimport.c
      CC ../py/builtinevex.c
      CC ../py/builtinhelp.c
      CC ../py/modarray.c
      CC ../py/modbuiltins.c
      CC ../py/modcollections.c
      CC ../py/modgc.c
      CC ../py/modio.c
      CC ../py/modmath.c
      CC ../py/modcmath.c
      CC ../py/modmicropython.c
      CC ../py/modstruct.c
      CC ../py/modsys.c
      CC ../py/moduerrno.c
      CC ../py/modthread.c
      CC ../py/vm.c
      CC ../py/bc.c
      CC ../py/showbc.c
      In file included from ../py/vm.c:216:0:
      ../py/vmentrytable.h: In function ‘mp_execute_bytecode’:
      ../py/vmentrytable.h:40:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_CONST_FALSE] = &&entry_MP_BC_LOAD_CONST_FALSE,
           ^
      ../py/vmentrytable.h:40:5: error: (near initialization for ‘entry_table[80]’) [-Werror=override-init]
      ../py/vmentrytable.h:41:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_CONST_NONE] = &&entry_MP_BC_LOAD_CONST_NONE,
           ^
      ../py/vmentrytable.h:41:5: error: (near initialization for ‘entry_table[81]’) [-Werror=override-init]
      ../py/vmentrytable.h:42:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_CONST_TRUE] = &&entry_MP_BC_LOAD_CONST_TRUE,
           ^
      ../py/vmentrytable.h:42:5: error: (near initialization for ‘entry_table[82]’) [-Werror=override-init]
      ../py/vmentrytable.h:43:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_CONST_SMALL_INT] = &&entry_MP_BC_LOAD_CONST_SMALL_INT,
           ^
      ../py/vmentrytable.h:43:5: error: (near initialization for ‘entry_table[34]’) [-Werror=override-init]
      ../py/vmentrytable.h:44:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_CONST_STRING] = &&entry_MP_BC_LOAD_CONST_STRING,
           ^
      ../py/vmentrytable.h:44:5: error: (near initialization for ‘entry_table[16]’) [-Werror=override-init]
      ../py/vmentrytable.h:45:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_CONST_OBJ] = &&entry_MP_BC_LOAD_CONST_OBJ,
           ^
      ../py/vmentrytable.h:45:5: error: (near initialization for ‘entry_table[35]’) [-Werror=override-init]
      ../py/vmentrytable.h:46:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_NULL] = &&entry_MP_BC_LOAD_NULL,
           ^
      ../py/vmentrytable.h:46:5: error: (near initialization for ‘entry_table[83]’) [-Werror=override-init]
      ../py/vmentrytable.h:47:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_FAST_N] = &&entry_MP_BC_LOAD_FAST_N,
           ^
      ../py/vmentrytable.h:47:5: error: (near initialization for ‘entry_table[36]’) [-Werror=override-init]
      ../py/vmentrytable.h:48:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_DEREF] = &&entry_MP_BC_LOAD_DEREF,
           ^
      ../py/vmentrytable.h:48:5: error: (near initialization for ‘entry_table[37]’) [-Werror=override-init]
      ../py/vmentrytable.h:49:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_NAME] = &&entry_MP_BC_LOAD_NAME,
           ^
      ../py/vmentrytable.h:49:5: error: (near initialization for ‘entry_table[17]’) [-Werror=override-init]
      ../py/vmentrytable.h:50:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_GLOBAL] = &&entry_MP_BC_LOAD_GLOBAL,
           ^
      ../py/vmentrytable.h:50:5: error: (near initialization for ‘entry_table[18]’) [-Werror=override-init]
      ../py/vmentrytable.h:51:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_ATTR] = &&entry_MP_BC_LOAD_ATTR,
           ^
      ../py/vmentrytable.h:51:5: error: (near initialization for ‘entry_table[19]’) [-Werror=override-init]
      ../py/vmentrytable.h:52:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_METHOD] = &&entry_MP_BC_LOAD_METHOD,
           ^
      ../py/vmentrytable.h:52:5: error: (near initialization for ‘entry_table[20]’) [-Werror=override-init]
      ../py/vmentrytable.h:53:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_SUPER_METHOD] = &&entry_MP_BC_LOAD_SUPER_METHOD,
           ^
      ../py/vmentrytable.h:86:5: error: (near initialization for ‘entry_table[42]’) [-Werror=override-init]
      ../py/vmentrytable.h:87:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_BUILD_LIST] = &&entry_MP_BC_BUILD_LIST,
           ^
      ../py/vmentrytable.h:87:5: error: (near initialization for ‘entry_table[43]’) [-Werror=override-init]
      ../py/vmentrytable.h:88:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_BUILD_MAP] = &&entry_MP_BC_BUILD_MAP,
           ^
      ../py/vmentrytable.h:88:5: error: (near initialization for ‘entry_table[44]’) [-Werror=override-init]
      ../py/vmentrytable.h:89:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_STORE_MAP] = &&entry_MP_BC_STORE_MAP,
           ^
      ../py/vmentrytable.h:89:5: error: (near initialization for ‘entry_table[98]’) [-Werror=override-init]
      ../py/vmentrytable.h:91:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_BUILD_SET] = &&entry_MP_BC_BUILD_SET,
           ^
      ../py/vmentrytable.h:91:5: error: (near initialization for ‘entry_table[45]’) [-Werror=override-init]
      ../py/vmentrytable.h:94:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_BUILD_SLICE] = &&entry_MP_BC_BUILD_SLICE,
           ^
      ../py/vmentrytable.h:94:5: error: (near initialization for ‘entry_table[46]’) [-Werror=override-init]
      ../py/vmentrytable.h:96:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_STORE_COMP] = &&entry_MP_BC_STORE_COMP,
           ^
      ../py/vmentrytable.h:96:5: error: (near initialization for ‘entry_table[47]’) [-Werror=override-init]
      ../py/vmentrytable.h:97:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_UNPACK_SEQUENCE] = &&entry_MP_BC_UNPACK_SEQUENCE,
           ^
      ../py/vmentrytable.h:97:5: error: (near initialization for ‘entry_table[48]’) [-Werror=override-init]
      ../py/vmentrytable.h:98:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_UNPACK_EX] = &&entry_MP_BC_UNPACK_EX,
           ^
      ../py/vmentrytable.h:98:5: error: (near initialization for ‘entry_table[49]’) [-Werror=override-init]
      ../py/vmentrytable.h:99:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_MAKE_FUNCTION] = &&entry_MP_BC_MAKE_FUNCTION,
           ^
      ../py/vmentrytable.h:99:5: error: (near initialization for ‘entry_table[50]’) [-Werror=override-init]
      ../py/vmentrytable.h:100:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_MAKE_FUNCTION_DEFARGS] = &&entry_MP_BC_MAKE_FUNCTION_DEFARGS,
           ^
      ../py/vmentrytable.h:100:5: error: (near initialization for ‘entry_table[51]’) [-Werror=override-init]
      ../py/vmentrytable.h:101:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_MAKE_CLOSURE] = &&entry_MP_BC_MAKE_CLOSURE,
           ^
      ../py/vmentrytable.h:101:5: error: (near initialization for ‘entry_table[32]’) [-Werror=override-init]
      ../py/vmentrytable.h:102:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_MAKE_CLOSURE_DEFARGS] = &&entry_MP_BC_MAKE_CLOSURE_DEFARGS,
           ^
      ../py/vmentrytable.h:102:5: error: (near initialization for ‘entry_table[33]’) [-Werror=override-init]
      ../py/vmentrytable.h:103:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_CALL_FUNCTION] = &&entry_MP_BC_CALL_FUNCTION,
           ^
      ../py/vmentrytable.h:103:5: error: (near initialization for ‘entry_table[52]’) [-Werror=override-init]
      ../py/vmentrytable.h:104:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_CALL_FUNCTION_VAR_KW] = &&entry_MP_BC_CALL_FUNCTION_VAR_KW,
           ^
      ../py/vmentrytable.h:104:5: error: (near initialization for ‘entry_table[53]’) [-Werror=override-init]
      ../py/vmentrytable.h:105:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_CALL_METHOD] = &&entry_MP_BC_CALL_METHOD,
           ^
      ../py/vmentrytable.h:105:5: error: (near initialization for ‘entry_table[54]’) [-Werror=override-init]
      ../py/vmentrytable.h:106:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_CALL_METHOD_VAR_KW] = &&entry_MP_BC_CALL_METHOD_VAR_KW,
           ^
      ../py/vmentrytable.h:106:5: error: (near initialization for ‘entry_table[55]’) [-Werror=override-init]
      ../py/vmentrytable.h:107:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_RETURN_VALUE] = &&entry_MP_BC_RETURN_VALUE,
           ^
      ../py/vmentrytable.h:107:5: error: (near initialization for ‘entry_table[99]’) [-Werror=override-init]
      CC ../py/repl.c
      ../py/vmentrytable.h:108:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_RAISE_LAST] = &&entry_MP_BC_RAISE_LAST,
           ^
      ../py/vmentrytable.h:108:5: error: (near initialization for ‘entry_table[100]’) [-Werror=override-init]
      ../py/vmentrytable.h:109:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_RAISE_OBJ] = &&entry_MP_BC_RAISE_OBJ,
           ^
      ../py/vmentrytable.h:109:5: error: (near initialization for ‘entry_table[101]’) [-Werror=override-init]
      ../py/vmentrytable.h:110:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_RAISE_FROM] = &&entry_MP_BC_RAISE_FROM,
           ^
      ../py/vmentrytable.h:110:5: error: (near initialization for ‘entry_table[102]’) [-Werror=override-init]
      ../py/vmentrytable.h:111:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_YIELD_VALUE] = &&entry_MP_BC_YIELD_VALUE,
           ^
      ../py/vmentrytable.h:111:5: error: (near initialization for ‘entry_table[103]’) [-Werror=override-init]
      ../py/vmentrytable.h:112:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_YIELD_FROM] = &&entry_MP_BC_YIELD_FROM,
           ^
      ../py/vmentrytable.h:112:5: error: (near initialization for ‘entry_table[104]’) [-Werror=override-init]
      ../py/vmentrytable.h:113:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_IMPORT_NAME] = &&entry_MP_BC_IMPORT_NAME,
           ^
      ../py/vmentrytable.h:113:5: error: (near initialization for ‘entry_table[27]’) [-Werror=override-init]
      ../py/vmentrytable.h:114:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_IMPORT_FROM] = &&entry_MP_BC_IMPORT_FROM,
           ^
      ../py/vmentrytable.h:114:5: error: (near initialization for ‘entry_table[28]’) [-Werror=override-init]
      ../py/vmentrytable.h:115:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_IMPORT_STAR] = &&entry_MP_BC_IMPORT_STAR,
           ^
      ../py/vmentrytable.h:115:5: error: (near initialization for ‘entry_table[105]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_CONST_SMALL_INT_MULTI ... MP_BC_LOAD_CONST_SMALL_INT_MULTI + MP_BC_LOAD_CONST_SMALL_INT_MULTI_NUM - 1] = &&entry_MP_BC_LOAD_CONST_SMALL_INT_MULTI,
           ^
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[112]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[113]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[114]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[115]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[116]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[117]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[118]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[119]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[120]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[121]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[122]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[123]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[124]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[125]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[126]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[127]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[128]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[129]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[130]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[131]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[132]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[133]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[134]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[135]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[136]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[137]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[138]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[139]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[140]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[141]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[142]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[143]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[144]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[145]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[146]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[147]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[148]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[149]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[150]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[151]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[152]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[153]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[154]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[155]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[156]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[157]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[158]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[159]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[160]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[161]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[162]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[163]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[164]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[165]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[166]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[167]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[168]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[169]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[170]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[171]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[172]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[173]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[174]’) [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:116:5: error: (near initialization for ‘entry_table[175]’) [-Werror=override-init]
      In file included from ../py/vm.c:216:0:
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_LOAD_FAST_MULTI ... MP_BC_LOAD_FAST_MULTI + MP_BC_LOAD_FAST_MULTI_NUM - 1] = &&entry_MP_BC_LOAD_FAST_MULTI,
           ^
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[176]’) [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[177]’) [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[178]’) [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[179]’) [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[180]’) [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[181]’) [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[182]’) [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[183]’) [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[184]’) [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[185]’) [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[186]’) [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[187]’) [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[188]’) [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[189]’) [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[190]’) [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:117:5: error: (near initialization for ‘entry_table[191]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
           [MP_BC_STORE_FAST_MULTI ... MP_BC_STORE_FAST_MULTI + MP_BC_STORE_FAST_MULTI_NUM - 1] = &&entry_MP_BC_STORE_FAST_MULTI,
           ^
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[192]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[193]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[194]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[195]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[196]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[197]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[198]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[199]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[200]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[201]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[202]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[203]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[204]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[205]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[206]’) [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:118:5: error: (near initialization for ‘entry_table[207]’) [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: (near initialization for ‘entry_table[248]’) [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: initialized field overwritten [-Werror=override-init]
      ../py/vmentrytable.h:120:5: error: (near initialization for ‘entry_table[249]’) [-Werror=override-init]
      cc1: all warnings being treated as errors
      make: *** [build/py/vm.o] 错误 1
      make: *** 正在等待未完成的任务....
      make:离开目录“/home/zjw/openmv_v4.2.1/src/micropython/mpy-cross”
      


    • @kidswong999
      我就是按照你的步骤 解压之后 进入代码根目录 执行:make -j$(nproc) -C src/micropython/mpy-cross



    • 你可以上传log的文件。

      你从头开始,重新安装gcc软件。

      然后把所有的log发上来。包括安装的log。



    • 另外,Ubuntu14.04已经太老了,我用的是18.04。



    • @kidswong999

      18.04版本能装ppa这个仓库吗? 我的装不了,提示只能在14.10以下版本吧

      sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
       This PPA is an alternative to toolchain released at https://launchpad.net/gcc-arm-embedded. The source codes for both are same. Currently supports Ubuntu 10.04/12.04/14.04/14.10 32 and 64 bit.
      
      Detailed explanations to Launchpad PPA can be found at https://help.launchpad.net/Packaging/. That website explains how a PPA is set up and how to add existing PPA and install software from it.
      
      Here are quick steps to install toolchain from this PPA on Ubuntu before 14.04:
      
      Step1: Inside Ubuntu, open a terminal and input
             "sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa"
      
      Step2: Continue to input
             "sudo apt-get update"
      
      Step3: Continue to input to install toolchain
             "sudo apt-get install gcc-arm-embedded"
      
      To remove installed toolchain, just input "sudo apt-get remove gnu-arm-embedded".
      To update the toolchain, just repeat above step2 and step3.
      
      If it reports error message of conflict to gcc-arm-none-eabi, which is likely if upgrading from 4.x to 5+, please uninstall it first with:
             "sudo apt-get remove gcc-arm-none-eabi"
      
      Questions should be asked at https://answers.launchpad.net/gcc-arm-embedded
      
      Bug can be filed at https://bugs.launchpad.net/gcc-arm-embedded/+filebug. It is highly encouraged to ask question first before filing a bug.
       更多信息: https://launchpad.net/~team-gcc-arm-embedded/+archive/ubuntu/ppa
      按 [ENTER] 继续或 Ctrl-c 取消安装。
      
      命中:1 http://packages.microsoft.com/repos/code stable InRelease
      忽略:2 http://ppa.launchpad.net/team-gcc-arm-embedded/ppa/ubuntu focal InRelease
      错误:3 http://ppa.launchpad.net/team-gcc-arm-embedded/ppa/ubuntu focal Release 
        404  Not Found [IP: 91.189.95.85 80]
      命中:4 http://mirrors.aliyun.com/ubuntu focal InRelease
      命中:5 http://mirrors.aliyun.com/ubuntu focal-updates InRelease
      命中:6 http://mirrors.aliyun.com/ubuntu focal-backports InRelease
      命中:7 http://mirrors.aliyun.com/ubuntu focal-security InRelease
      正在读取软件包列表... 完成
      E: 仓库 “http://ppa.launchpad.net/team-gcc-arm-embedded/ppa/ubuntu focal Release” 没有 Release 文件。
      N: 无法安全地用该源进行更新,所以默认禁用该源。
      N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
      


    • @kidswong999

      你好 我重新装了18.04版本的Ubuntu 按照教程 编译成功了 非常感谢你的指导,根据我踩的坑:我还是要分享下:因为我试过14.04 16.04 20.04版本 都不行,所以有必要把版本明确一下,建议使用18.04版本的Ubuntu,才能编译成功。谢谢!



    • 装完系统之后,得apt update 和 apt upgrade,你是不是没更新全部的软件。最起码20.04是没问题的,OpenMV自动编译服务器里用的就是20.04的docker。