您尚未登录。

楼主 # 2022-07-27 10:52:20

tevada2010
会员
注册时间: 2022-07-23
已发帖子: 54
积分: 69

我编译buildroot,它给出了这个错误,如何修复它?

我编译buildroot,它给出了这个错误,如何修复它?

freadahead.c: In function 'freadahead':
freadahead.c:92:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
   92 |  #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
      |   ^~~~~
make[5]: *** [Makefile:1915: freadahead.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  CC       printf-parse.o
fseeko.c: In function 'rpl_fseeko':
fseeko.c:110:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
  110 |   #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
      |    ^~~~~
make[5]: *** [Makefile:1915: fseeko.o] Error 1
make[4]: *** [Makefile:1674: all] Error 2
make[3]: *** [Makefile:1572: all-recursive] Error 1
make[2]: *** [Makefile:1528: all] Error 2
make[1]: *** [package/pkg-generic.mk:230: /home/tevada/Downloads/licheepi_zero_2/buildroot-2017.08.1/output/build/host-m4-1.4.18/.stamp_built] Error 2
make: *** [Makefile:79: _all] Error 2

离线

楼主 #2 2022-07-27 13:16:18

tevada2010
会员
注册时间: 2022-07-23
已发帖子: 54
积分: 69

Re: 我编译buildroot,它给出了这个错误,如何修复它?

unturned3 说:

Is this mainline buildroot or somebody's port? Which defconfig are you using?

Buildroot 2017.xx is probably unmaintained now so there may be build issues.

I follow this link
I don't know if there are any other links that can be used or not.

https://github.com/Squonk42/buildroot-licheepi-zero/tree/licheepi-zero/board/licheepi

离线

楼主 #4 2022-07-28 21:41:00

tevada2010
会员
注册时间: 2022-07-23
已发帖子: 54
积分: 69

Re: 我编译buildroot,它给出了这个错误,如何修复它?

unturned3 说:

https://github.com/buildroot/buildroot/tree/master/board/licheepi

Mainline buildroot has support for the licheepi

Thank you.

离线

页脚

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

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