2009-03-19 13:39:23     uClinux trunk on BF527-EZKIT

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

2009-03-19 13:39:23     uClinux trunk on BF527-EZKIT

Ulisses Montenegro (BRAZIL)

Message: 71274   

 

Is current uClinux svn working for the BF527-EZKIT target? I did a checkout (revision 7856) and, after configuring it for a BF527 target (with absolutely no other changes either to kernel or to vendor/apps settings) I get an error on mtd-utils:

 

gcc -I./include   -DWITHOUT_XATTR -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wextra -Wwrite-strings -Wno-sign-compare -c -o /export/urma/uclinux-dist-trunk-svn-7856/user/mtd-utils/build-a2d010f8fca904fffa3c6e5a5d148cc96a37a08a-host/compr_lzo.o compr_lzo.c -g -Wp,-MD,/export/urma/uclinux-dist-trunk-svn-7856/user/mtd-utils/build-a2d010f8fca904fffa3c6e5a5d148cc96a37a08a-host/.compr_lzo.c.dep

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)

make[5]: *** [/export/urma/uclinux-dist-trunk-svn-7856/user/mtd-utils/build-a2d010f8fca904fffa3c6e5a5d148cc96a37a08a-host/compr_lzo.o] Error 1

make[5]: Leaving directory `/export/urma/uclinux-dist-trunk-svn-7856/user/mtd-utils/a2d010f8fca904fffa3c6e5a5d148cc96a37a08a'

make[4]: *** [all] Error 2

make[4]: Leaving directory `/export/urma/uclinux-dist-trunk-svn-7856/user/mtd-utils'

make[3]: *** [mtd-utils] Error 2

make[3]: Leaving directory `/export/urma/uclinux-dist-trunk-svn-7856/user'

make[2]: *** [all] Error 2

make[2]: Leaving directory `/export/urma/uclinux-dist-trunk-svn-7856/user'

make[1]: *** [subdirs] Error 1

make[1]: Leaving directory `/export/urma/uclinux-dist-trunk-svn-7856'

make: *** [single] Error 2

 

I did notice that the latest binary available for the BF527 is based on revision 7847. Is there a place to check out for known broken revisions? Even better, is there a standard procedure for obtaining 'last known good' releases for a given platform?

QuoteReplyEditDelete

 

 

2009-03-19 14:10:52     Re: uClinux trunk on BF527-EZKIT

Matthew Barousse (UNITED STATES)

Message: 71275   

 

I had this same errors you did this morning, so I think it might be just a current bug with the trunk (or we're bothin doing something wrong). I didn't need the modules that were not compiling, however, so I just excluded them and everything built fine after that.

QuoteReplyEditDelete

 

 

2009-03-19 17:32:46     Re: uClinux trunk on BF527-EZKIT

Mike Frysinger (UNITED STATES)

Message: 71278   

 

you need to install the lzo development packages on your host

Attachments

    Outcomes