<div dir="ltr">Hi<div><br></div><div>I am trying to build rtems-libbsd for xilinx_zynq_a9_qemu using </div><div>tools and RTEMS built from their master branches. Both the </div><div>master and 5-freebsd-12 branch fail to build with this error:</div><div><br></div><div>In file included from ../../rtemsbsd/rtems/rtems-kernel-thread.c:56:0:<br>/home/joel/rtems-class/tools/5/bsp-install/arm-rtems5/xilinx_zynq_a9_qemu/lib/include/rtems/score/objectimpl.h: In function '_Objects_Free':<br>/home/joel/rtems-class/tools/5/bsp-install/arm-rtems5/xilinx_zynq_a9_qemu/lib/include/rtems/score/objectimpl.h:937:17: error: 'Objects_Information {aka struct Objects_Information}' has no member named '_bsd_free'<br>   ( *information->free )( information, the_object );<br></div><div><br></div><div>I think the solution is that the structure member free needs to be renamed. </div><div><br></div><div>61357479 (Sebastian Huber 2019-12-16 14:50:59 +0100 213)   void ( *free )( Objects_Information *, Objects_Control * );<br></div><div><br></div><div>FWIW I was looking at the MISRA C/C++ rules earlier this week and this is a </div><div>violation of one of them. You should not have variables, methods, structure members, etc that use the same name as standard library entiries.</div><div><br></div><div>--joel</div></div>