2009-10-26 09:34:33     2009R1-RC6 build failure

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

2009-10-26 09:34:33     2009R1-RC6 build failure

Randy Young (UNITED STATES)

Message: 81707   

 

Package: 2009R1-RC6 (

 

 

 

LINK    busybox_unstripped

Trying libraries: crypt m

Library crypt is not needed, excluding it

Library m is not needed, excluding it

Final link with: <none>

make[4]: Leaving directory `/home/CSD/ryoung/blackfin/uClinux-dist/user/busybox/build-busybox-1.13.4'

make[3]: Leaving directory `/home/CSD/ryoung/blackfin/uClinux-dist/user/busybox'

make[2]: Leaving directory `/home/CSD/ryoung/blackfin/uClinux-dist/user'

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

make[1]: Leaving directory `/home/CSD/ryoung/blackfin/uClinux-dist/user'

make: *** [subdirs] Error 1

CSD\ryoung@superman:~/blackfin/uClinux-dist$

 

build_failure.log

QuoteReplyEditDelete

 

 

2009-10-26 09:47:12     Re: 2009R1-RC6 build failure

Randy Young (UNITED STATES)

Message: 81708   

 

Sorry - added the log file and it added the thread.  Here is more information about my configuration:

 

Package: 2009R1-RC6 (uClinux-dist-2009R1-RC6.tar.bz2)

Toolchain: 09r1-10 (blackfin-toolchain-09r1-10.i386.tar.bz2)

Product: BF527-EZKIT

 

I downloaded the toolchain and package, did a "make menuconfig" and selected Vendor AnalogDevices and AnalogDevices Products BF527-EZKIT.  I exited menuconfig and then did "make".   You can see the resulting error in the attached log, the end of which is shown above.

 

Can you help me figure out what I am doing wrong?

 

Thanks,

Randy

QuoteReplyEditDelete

 

 

2009-10-26 09:58:18     Re: 2009R1-RC6 build failure

Michael Hennerich (GERMANY)

Message: 81709    The error happens earlier -

 

Take a look here:

  blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=4164

 

You're missing some lzo dev packages.

 

Please install them or simply disable mtd-utils.

-Michael

 

make[4]: Entering directory `/home/CSD/ryoung/blackfin/uClinux-dist/user/mtd-utils/606f38a2221648ca5c5fa292c9f71d2ddd59fa66'

make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.

mkdir -p /home/CSD/ryoung/blackfin/uClinux-dist/user/mtd-utils/build-606f38a2221648ca5c5fa292c9f71d2ddd59fa66-host/

gcc -I./include -DWITHOUT_XATTR -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wextra -Wwrite-strings -Wno-sign-compare -c -o /home/CSD/ryoung/blackfin/uClinux-dist/user/mtd-utils/build-606f38a2221648ca5c5fa292c9f71d2ddd59fa66-host/mkfs.jffs2.o mkfs.jffs2.c -g -Wp,-MD,/home/CSD/ryoung/blackfin/uClinux-dist/user/mtd-utils/build-606f38a2221648ca5c5fa292c9f71d2ddd59fa66-host/.mkfs.jffs2.c.dep

CC archival/libunarchive/data_extract_to_buffer.o

mkfs.jffs2.c:73:18: error: zlib.h: No such file or directory

CC archival/libunarchive/data_extract_to_stdout.o

mkfs.jffs2.c: In function ârecursive_add_host_directoryâ:

mkfs.jffs2.c:435: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result

mkfs.jffs2.c:440: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result

mkfs.jffs2.c:442: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result

mkfs.jffs2.c: In function âinterpret_table_entryâ:

mkfs.jffs2.c:533: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result

mkfs.jffs2.c:600: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result

mkfs.jffs2.c:601: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result

mkfs.jffs2.c: In function ârecursive_populate_directoryâ:

mkfs.jffs2.c:1336: warning: format â%9luâ expects type âlong unsigned intâ, but argument 3 has type â__off64_tâ

mkfs.jffs2.c:1345: warning: format â%9luâ expects type âlong unsigned intâ, but argument 3 has type â__off64_tâ

mkfs.jffs2.c:1354: warning: format â%9luâ expects type âlong unsigned intâ, but argument 3 has type â__off64_tâ

mkfs.jffs2.c:1384: warning: format â%9luâ expects type âlong unsigned intâ, but argument 3 has type â__off64_tâ

mkfs.jffs2.c:1395: warning: format â%9luâ expects type âlong unsigned intâ, but argument 3 has type â__off64_tâ

mkfs.jffs2.c: At top level:

mkfs.jffs2.c:1519: warning: initialization discards qualifiers from pointer target type

mkfs.jffs2.c:1521: warning: initialization discards qualifiers from pointer target type

mkfs.jffs2.c: In function âmainâ:

mkfs.jffs2.c:1881: warning: passing argument 2 of ârecursive_add_host_directoryâ discards qualifiers from pointer target type

CC archival/libunarchive/data_skip.o

make[4]: *** [/home/CSD/ryoung/blackfin/uClinux-dist/user/mtd-utils/build-606f38a2221648ca5c5fa292c9f71d2ddd59fa66-host/mkfs.jffs2.o] Error 1

make[4]: Leaving directory `/home/CSD/ryoung/blackfin/uClinux-dist/user/mtd-utils/606f38a2221648ca5c5fa292c9f71d2ddd59fa66'

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

make[3]: Leaving directory `/home/CSD/ryoung/blackfin/uClinux-dist/user/mtd-utils'

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

make[2]: *** Waiting for unfinished jobs....

QuoteReplyEditDelete

 

 

2009-10-26 11:47:21     Re: 2009R1-RC6 build failure

Randy Young (UNITED STATES)

Message: 81710   

 

Thanks for the help.  I added that package plus a few others that were missing and it fixed the problem.

Attachments

Outcomes