Skip to content

Conversation

mafoste3
Copy link

@mafoste3 mafoste3 commented Sep 29, 2025

Checklist (Please check before submitting)

Describe the contribution

  • The lwIP network stack, compatible with RTEMS, at the time did not support either gethostid() and gethostname() calls. If the OSAL networking module is included then the build will fail to link the module with undefined reference to gethostname and gethostid errors.

Testing performed
Steps taken to test the contribution:

  1. Build with RTEMS and lwIP network libraries

Expected behavior changes

  • Build will not fail at link time

System(s) tested on

Additional context

  • rtems-lwip#8 was written and closed by merger that resolves this issue by exposing the gethostid() and gethostname() calls in the lwIP namespace. This update has been successfully tested with cFS and an RTEMS BSP, making this pull request optional if a current lwIP main branch is integrated.

Third party code

  • None

Contributor Info - All information REQUIRED for consideration of pull request

  • Mark Foster
  • NASA / Johnson Space Center / ER6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant