<div dir="ltr">Hi<div><br></div><div>I have updated tools. rtems, and am building libbsd for arm/zynq qemu. The build fails with this:<br><br>Binary file build/arm-rtems6-xilinx_zynq_a9_qemu-default/freebsd/lib/libc/stdio/fgetln.c.12.o matches<br>Binary file build/arm-rtems6-xilinx_zynq_a9_qemu-default/libbsd.a matches<br>b.log:/home/joel/rtems-work/rtems-libbsd/build/arm-rtems6-xilinx_zynq_a9_qemu-default/../../freebsd/lib/libc/stdio/fgetln.c:150: undefined reference to `__getreent'<br></div><div><br></div><div>Looks like it is coming from here. </div><div><br></div><div>freebsd/lib/libc/stdio/local.h:#define __srefill(_x) __srefill_r(__getreent(), _x)<br></div><div><br></div><div>I guess this macro needs updating to whatever the current correct thing is to do it. But I am not confident what that would be.</div><div><br></div><div>Thanks.</div><div><br></div><div>--joel</div></div>