gethostid in RTEMS 4.11

Alan Cudmore alan.cudmore at gmail.com
Wed Sep 6 13:22:28 UTC 2017


Paul,
I don't think the gethostid function is used in the cFS, so you could just
#undef the OS_INCLUDE_NETWORK in the osconfig.h file. This would remove the
gethostid call and allow it to compile.

I'm working on a LEON3 RTEMS 4.11 build. I have it running on several
boards, TSIM, and a QEMU target.

Alan


On Tue, Sep 5, 2017 at 4:03 PM, Brewster, Paul F. (LARC-D207) <
paul.f.brewster at nasa.gov> wrote:

> All,
>
>
>
> I’m trying to get up to speed with RTEMS, along with an application
> framework (cFS) running on RTEMS, and I am having some difficulty.  I am
> able to get RTEMs compiled just fine with an i386 bsp, and was able to run
> a test application in a virtual machine, so that worked great.  The
> application framework, however, won’t compile because it is missing the
> “gethostid” function.  When I grep for the gethostid function in the RTEMS
> toolchain, I find that it is in an #if defined(__CYGWIN__) block, so
> apparently isn’t being included in my toolchain.  Is there something I need
> to do to include this, or is there another place this is defined?
>
>
>
> Here’s my situation.
>
> Centos machine
>
> Using RTEMS source builder with the command “sb-set-builder –prefix=…
> 4.11/rtems-i386”
>
> Configuring RTEMS build with “…/configure –prefix=… -target=i386-rtems4.11
> –enable-rtemsbsp=pc386 –enable-posix –enable-networking”
>
>
>
> Thanks for the help!
>
>
>
> Paul Brewster
>
> Flight Software Systems Branch
>
> NASA Langley Research Center
>
> _______________________________________________
> 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/20170906/841eda97/attachment-0002.html>


More information about the users mailing list