libbsd tests not linking

Joel Sherrill joel at rtems.org
Sun Jul 24 14:49:47 UTC 2022


On Sun, Jul 24, 2022, 7:55 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 24/07/2022 00:31, Joel Sherrill wrote:
> > Binary file
> >
> build/arm-rtems6-xilinx_zynq_a9_qemu-default/freebsd/lib/libc/stdio/fgetln.c.12.o
>
> > matches
> > Binary file build/arm-rtems6-xilinx_zynq_a9_qemu-default/libbsd.a matches
> >
> 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'
> >
> > Looks like it is coming from here.
> >
> > freebsd/lib/libc/stdio/local.h:#define __srefill(_x)
> > __srefill_r(__getreent(), _x)
>
> Sorry, I forgot to push the fix. It should work now.
>

Thanks. This will let me remove the hack I did to keep compiling.

I think I have a case where confdef.h needs bintime which implies bsd stuff
is visible but isn't. I'll get back to you on that.

--joel

>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax:   +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20220724/d4438d24/attachment.htm>


More information about the devel mailing list