Skip to content

【BUG】make clean 会导致第二次编译失败 #7

@YY-China

Description

@YY-China

编译机型:XY-C1

第一次编译成功

make clean 后 进行第二次编译 报错:

ROMFS util-linux
make -C util-linux romfs
make[4]: Entering directory '/root/padavan-4.4/trunk/user/util-linux'
install -d -m0755 /root/padavan-4.4/trunk/romfs/sbin
install -m0755 /root/padavan-4.4/trunk/stage/sbin/blkid /root/padavan-4.4/trunk/romfs/sbin/blkid
install: cannot stat '/root/padavan-4.4/trunk/stage/sbin/blkid': No such file or directory
make[4]: *** [Makefile:92: romfs] Error 1
make[4]: Leaving directory '/root/padavan-4.4/trunk/user/util-linux'
make[3]: *** [Makefile:266: util-linux_romfs] Error 2
make[3]: Leaving directory '/root/padavan-4.4/trunk/user'
make[2]: *** [Makefile:206: user_romfs] Error 2
make[2]: Leaving directory '/root/padavan-4.4/trunk'
make[1]: *** [Makefile:14: build] Error 2
make[1]: Leaving directory '/root/padavan-4.4'
make: *** [Makefile:34: XY-C1] Error 2

初步检查发现:
trunk/stage/sbin 文件夹内 首次已经编译好的blkid等文件会被删除 第二次编译没有生成 导致编译失败!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions