Skip to content

Does not build on macos #135

@predator2k

Description

@predator2k

Running ./scripts/build.sh -c ns3 gives the following error:

[683/1051] Linking CXX shared library /Users/user/Develop/SimAI/astra-sim-alibabacloud/extern/network_backend/ns3-interface/simulation/build/lib/libns3.36.1-applications-debug.dylib
Undefined symbols for architecture arm64:
"ns3::RdmaDriver::EnbaleNVLS()", referenced from:
ns3::RdmaClient::StartApplication() in rdma-client.cc.o
"ns3::RdmaDriver::DisableNVLS()", referenced from:
ns3::RdmaClient::StartApplication() in rdma-client.cc.o
"ns3::RdmaDriver::AddQueuePair(unsigned int, unsigned int, unsigned long long, unsigned long long, unsigned short, ns3::Ipv4Address, ns3::Ipv4Address, unsigned short, unsigned short, unsigned int, unsigned long long, ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>, ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>)", referenced from:
ns3::RdmaClient::StartApplication() in rdma-client.cc.o
"ns3::RdmaDriver::GetTypeId()", referenced from:
ns3::Ptrns3::RdmaDriver ns3::Object::GetObjectns3::RdmaDriver() const in rdma-client.cc.o
ld: symbol(s) not found for architecture arm64
c++: error: linker command failed with exit code 1 (use -v to see invocation)

Adding libpoint-to-point to libapplications' cmake dependence leads to libpoint-to-point missing SimpleSeqTsHeader, which is in libapplications. This results in cyclic-dependence

Apple clang version 17.0.0 (clang-1700.0.13.3), macOS Sequoia 15.4.1 (24E263)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions