2009-06-23 11:33:49     Compilation errors after enabling MTD & JFFS2 in uclinux-dist-trunk-svn

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-06-23 11:33:49     Compilation errors after enabling MTD & JFFS2 in uclinux-dist-trunk-svn

Santhosh Kumar (INDIA)

Message: 76194   

 

Hi,

 

I am using uclinux-dist-trunk-svn, and i have enabled MTD and JFFS2 support.

 

But compilation is not successfull. But i have done the same thing in uClinux-dist-2008R1.5 and compilation is successfull.

 

Do i have to enable any other option for svn trunk? Pls find some of compilation errors below,

 

compr_lzo.c:29:23: error: lzo/lzo1x.h: No such file or directory

compr_lzo.c: In function âjffs2_lzo_cmprâ:

compr_lzo.c:51: error: âlzo_uintâ undeclared (first use in this function)

compr_lzo.c:51: error: (Each undeclared identifier is reported only once

compr_lzo.c:51: error: for each function it appears in.)

compr_lzo.c:51: error: expected â;â before âcompress_sizeâ

compr_lzo.c:54: warning: implicit declaration of function âlzo1x_999_compressâ

compr_lzo.c:54: error: âcompress_sizeâ undeclared (first use in this function)

compr_lzo.c:56: error: âLZO_E_OKâ undeclared (first use in this function)

compr_lzo.c:49: warning: unused parameter âmodelâ

compr_lzo.c: In function âjffs2_lzo_decompressâ:

compr_lzo.c:72: error: âlzo_uintâ undeclared (first use in this function)

compr_lzo.c:72: error: expected â;â before âdlâ

compr_lzo.c:74: warning: implicit declaration of function âlzo1x_decompress_safeâ

compr_lzo.c:74: error: âdlâ undeclared (first use in this function)

compr_lzo.c:76: error: âLZO_E_OKâ undeclared (first use in this function)

compr_lzo.c:69: warning: unused parameter âmodelâ

compr_lzo.c: At top level:

compr_lzo.c:84: warning: initialization discards qualifiers from pointer target type

compr_lzo.c: In function âjffs2_lzo_initâ:

compr_lzo.c:95: error: âLZO1X_999_MEM_COMPRESSâ undeclared (first use in this function)

QuoteReplyEditDelete

 

 

2009-06-23 11:46:06     Re: Compilation errors after enabling MTD & JFFS2 in uclinux-dist-trunk-svn

Mike Frysinger (UNITED STATES)

Message: 76198   

 

please read the documentation.  you havent installed all the necessary packages on your host like the lzo development package.

  docs.blackfin.uclinux.org/doku.php?id=installing_linux

Attachments

    Outcomes