您尚未登录。

楼主 #1 2020-01-02 11:02:55

niit
会员
注册时间: 2019-12-07
已发帖子: 1
积分: 1

F1C100S在编译buildroot-2017.08 时出现以下错误,请问如何解决,谢谢

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."
  #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[4]: *** [Makefile:1915: freadahead.o] Error 1
make[4]: *** Waiting for unfinished jobs....
  CC       obstack.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."
   #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
    ^~~~~
make[4]: *** [Makefile:1915: fseeko.o] Error 1
make[4]: Leaving directory '/home/aston/f1/buildroot-2017.08.1/output/build/host-m4-1.4.18/lib'
make[3]: *** [Makefile:1674: all] Error 2
make[3]: Leaving directory '/home/aston/f1/buildroot-2017.08.1/output/build/host-m4-1.4.18/lib'
make[2]: *** [Makefile:1572: all-recursive] Error 1
make[2]: Leaving directory '/home/aston/f1/buildroot-2017.08.1/output/build/host-m4-1.4.18'
make[1]: *** [Makefile:1528: all] Error 2
make[1]: Leaving directory '/home/aston/f1/buildroot-2017.08.1/output/build/host-m4-1.4.18'
make: *** [package/pkg-generic.mk:230: /home/aston/f1/buildroot-2017.08.1/output/build/host-m4-1.4.18/.stamp_built] Error 2

离线

#2 2020-02-06 15:45:52

ycq6671338
会员
注册时间: 2019-12-08
已发帖子: 2
积分: 2

Re: F1C100S在编译buildroot-2017.08 时出现以下错误,请问如何解决,谢谢

请问问题解决了吗?是不是也用的ubuntu19.10系统?

离线

#3 2020-02-06 20:38:04

ycq6671338
会员
注册时间: 2019-12-08
已发帖子: 2
积分: 2

Re: F1C100S在编译buildroot-2017.08 时出现以下错误,请问如何解决,谢谢

换回Ubuntu16.04再编译就没问题了,应该是和软件版本有关,新的不中>_<

离线

#4 2020-02-06 20:59:52

firstman
会员
注册时间: 2019-04-06
已发帖子: 279
积分: 279

Re: F1C100S在编译buildroot-2017.08 时出现以下错误,请问如何解决,谢谢

ycq6671338 说:

换回Ubuntu16.04再编译就没问题了,应该是和软件版本有关,新的不中>_<

还有这种操作 sad

离线

#5 2020-04-07 23:57:01

myccl
会员
注册时间: 2020-04-07
已发帖子: 5
积分: 5

Re: F1C100S在编译buildroot-2017.08 时出现以下错误,请问如何解决,谢谢

不换系统可以解决吗,我也遇到这个问题了。

离线

#6 2020-04-08 00:31:01

X3
会员
注册时间: 2020-04-08
已发帖子: 84
积分: 72.5

Re: F1C100S在编译buildroot-2017.08 时出现以下错误,请问如何解决,谢谢

下载最新的LTS buildroot

离线

#7 2022-07-30 21:11:51

744219909
会员
注册时间: 2022-07-29
已发帖子: 31
积分: 124

Re: F1C100S在编译buildroot-2017.08 时出现以下错误,请问如何解决,谢谢

试试进入
/home/aston/f1/buildroot-2017.08.1/output/build/host-m4-1.4.18
终端输入下面两行
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c

echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h

离线

页脚

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

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