2010-07-02 04:15:51     mtd compile error

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

2010-07-02 04:15:51     mtd compile error

tao zhang (CHINA)

Message: 90825   

 

HI:

 

   My host is Red Hat Enterprise Linux 5, and uClinux distribute  version is "uClinux-dist-2009R1.1-RC4" .

 

   When I use "make" to compile, complication errors occurs for compr_zlib.c, in "user/mtd-utils".

 

   BTW, can you tell me how to set SDRAM using menuconfig?

QuoteReplyEditDelete

 

 

2010-07-02 04:38:48     Re: mtd compile error

tao zhang (CHINA)

Message: 90826   

 

HI:

 

   Sorry, the errors occurs for compr_lzo.c, not compr_zlib.c.

QuoteReplyEditDelete

 

 

2010-07-02 11:13:33     Re: mtd compile error

Mike Frysinger (UNITED STATES)

Message: 90836   

 

you need to properly configure your host first:

https://docs.blackfin.uclinux.org/doku.php?id=setting_up_your_development_host

 

SDRAM settings are handled in u-boot only:

https://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:porting#blackfin_settings

QuoteReplyEditDelete

 

 

2010-07-06 01:44:09     Re: mtd compile error

tao zhang (CHINA)

Message: 90932   

 

HI:

 

     In https://docs.blackfin.uclinux.org/doku.php?id=setting_up_your_development_host, it dosn't mention I want to install lzo.

QuoteReplyEditDelete

 

 

2010-07-06 03:47:40     Re: mtd compile error

tao zhang (CHINA)

Message: 90947   

 

HI:

 

     I installed lzo_2.05, this error does not occor.

 

    But I have another compile error for "uClinux-dist/images/rootfs-summary.jffs2",  can you tell me what's wrong with me?

QuoteReplyEditDelete

 

 

2010-07-06 04:03:41     Re: mtd compile error

tao zhang (CHINA)

Message: 90948   

 

HI:

 

     I change "<M> Journalling Flash File System v2 (JFFS2) support " to "<*> Journalling Flash File System v2 (JFFS2) support", I can compile successfully.

QuoteReplyEditDelete

 

 

2010-07-06 08:05:29     Re: mtd compile error

Mike Frysinger (UNITED STATES)

Message: 90955   

 

yes, it does

QuoteReplyEditDelete

 

 

2010-07-06 08:06:16     Re: mtd compile error

Mike Frysinger (UNITED STATES)

Message: 90956   

 

if you dont post any actual error messages, then there is no way for us to even guess at the problem

Attachments

    Outcomes