AnsweredAssumed Answered

Build I.MX8,fail with bison-3.0.4(fseterr.c)

Question asked by Yu Liu on Jun 11, 2020
Latest reply on Jun 12, 2020 by gusarambula

I use following command to build I.MX8(all files are pre-downloaded in downloads folder)

DISTRO=fsl-imx-wayland MACHINE=imx8qxpmek source fsl-setup-release.sh -b build-wayland
bitbake fsl-image-machine-test

 

Got:

...

| ../bison-3.0.4/lib/fseterr.c: In function 'fseterr':
| ../bison-3.0.4/lib/fseterr.c:77:3: error: #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
| 77 | #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
| | ^~~~~
| make[2]: *** [Makefile:3366: lib/fseterr.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory '/home/hearing/imx-work/imx-yocto-bsp/build-wayland/tmp/work/x86_64-linux/bison-native/3.0.4-r0/build'
| make[1]: *** [Makefile:4379: all-recursive] Error 1
| make[1]: Leaving directory '/home/hearing/imx-work/imx-yocto-bsp/build-wayland/tmp/work/x86_64-linux/bison-native/3.0.4-r0/build'
| ERROR: oe_runmake failed
| make: *** [Makefile:2525: all] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/hearing/imx-work/imx-yocto-bsp/build-wayland/tmp/work/x86_64-linux/bison-native/3.0.4-r0/temp/log.do_compile.269984)
ERROR: Task (virtual:native:/home/hearing/imx-work/imx-yocto-bsp/sources/poky/meta/recipes-devtools/bison/bison_3.0.4.bb:do_compile) failed with exit code '1'

 

Does anything matter to this?

Outcomes