2009-03-12 06:58:31     uClinus-Dist compilation problem

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

2009-03-12 06:58:31     uClinus-Dist compilation problem

Parimala Baggiri (INDIA)

Message: 70847   

 

Hello,

 

           I am compiling my uClinux-Dist and tool chain with latest svn version. Getting the following compilation problem

installing ../../e2fsprogs-1.41.4/po/vi.gmo as /home/srinivas/OneAccess/project/uClinux/uclinux-dist/staging/usr/share/locale/vi/LC_MESSAGES/e2fsprogs.mo

if test "e2fsprogs" = "gettext-tools"; then \

          /bin/sh ../../e2fsprogs-1.41.4/config/mkinstalldirs /home/srinivas/OneAccess/project/uClinux/uclinux-dist/staging/usr/share/gettext/po; \

          for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \

            /usr/bin/install -c -m 644 ../../e2fsprogs-1.41.4/po/$file \

                            /home/srinivas/OneAccess/project/uClinux/uclinux-dist/staging/usr/share/gettext/po/$file; \

          done; \

          for file in Makevars; do \

            rm -f /home/srinivas/OneAccess/project/uClinux/uclinux-dist/staging/usr/share/gettext/po/$file; \

          done; \

        else \

          : ; \

        fi

make[5]: Leaving directory `/home/srinivas/OneAccess/project/uClinux/uclinux-dist/user/e2fsprogs/build-e2fsprogs-1.41.4/po'

if test ! -d e2fsck && test ! -d debugfs && test ! -d misc && test ! -d ext2ed ; then make install-libs ; fi

make[4]: Leaving directory `/home/srinivas/OneAccess/project/uClinux/uclinux-dist/user/e2fsprogs/build-e2fsprogs-1.41.4'

make DVI=true MAKEINFO=true post-build

make[4]: Entering directory `/home/srinivas/OneAccess/project/uClinux/uclinux-dist/user/e2fsprogs'

make[4]: Nothing to be done for `post-build'.

make[4]: Leaving directory `/home/srinivas/OneAccess/project/uClinux/uclinux-dist/user/e2fsprogs'

/home/srinivas/OneAccess/project/uClinux/uclinux-dist/tools/cross-fix-root

make[3]: Leaving directory `/home/srinivas/OneAccess/project/uClinux/uclinux-dist/user/e2fsprogs'

make[2]: Leaving directory `/home/srinivas/OneAccess/project/uClinux/uclinux-dist/user'

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

make[1]: Leaving directory `/home/srinivas/OneAccess/project/uClinux/uclinux-dist/user'

make: *** [subdirs] Error 1

 

Regards

Parimala

 

 

              

 

 

QuoteReplyEditDelete

 

 

2009-03-12 07:04:45     Re: uClinus-Dist compilation problem

Mike Frysinger (UNITED STATES)

Message: 70850   

 

run `make single` to work around the problem

QuoteReplyEditDelete

 

 

2009-03-12 07:58:23     Re: uClinus-Dist compilation problem

Parimala Baggiri (INDIA)

Message: 70853   

 

Hello Mike,

 

                    I tried 'make single',  now facing the different compilation problem

 

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]: *** [/home/srinivas/OneAccess/project/uClinux/uclinux-dist/user/mtd-utils/build-a2d010f8fca904fffa3c6e5a5d148cc96a37a08a-host/compr_lzo.o] Error 1

make[5]: Leaving directory `/home/srinivas/OneAccess/project/uClinux/uclinux-dist/user/mtd-utils/a2d010f8fca904fffa3c6e5a5d148cc96a37a08a'

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

make[4]: Leaving directory `/home/srinivas/OneAccess/project/uClinux/uclinux-dist/user/mtd-utils'

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

make[3]: Leaving directory `/home/srinivas/OneAccess/project/uClinux/uclinux-dist/user'

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

make[2]: Leaving directory `/home/srinivas/OneAccess/project/uClinux/uclinux-dist/user'

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

make[1]: Leaving directory `/home/srinivas/OneAccess/project/uClinux/uclinux-dist'

make: *** [single] Error 2

 

Thank You

 

Regards

 

Parimala

 

 

QuoteReplyEditDelete

 

 

2009-03-12 08:08:12     Re: uClinus-Dist compilation problem

Mike Frysinger (UNITED STATES)

Message: 70855   

 

please read the documentation.  your system is missing lzo support.

 

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

QuoteReplyEditDelete

 

 

2009-03-12 08:52:40     Re: uClinus-Dist compilation problem

Parimala Baggiri (INDIA)

Message: 70857   

 

Thank you Mike, It compiled successfully.

 

Regards

 

Parimala

QuoteReplyEditDelete

 

 

2009-03-23 13:56:26     Re: uClinus-Dist compilation problem

raghu mulagada (UNITED STATES)

Message: 71379   

 

Thank you for he tip

 

i figured out the problem

 

raghu

Attachments

    Outcomes