zoukankan      html  css  js  c++  java
  • mtdutil问题

    编辑mtd-utile时会出现这样的错误:
    compr_lzo.c:31:23: lzo/lzo1x.h: 没有那个文件或目录
    compr_lzo.c: In function `jffs2_lzo_cmpr':
    compr_lzo.c:53: `lzo_uint' undeclared (first use in this function)
    compr_lzo.c:53: (Each undeclared identifier is reported only once
    compr_lzo.c:53: for each function it appears in.)
    compr_lzo.c:53: syntax error before "compress_size"
    compr_lzo.c:56: warning: implicit declaration of function `lzo1x_999_compress'
    compr_lzo.c:56: `compress_size' undeclared (first use in this function)
    compr_lzo.c:58: `LZO_E_OK' undeclared (first use in this function)
    compr_lzo.c: In function `jffs2_lzo_decompress':
    compr_lzo.c:74: `lzo_uint' undeclared (first use in this function)
    compr_lzo.c:74: syntax error before "dl"
    compr_lzo.c:76: warning: implicit declaration of function `lzo1x_decompress_safe'
    compr_lzo.c:76: `dl' undeclared (first use in this function)
    compr_lzo.c:78: `LZO_E_OK' undeclared (first use in this function)
    compr_lzo.c: In function `jffs2_lzo_init':
    compr_lzo.c:97: `LZO1X_999_MEM_COMPRESS' undeclared (first use in this function)
    make: *** [/home/wu/mtd-utils-baafd8a/compr_lzo.o] 错误 1
    rm /home/wu/mtd-utils-baafd8a/doc_loadbios.o /home/wu/mtd-utils-baafd8a/flash_erase.o /home/wu/mtd-utils-baafd8a/ftl_format.o /home/wu/mtd-utils-baafd8a/nanddump.o /home/wu/mtd-utils-baafd8a/ftl_check.o
    这是由于缺少liblzo在下面下载:
    http://www.oberhumer.com/opensource/lzo/download/lzo-2.00.tar.gz
    安装上后编译通过。

  • 相关阅读:
    VBS基础篇
    AcWing249 蒲公英(分块)
    CF1338B Edge Weight Assignment(思维+dfs)
    CF785E Anton and Permutation(分块)
    UCF Local Programming Contest 2015(Practice)D题
    AcWing851 spfa求最短路
    CF479E Riding in a Lift (dp)
    AcWing267 莫基亚(CDQ分治)
    P4093 [HEOI2016/TJOI2016]序列 (CDQ分治)
    2019ICPC南昌区域赛C题 And and Pair(数位dp)
  • 原文地址:https://www.cnblogs.com/fensnote/p/13436518.html
Copyright © 2011-2022 走看看