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
离线
请问问题解决了吗?是不是也用的ubuntu19.10系统?
离线
换回Ubuntu16.04再编译就没问题了,应该是和软件版本有关,新的不中>_<
离线
换回Ubuntu16.04再编译就没问题了,应该是和软件版本有关,新的不中>_<
还有这种操作
离线
不换系统可以解决吗,我也遇到这个问题了。
离线
下载最新的LTS buildroot
离线
试试进入
/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
离线