FAQ: [#6775] mkfs.ubifs.c fails to be built with 2011 trunk head toolchain(2011)

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

[#6775] mkfs.ubifs.c fails to be built with 2011 trunk head toolchain

Submitted By: Mingquan Pan

Open Date

2011-08-31 22:06:13     Close Date

2011-10-19 03:36:19

Priority:

Medium     Assignee:

steven miao

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2011R1     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

trunk head

App binary format:

N/A     

Summary: mkfs.ubifs.c fails to be built with 2011 trunk head toolchain

Details:

 

mkfs.ubifs.c fails to be built with 2011 trunk head toolchain.

 

mkdir -p /home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils/build-fec81abd9593fe11ba8577d38e4143e5708e3343-host/mkfs.ubifs/hashtable/^M

gcc -I../include -I../ubi-utils/include   -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wextra -Wwrite-strings -Wno-sign-compare -ffunction-sections -fdata-sections -Wl,--gc-sections -c -o /home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils/build-fec81abd9593fe11ba8577d38e4143e5708e3343-host/mkfs.ubifs/hashtable/hashtable.o hashtable/hashtable.c -g -Wp,-MD,/home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils/build-fec81abd9593fe11ba8577d38e4143e5708e3343-host/mkfs.ubifs/.hashtable.c.dep^M

gcc: --gc-sections: linker input file unused because linking not done^M

mkdir -p /home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils/build-fec81abd9593fe11ba8577d38e4143e5708e3343-host/mkfs.ubifs/hashtable/^M

gcc -I../include -I../ubi-utils/include   -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wextra -Wwrite-strings -Wno-sign-compare -ffunction-sections -fdata-sections -Wl,--gc-sections -c -o /home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils/build-fec81abd9593fe11ba8577d38e4143e5708e3343-host/mkfs.ubifs/hashtable/hashtable_itr.o hashtable/hashtable_itr.c -g -Wp,-MD,/home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils/build-fec81abd9593fe11ba8577d38e4143e5708e3343-host/mkfs.ubifs/.hashtable_itr.c.dep^M

gcc: --gc-sections: linker input file unused because linking not done^M

mkdir -p /home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils/build-fec81abd9593fe11ba8577d38e4143e5708e3343-host/mkfs.ubifs/^M

gcc -I../include -I../ubi-utils/include   -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wextra -Wwrite-strings -Wno-sign-compare -ffunction-sections -fdata-sections -Wl,--gc-sections -c -o /home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils/build-fec81abd9593fe11ba8577d38e4143e5708e3343-host/mkfs.ubifs/mkfs.ubifs.o mkfs.ubifs.c -g -Wp,-MD,/home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils/build-fec81abd9593fe11ba8577d38e4143e5708e3343-host/mkfs.ubifs/.mkfs.ubifs.c.dep^M

mkfs.ubifs.c: In function ‘add_inode_with_data’:^M

mkfs.ubifs.c:1066: error: ‘FS_COMPR_FL’ undeclared (first use in this function)^M

mkfs.ubifs.c:1066: error: (Each undeclared identifier is reported only once^M

mkfs.ubifs.c:1066: error: for each function it appears in.)^M

mkfs.ubifs.c:1068: error: ‘FS_SYNC_FL’ undeclared (first use in this function)^M

mkfs.ubifs.c:1070: error: ‘FS_IMMUTABLE_FL’ undeclared (first use in this function)^M

mkfs.ubifs.c:1072: error: ‘FS_APPEND_FL’ undeclared (first use in this function)^M

mkfs.ubifs.c:1074: error: ‘FS_DIRSYNC_FL’ undeclared (first use in this function)^M

mkfs.ubifs.c: In function ‘add_dir_inode’:^M

mkfs.ubifs.c:1145: error: ‘FS_IOC_GETFLAGS’ undeclared (first use in this function)^M

mkfs.ubifs.c: In function ‘add_file’:^M

mkfs.ubifs.c:1331: error: ‘FS_COMPR_FL’ undeclared (first use in this function)^M

mkfs.ubifs.c: In function ‘add_non_dir’:^M

mkfs.ubifs.c:1375: error: ‘FS_IOC_GETFLAGS’ undeclared (first use in this function)^M

make[4]: *** [/home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils/build-fec81abd9593fe11ba8577d38e4143e5708e3343-host/mkfs.ubifs/mkfs.ubifs.o] Error 1^M

make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils/fec81abd9593fe11ba8577d38e4143e5708e3343/mkfs.ubifs'^M

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

make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils'^M

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

make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user'^M

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

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user'^M

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

 

Follow-ups

 

--- steven miao                                              2011-09-15 03:48:17

update snapshot from upstream

 

--- Mingquan Pan                                             2011-10-19 03:41:40

mtd-utils ubifs utilties can be built ok now on BF561-EZKIT. So close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes