mtd-util問題

來源:互聯網
上載者:User

編輯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

安裝上後編譯通過。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.