Building rtems-libbsd for pc686

Joel Sherrill joel at rtems.org
Mon Dec 16 14:33:25 UTC 2019


On Mon, Dec 16, 2019 at 7:37 AM <Jan.Sommer at dlr.de> wrote:

> Hello,
>
> I tried to build the branch 5-freebsd-12 for the pc686 BSP of the current
> RTEMS master.
> The compilation stops at:
>
> [  64/1156] Compiling freebsd/sbin/sysctl/sysctl.c
> ../../freebsd/sbin/sysctl/sysctl.c:72:10: fatal error: machine/pc/bios.h:
> No such file or directory
>  #include <machine/pc/bios.h>
>           ^~~~~~~~~~~~~~~~~~~
> compilation terminated.
>
> Waf: Leaving directory
> `/home/somm_ja/workspace/refex/rtems-libbsd/build/i386-rtems5-pc686-minimal'
> Build failed
>  -> task in 'objs02' failed with exit status 1 (run with -v to display
> more information)
>
> I tried to build the default and minimal buildset with the same results.
> The missing bios.h is available in the full freebsd sources.
>
> Do I need to use the freebsd-to-rtems.py script to integrate the missing
> header into the freebsd directory or do I need to do something different?
>

The code worked on the pc at one point.

What is it getting from bios.h?

My first cut at it would be to import that file. Long term, we would
probably
be better off if the PC BSP used more infrastructure from FreeBSD. The
current BSP
is marginally supporting non-legacy PCs.

--joel



>
>
> Best regards,
>
>    Jan
>
> Deutsches Zentrum für Luft- und Raumfahrt e. V. (DLR)
> German Aerospace Center
> Simulation and Software Technology | Software for Space Systems and
> Interactive Visualization | Lilienthalplatz 7 | 38108 Braunschweig | Germany
>
> Jan Sommer
> Telephone +49 531 295-2494 | Telefax 0531 295-2767 | jan.sommer at dlr.de
> DLR.de/SC
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20191216/06407c2a/attachment.html>


More information about the users mailing list