mtd-util问题

简介: mtd-util问题

编辑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

安装上后编译通过。

目录
相关文章
|
4月前
|
Java Windows
[main] DEBUG Sigar - no sigar-amd64-winnt.dll in java.library.path org.hyperic.sigar.SigarException:
[main] DEBUG Sigar - no sigar-amd64-winnt.dll in java.library.path org.hyperic.sigar.SigarException:
67 1
|
4月前
|
Java C++
Java中的Pair
Java中的Pair
45 0
|
9月前
|
Web App开发 Shell Linux
CATCTF_Misc
CATCTF_Misc
59 0
|
9月前
|
Shell Python
世安杯-Misc
世安杯-Misc
61 0
|
缓存 Java API
SPI 在 Java 中的实现与应用
sharding-jdbc 是一款用于分库分表的中间件,在数据库分布式场景中,为了保证数据库主键的唯一性,会采取相应的主键生成策略,而主键生成策略有很多种实现。sharding-jdbc 在主键生成策略使用了 SPI 进行装配。
56 0
|
Java
java.lang.UnsatisfiedLinkError: JNA support (com/sun/jna/android-arm/libjnidispatch.so) not found
java.lang.UnsatisfiedLinkError: JNA support (com/sun/jna/android-arm/libjnidispatch.so) not found
93 0
|
Linux
Misc1
什么是编译进内核与制作成模块 编译进内核意味着内核对这一类的功能不会在依赖其他的东西, 说白了就是所谓静态编译, 内核在启动的时候就会拥有这一部分的功能, 但是这样内核的体积就会变大 编译成模块, 其实就是指制作成动态链接库, 在内核需要这一部分的功能的时候, 内核调用一个函数的声明, 这样内核会自动寻找指定路径下的.
839 0
|
Java 数据库连接 数据安全/隐私保护