您尚未登录。

楼主 #1 2020-05-20 23:37:45

luciferseva
会员
注册时间: 2020-05-20
已发帖子: 58
积分: 51.5

V3S 根文件系统之buildroot make出现问题,有没有大神帮助解答一下,安装官网流程,为啥下载下来编译会这样

编译log:

./../misc/create_inode.c:176:16: warning: implicit declaration of function ‘lgetxattr’; did you mean ‘getdate_r’? [-Wimplicit-function-declaration]
   value_size = lgetxattr(filename, name, NULL, 0);
                ^~~~~~~~~
                getdate_r
./../misc/create_inode.c: At top level:
./../misc/create_inode.c:399:18: error: conflicting types for ‘copy_file_range’
 static errcode_t copy_file_range(ext2_filsys fs, int fd, ext2_file_t e2_file,
                  ^~~~~~~~~~~~~~~
In file included from ./../misc/create_inode.c:19:0:
/usr/include/unistd.h:1110:9: note: previous declaration of ‘copy_file_range’ was here
 ssize_t copy_file_range (int __infd, __off64_t *__pinoff,
         ^~~~~~~~~~~~~~~
Makefile:422: recipe for target 'create_inode.o' failed
make[3]: *** [create_inode.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/lucifer/lizhe/buildroot-2017.08/output/build/host-e2fsprogs-1.43.4/debugfs'
Makefile:404: recipe for target 'all-progs-recursive' failed
make[2]: *** [all-progs-recursive] Error 1
make[2]: Leaving directory '/home/lucifer/lizhe/buildroot-2017.08/output/build/host-e2fsprogs-1.43.4'
Makefile:339: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/lucifer/lizhe/buildroot-2017.08/output/build/host-e2fsprogs-1.43.4'
package/pkg-generic.mk:227: recipe for target '/home/lucifer/lizhe/buildroot-2017.08/output/build/host-e2fsprogs-1.43.4/.stamp_built' failed
make: *** [/home/lucifer/lizhe/buildroot-2017.08/output/build/host-e2fsprogs-1.43.4/.stamp_built] Error 2

离线

楼主 #3 2020-05-21 07:28:58

luciferseva
会员
注册时间: 2020-05-20
已发帖子: 58
积分: 51.5

Re: V3S 根文件系统之buildroot make出现问题,有没有大神帮助解答一下,安装官网流程,为啥下载下来编译会这样

windcys 说:

我的也是编译不成功,正在查找原因。

晕哥帮忙看看哇?

离线

楼主 #6 2020-05-21 09:20:36

luciferseva
会员
注册时间: 2020-05-20
已发帖子: 58
积分: 51.5

Re: V3S 根文件系统之buildroot make出现问题,有没有大神帮助解答一下,安装官网流程,为啥下载下来编译会这样

bubailong 说:

你buildroot选择的不是EXT4吧

在哪里选择,在哪里看?

离线

楼主 #8 2020-05-21 09:38:53

luciferseva
会员
注册时间: 2020-05-20
已发帖子: 58
积分: 51.5

Re: V3S 根文件系统之buildroot make出现问题,有没有大神帮助解答一下,安装官网流程,为啥下载下来编译会这样

bubailong 说:

选了

离线

楼主 #9 2020-05-21 15:13:26

luciferseva
会员
注册时间: 2020-05-20
已发帖子: 58
积分: 51.5

Re: V3S 根文件系统之buildroot make出现问题,有没有大神帮助解答一下,安装官网流程,为啥下载下来编译会这样

还有个疑问,网上的镜像,有区分flash的大小嘛?应该都可以把?因为在配置buildroot的时候,没有选择flash的大小啊?

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn