Skip to content

Build error on qnx 7.1 #6172

@trittsv

Description

@trittsv

Is there an already existing issue for this?

  • I have searched the existing issues

Expected behavior

FastDDS compiles successfully qnx 7.1 x64 (QCC 8.3.0).

Current behavior

error: 'SA_RESTART' was not declared in this scope

[2025-10-23T11:43:07.501Z] [ 11%] Building CXX object src/cpp/CMakeFiles/fastdds.dir/fastdds/core/condition/StatusCondition.cpp.o
[2025-10-23T11:43:07.766Z] [ 11%] Building CXX object src/cpp/CMakeFiles/fastdds.dir/fastdds/core/condition/StatusConditionImpl.cpp.o
[2025-10-23T11:43:08.025Z] [ 11%] Building CXX object src/cpp/CMakeFiles/fastdds.dir/fastdds/core/condition/WaitSet.cpp.o
[2025-10-23T11:43:08.285Z] [ 12%] Building CXX object src/cpp/CMakeFiles/fastdds.dir/fastdds/core/condition/WaitSetImpl.cpp.o
[2025-10-23T11:43:08.538Z] [ 12%] Building CXX object src/cpp/CMakeFiles/fastdds.dir/fastdds/core/Entity.cpp.o
[2025-10-23T11:43:09.095Z] [ 13%] Building CXX object src/cpp/CMakeFiles/fastdds.dir/fastdds/core/policy/ParameterList.cpp.o
[2025-10-23T11:43:09.095Z] [ 13%] Building CXX object src/cpp/CMakeFiles/fastdds.dir/fastdds/core/policy/QosPolicyUtils.cpp.o
[2025-10-23T11:43:10.014Z] [ 13%] Building CXX object src/cpp/CMakeFiles/fastdds.dir/fastdds/core/Time_t.cpp.o
[2025-10-23T11:43:10.268Z] [ 13%] Building CXX object src/cpp/CMakeFiles/fastdds.dir/fastdds/domain/DomainParticipantFactory.cpp.o
[2025-10-23T11:43:10.268Z] [ 14%] Building CXX object src/cpp/CMakeFiles/fastdds.dir/fastdds/domain/DomainParticipant.cpp.o
[2025-10-23T11:43:10.268Z] [ 15%] Building CXX object src/cpp/CMakeFiles/fastdds.dir/fastdds/domain/DomainParticipantImpl.cpp.o
[2025-10-23T11:43:11.622Z] [ 15%] Building CXX object src/cpp/CMakeFiles/fastdds.dir/fastdds/domain/qos/DomainParticipantFactoryQos.cpp.o
[2025-10-23T11:43:11.876Z] [ 15%] Building CXX object src/cpp/CMakeFiles/fastdds.dir/fastdds/domain/qos/DomainParticipantQos.cpp.o
[2025-10-23T11:43:12.796Z] In file included /source_subfolder/thirdparty/asio/asio/include/asio/impl/error_code.ipp:29,
[2025-10-23T11:43:12.796Z]                  /source_subfolder/thirdparty/asio/asio/include/asio/error_code.hpp:36,
[2025-10-23T11:43:12.796Z]                  /source_subfolder/thirdparty/asio/asio/include/asio/detail/throw_error.hpp:20,
[2025-10-23T11:43:12.796Z]                  /source_subfolder/thirdparty/asio/asio/include/asio/detail/impl/posix_tss_ptr.ipp:23,
[2025-10-23T11:43:12.796Z]                  /source_subfolder/thirdparty/asio/asio/include/asio/detail/posix_tss_ptr.hpp:74,
[2025-10-23T11:43:12.796Z]                  /source_subfolder/thirdparty/asio/asio/include/asio/detail/tss_ptr.hpp:27,
[2025-10-23T11:43:12.796Z]                  /source_subfolder/thirdparty/asio/asio/include/asio/detail/call_stack.hpp:20,
[2025-10-23T11:43:12.796Z]                  /source_subfolder/thirdparty/asio/asio/include/asio/detail/thread_context.hpp:20,
[2025-10-23T11:43:12.796Z]                  /source_subfolder/thirdparty/asio/asio/include/asio/detail/recycling_allocator.hpp:20,
[2025-10-23T11:43:12.796Z]                  /source_subfolder/thirdparty/asio/asio/include/asio/detail/handler_alloc_helpers.hpp:20,
[2025-10-23T11:43:12.796Z]                  /source_subfolder/thirdparty/asio/asio/include/asio/detail/executor_function.hpp:19,
[2025-10-23T11:43:12.796Z]                  /source_subfolder/thirdparty/asio/asio/include/asio/execution/any_executor.hpp:24,
[2025-10-23T11:43:12.796Z]                  /source_subfolder/thirdparty/asio/asio/include/asio/execution.hpp:19,
[2025-10-23T11:43:12.796Z]                  /source_subfolder/thirdparty/asio/asio/include/asio/any_completion_executor.hpp:22,
[2025-10-23T11:43:12.796Z]                  /source_subfolder/thirdparty/asio/asio/include/asio.hpp:18,
[2025-10-23T11:43:12.796Z]                  /source_subfolder/src/cpp/fastdds/domain/DomainParticipantImpl.cpp:26:
[2025-10-23T11:43:12.796Z] /source_subfolder/thirdparty/asio/asio/include/asio/detail/socket_types.hpp:414:33: error: 'SA_RESTART' was not declared in this scope
[2025-10-23T11:43:12.796Z]  # define ASIO_OS_DEF_SA_RESTART SA_RESTART

Steps to reproduce

Compile fastdds qnx 7.1 x64 (QCC 8.3.0).

Fast DDS version/commit

3.4.0

Platform/Architecture

Other. Please specify in Additional context section.

Transport layer

Default configuration, UDPv4 & SHM

Additional context

qnx 7.1 x64 (QCC 8.3.0).

XML configuration file

Relevant log output

Network traffic capture

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageIssue pending classification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions