[#4985] build kernel failed at mkdosfs when dosfsck is disabled

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

[#4985] build kernel failed at mkdosfs when dosfsck is disabled

Submitted By: Vivi Li

Open Date

2009-03-12 04:12:34     Close Date

2009-03-12 23:29:13

Priority:

Medium     Assignee:

Mike Frysinger

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Make Errors     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1_2009-01-19

App binary format:

N/A     

Summary: build kernel failed at mkdosfs when dosfsck is disabled

Details:

 

When USER_DOSFSTOOLS_MKDOSFS is selected and USER_DOSFSTOOLS_DOSFSCK is not selected, build kernel will fail. Bellow is the log:

 

--

(CONFIG_USER_DOSFSTOOLS_MKDOSFS=y; # CONFIG_USER_DOSFSTOOLS_DOSFSCK is not set)

 

make[2]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/dosfstools'

romfs-inst.sh -e CONFIG_USER_DOSFSTOOLS_MKDOSFS dosfstools-3.0.2/mkdosfs /sbin/mkdosfs

cp: cannot stat `dosfstools-3.0.2/mkdosfs': No such file or directory

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

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

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

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

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

--

 

Kernel can build when both USER_DOSFSTOOLS_MKDOSFS and USER_DOSFSTOOLS_DOSFSCK are selected.

--

(CONFIG_USER_DOSFSTOOLS_MKDOSFS=y; CONFIG_USER_DOSFSTOOLS_DOSFSCK=y)

 

make[2]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/dosfstools'

romfs-inst.sh -e CONFIG_USER_DOSFSTOOLS_MKDOSFS dosfstools-3.0.2/mkdosfs /sbin/mkdosfs

romfs-inst.sh -e CONFIG_USER_DOSFSTOOLS_MKDOSFS -s mkdosfs /sbin/mkfs.msdos

romfs-inst.sh -e CONFIG_USER_DOSFSTOOLS_MKDOSFS -s mkdosfs /sbin/mkfs.vfat

romfs-inst.sh -e CONFIG_USER_DOSFSTOOLS_DOSFSCK dosfstools-3.0.2/dosfsck /sbin/dosfsck

romfs-inst.sh -e CONFIG_USER_DOSFSTOOLS_DOSFSCK -s dosfsck /sbin/fsck.msdos

romfs-inst.sh -e CONFIG_USER_DOSFSTOOLS_DOSFSCK -s dosfsck /sbin/fsck.vfat

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

--

 

Follow-ups

 

--- Mike Frysinger                                           2009-03-12 04:19:46

should be fixed now ... looks like when i cleaned up, i inverted the logic

between config and binary name

 

--- Vivi Li                                                  2009-03-12 23:29:13

OK, close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes