5G-LENA v4.0 release (compatible with ns-3.44)

91 views
Skip to first unread message

5G-LENA-users

unread,
May 15, 2025, 11:47:16 AMMay 15
to 5G-LENA-users
Hi all,

We are happy to announce the v4.0 release of 5G-LENA.
This release is compatible with ns-3.44.

- The release includes major features, such as support for:
  - CSI-RS signals for channel estimation;
  - CSI-IM for inter-cell interference measurements;
  - Multiple single-panel antenna arrays per UE;
  - Sub-band CSI feedback;
  - Sub-band aware scheduler;
  - Alternative symbols per beam scheduler;
  - Multiple RI/PMI selection alternatives;
  - Kronecker beamforming;
  - Initial association based on maximum RSRP instead of shortest distance;
  - Reinforced-learning based scheduler contributed by Hyerin Kim during GSoC 2024;
  - NYUSIM, FTR and legacy channel models and the new channel helper contributed by João Albuquerque during GSoC 2024.

- This release also contain important fixes, especially for for FDD users.
  Please look at the bugs fixed in the RELEASE_NOTES.md and CHANGES.md files for more details.

We would like to thank all 5G-LENA users who contribute continuously to the 5G-LENA community by opening issues, proposing solutions, and answering on 5G-LENA users list.

Thank you for your support!

To cite this NR 4.0 5G-LENA release please use: https://zenodo.org/records/15422217 (in addition to the reference papers listed in https://5g-lena.cttc.es/papers/)

The 5G-LENA team

Md. Rashedur Rahman

unread,
Jun 7, 2025, 10:23:25 AMJun 7
to 5G-LENA-users
Hi.

I have followed all the steps shared in the Gitlab. However, while building, I get the following error:


[  4%] Building CXX object contrib/nr/CMakeFiles/libnr-obj.dir/helper/nr-spectrum-value-helper.cc.o
In file included from /home/rashed/ns-3-dev/build/include/ns3/nr-csi-rs-filter.h:1,
                 from /home/rashed/ns-3-dev/build/include/ns3/nr-module.h:145,
                 from /home/rashed/ns-3-dev/contrib/nr/model/nr-initial-association.h:7,
                 from /home/rashed/ns-3-dev/build/include/ns3/nr-initial-association.h:1,
                 from /home/rashed/ns-3-dev/contrib/nr/helper/nr-helper.cc:33:
/home/rashed/ns-3-dev/contrib/nr/model/nr-csi-rs-filter.h:41:13: error: ‘int64_t ns3::NrCsiRsFilter::DoAssignStreams(int64_t)’ marked ‘override’, but does not override
   41 |     int64_t DoAssignStreams(int64_t stream) override;
      |             ^~~~~~~~~~~~~~~
[  4%] Building CXX object src/core/CMakeFiles/libcore-obj.dir/model/hash-murmur3.cc.o
[  4%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/model/channel.cc.o
[  5%] Building CXX object src/core/CMakeFiles/libcore-obj.dir/model/hash-fnv.cc.o
[  5%] Building CXX object src/core/CMakeFiles/libcore-obj.dir/model/hash.cc.o
In file included from /home/rashed/ns-3-dev/build/include/ns3/distance-based-three-gpp-spectrum-propagation-loss-model.h:1,
                 from /home/rashed/ns-3-dev/build/include/ns3/nr-module.h:194:
/home/rashed/ns-3-dev/contrib/nr/utils/distance-based-three-gpp-spectrum-propagation-loss-model.h:70:35: error: invalid covariant return type for ‘virtual ns3::Ptr<ns3::SpectrumSignalParameters> ns3::DistanceBasedThreeGppSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(ns3::Ptr<const ns3::SpectrumSignalParameters>, ns3::Ptr<const ns3::MobilityModel>, ns3::Ptr<const ns3::MobilityModel>, ns3::Ptr<const ns3::PhasedArrayModel>, ns3::Ptr<const ns3::PhasedArrayModel>) const’
   70 |     Ptr<SpectrumSignalParameters> DoCalcRxPowerSpectralDensity(
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/rashed/ns-3-dev/build/include/ns3/three-gpp-spectrum-propagation-loss-model.h:1,
                 from /home/rashed/ns-3-dev/contrib/nr/helper/nr-radio-environment-map-helper.h:15,
                 from /home/rashed/ns-3-dev/build/include/ns3/nr-radio-environment-map-helper.h:1,
                 from /home/rashed/ns-3-dev/build/include/ns3/nr-module.h:25:
/home/rashed/ns-3-dev/src/spectrum/model/three-gpp-spectrum-propagation-loss-model.h:122:24: note: overridden function is ‘virtual ns3::Ptr<ns3::SpectrumValue> ns3::ThreeGppSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(ns3::Ptr<const ns3::SpectrumSignalParameters>, ns3::Ptr<const ns3::MobilityModel>, ns3::Ptr<const ns3::MobilityModel>, ns3::Ptr<const ns3::PhasedArrayModel>, ns3::Ptr<const ns3::PhasedArrayModel>) const’
  122 |     Ptr<SpectrumValue> DoCalcRxPowerSpectralDensity(
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  5%] Building CXX object src/core/CMakeFiles/libcore-obj.dir/model/des-metrics.cc.o
[  5%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/model/chunk.cc.o
[  5%] Building CXX object contrib/nr/CMakeFiles/libnr-obj.dir/helper/nr-stats-calculator.cc.o
[  5%] Building CXX object contrib/nr/CMakeFiles/libnr-obj.dir/helper/realistic-beamforming-helper.cc.o
[  5%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/model/header.cc.o
[  5%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/model/net-device.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/model/nix-vector.cc.o
/home/rashed/ns-3-dev/contrib/nr/helper/nr-radio-environment-map-helper.cc: In static member function ‘static ns3::TypeId ns3::NrRadioEnvironmentMapHelper::GetTypeId()’:
/home/rashed/ns-3-dev/contrib/nr/helper/nr-radio-environment-map-helper.cc:140:42: error: no matching function for call to ‘MakeEnumAccessor<ns3::NrRadioEnvironmentMapHelper::RemMode>(void (ns3::NrRadioEnvironmentMapHelper::*)(ns3::NrRadioEnvironmentMapHelper::RemMode), ns3::NrRadioEnvironmentMapHelper::RemMode (ns3::NrRadioEnvironmentMapHelper::*)() const)’
  140 |                 MakeEnumAccessor<RemMode>(&NrRadioEnvironmentMapHelper::SetRemMode,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  141 |                                           &NrRadioEnvironmentMapHelper::GetRemMode),
      |                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/rashed/ns-3-dev/build/include/ns3/enum.h:1,
                 from /home/rashed/ns-3-dev/contrib/nr/helper/nr-radio-environment-map-helper.cc:14:
/home/rashed/ns-3-dev/src/core/model/enum.h:205:1: note: candidate: ‘template<class T1> ns3::Ptr<const ns3::AttributeAccessor> ns3::MakeEnumAccessor(T1)’
  205 | MakeEnumAccessor(T1 a1)
      | ^~~~~~~~~~~~~~~~
/home/rashed/ns-3-dev/src/core/model/enum.h:205:1: note:   candidate expects 1 argument, 2 provided
/home/rashed/ns-3-dev/src/core/model/enum.h:212:1: note: candidate: ‘template<class T1, class T2> ns3::Ptr<const ns3::AttributeAccessor> ns3::MakeEnumAccessor(T1, T2)’
  212 | MakeEnumAccessor(T1 a1, T2 a2)
      | ^~~~~~~~~~~~~~~~
/home/rashed/ns-3-dev/src/core/model/enum.h:212:1: note:   template argument deduction/substitution failed:
/home/rashed/ns-3-dev/contrib/nr/helper/nr-radio-environment-map-helper.cc:140:43: note:   cannot convert ‘&ns3::NrRadioEnvironmentMapHelper::SetRemMode’ (type ‘void (ns3::NrRadioEnvironmentMapHelper::*)(ns3::NrRadioEnvironmentMapHelper::RemMode)’) to type ‘ns3::NrRadioEnvironmentMapHelper::RemMode’
  140 |                 MakeEnumAccessor<RemMode>(&NrRadioEnvironmentMapHelper::SetRemMode,
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/model/node-list.cc.o
[  6%] Building CXX object src/core/CMakeFiles/libcore-obj.dir/model/ascii-file.cc.o
[  6%] Building CXX object src/core/CMakeFiles/libcore-obj.dir/model/node-printer.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/model/node.cc.o
[  6%] Building CXX object src/core/CMakeFiles/libcore-obj.dir/model/show-progress.cc.o
[  6%] Building CXX object contrib/opengym/CMakeFiles/libopengym-obj.dir/helper/opengym-helper.cc.o
[  6%] Building CXX object contrib/opengym/CMakeFiles/libopengym-obj.dir/model/container.cc.o
In file included from /home/rashed/ns-3-dev/src/core/model/attribute.h:22,
                 from /home/rashed/ns-3-dev/build/include/ns3/attribute.h:1,
                 from /home/rashed/ns-3-dev/src/mobility/helper/mobility-helper.h:23,
                 from /home/rashed/ns-3-dev/build/include/ns3/mobility-helper.h:1,
                 from /home/rashed/ns-3-dev/contrib/nr/helper/nr-radio-environment-map-helper.h:8,
                 from /home/rashed/ns-3-dev/contrib/nr/helper/nr-radio-environment-map-helper.cc:5:
/home/rashed/ns-3-dev/src/core/model/ptr.h: In instantiation of ‘ns3::Ptr<T>::Ptr(const ns3::Ptr<U>&) [with U = ns3::SpectrumValue; T = ns3::SpectrumSignalParameters]’:
/home/rashed/ns-3-dev/contrib/nr/helper/nr-radio-environment-map-helper.cc:748:98:   required from here
/home/rashed/ns-3-dev/src/core/model/ptr.h:713:24: error: cannot convert ‘ns3::SpectrumValue*’ to ‘ns3::SpectrumSignalParameters*’ in initialization
  713 |     : m_ptr(PeekPointer(o))
      |             ~~~~~~~~~~~^~~
      |                        |
      |                        ns3::SpectrumValue*
[  6%] Building CXX object src/core/CMakeFiles/libcore-obj.dir/model/time-printer.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/model/packet-metadata.cc.o
[  6%] Building CXX object src/core/CMakeFiles/libcore-obj.dir/model/system-wall-clock-ms.cc.o
[  6%] Building CXX object src/core/CMakeFiles/libcore-obj.dir/model/system-wall-clock-timestamp.cc.o
In file included from /home/rashed/ns-3-dev/contrib/nr/utils/traffic-generators/model/traffic-generator-3gpp-audio-data.h:9,
                 from /home/rashed/ns-3-dev/build/include/ns3/traffic-generator-3gpp-audio-data.h:1,
                 from /home/rashed/ns-3-dev/contrib/nr/utils/traffic-generators/helper/xr-traffic-mixer-helper.h:1
,
                 from /home/rashed/ns-3-dev/build/include/ns3/xr-traffic-mixer-helper.h:1,
                 from /home/rashed/ns-3-dev/build/include/ns3/nr-module.h:197:
/home/rashed/ns-3-dev/contrib/nr/utils/traffic-generators/model/traffic-generator.h:106:13: error: ‘int64_t ns3::TrafficGenerator::AssignStreams(int64_t)’ marked ‘override’, but does not override
  106 |     int64_t AssignStreams(int64_t stream) override;
      |             ^~~~~~~~~~~~~
/home/rashed/ns-3-dev/contrib/nr/utils/traffic-generators/model/traffic-generator-3gpp-audio-data.h:45:13: error:
int64_t ns3::TrafficGenerator3gppAudioData::AssignStreams(int64_t)’ marked ‘override’, but does not override
   45 |     int64_t AssignStreams(int64_t stream) override;
      |             ^~~~~~~~~~~~~
gmake[2]: *** [contrib/nr/CMakeFiles/libnr-obj.dir/build.make:382: contrib/nr/CMakeFiles/libnr-obj.dir/helper/nr-radio-environment-map-helper.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from /home/rashed/ns-3-dev/build/include/ns3/traffic-generator-3gpp-generic-video.h:1,
                 from /home/rashed/ns-3-dev/contrib/nr/utils/traffic-generators/helper/xr-traffic-mixer-helper.h:1
:
/home/rashed/ns-3-dev/contrib/nr/utils/traffic-generators/model/traffic-generator-3gpp-generic-video.h:68:13: error: ‘int64_t ns3::TrafficGenerator3gppGenericVideo::AssignStreams(int64_t)’ marked ‘override’, but does not override
   68 |     int64_t AssignStreams(int64_t stream) override;
      |             ^~~~~~~~~~~~~
In file included from /home/rashed/ns-3-dev/build/include/ns3/traffic-generator-3gpp-pose-control.h:1,
                 from /home/rashed/ns-3-dev/contrib/nr/utils/traffic-generators/helper/xr-traffic-mixer-helper.h:1
:
/home/rashed/ns-3-dev/contrib/nr/utils/traffic-generators/model/traffic-generator-3gpp-pose-control.h:40:13: error: ‘int64_t ns3::TrafficGenerator3gppPoseControl::AssignStreams(int64_t)’ marked ‘override’, but does not override
   40 |     int64_t AssignStreams(int64_t stream) override;
      |             ^~~~~~~~~~~~~
In file included from /home/rashed/ns-3-dev/build/include/ns3/traffic-generator-ngmn-video.h:1,
                 from /home/rashed/ns-3-dev/contrib/nr/utils/traffic-generators/helper/xr-traffic-mixer-helper.h:2
:
/home/rashed/ns-3-dev/contrib/nr/utils/traffic-generators/model/traffic-generator-ngmn-video.h:56:13: error: ‘int64_t ns3::TrafficGeneratorNgmnVideo::AssignStreams(int64_t)’ marked ‘override’, but does not override
   56 |     int64_t AssignStreams(int64_t stream) override;
      |             ^~~~~~~~~~~~~
In file included from /home/rashed/ns-3-dev/build/include/ns3/traffic-generator-ngmn-voip.h:1,
                 from /home/rashed/ns-3-dev/contrib/nr/utils/traffic-generators/helper/xr-traffic-mixer-helper.h:2
:
/home/rashed/ns-3-dev/contrib/nr/utils/traffic-generators/model/traffic-generator-ngmn-voip.h:70:13: error: ‘int64_t ns3::TrafficGeneratorNgmnVoip::AssignStreams(int64_t)’ marked ‘override’, but does not override
   70 |     int64_t AssignStreams(int64_t stream) override;
      |             ^~~~~~~~~~~~~
[  6%] Building CXX object src/core/CMakeFiles/libcore-obj.dir/model/length.cc.o
[  6%] Building CXX object src/core/CMakeFiles/libcore-obj.dir/model/trickle-timer.cc.o
In file included from /home/rashed/ns-3-dev/build/include/ns3/traffic-generator-ftp-single.h:1,
                 from /home/rashed/ns-3-dev/build/include/ns3/nr-module.h:201:
/home/rashed/ns-3-dev/contrib/nr/utils/traffic-generators/model/traffic-generator-ftp-single.h:51:13: error: ‘int64_t ns3::TrafficGeneratorFtpSingle::AssignStreams(int64_t)’ marked ‘override’, but does not override
   51 |     int64_t AssignStreams(int64_t stream) override;
      |             ^~~~~~~~~~~~~
In file included from /home/rashed/ns-3-dev/build/include/ns3/traffic-generator-ngmn-ftp-multi.h:1,
                 from /home/rashed/ns-3-dev/build/include/ns3/nr-module.h:202:
/home/rashed/ns-3-dev/contrib/nr/utils/traffic-generators/model/traffic-generator-ngmn-ftp-multi.h:68:13: error: ‘int64_t ns3::TrafficGeneratorNgmnFtpMulti::AssignStreams(int64_t)’ marked ‘override’, but does not override
   68 |     int64_t AssignStreams(int64_t stream) override;
      |             ^~~~~~~~~~~~~
In file included from /home/rashed/ns-3-dev/build/include/ns3/traffic-generator-ngmn-gaming.h:1,
                 from /home/rashed/ns-3-dev/build/include/ns3/nr-module.h:203:
/home/rashed/ns-3-dev/contrib/nr/utils/traffic-generators/model/traffic-generator-ngmn-gaming.h:51:13: error: ‘int64_t ns3::TrafficGeneratorNgmnGaming::AssignStreams(int64_t)’ marked ‘override’, but does not override
   51 |     int64_t AssignStreams(int64_t stream) override;
      |             ^~~~~~~~~~~~~
[  6%] Building CXX object src/core/CMakeFiles/libcore-obj.dir/model/realtime-simulator-impl.cc.o
In file included from /home/rashed/ns-3-dev/build/include/ns3/nyu-spectrum-propagation-loss-model.h:1,
                 from /home/rashed/ns-3-dev/build/include/ns3/nr-module.h:208:
/home/rashed/ns-3-dev/contrib/nr/utils/channels/nyu/nyu-spectrum-propagation-loss-model.h:106:35: error: invalid covariant return type for ‘virtual ns3::Ptr<ns3::SpectrumSignalParameters> ns3::NYUSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(ns3::Ptr<const ns3::SpectrumSignalParameters>, ns3::Ptr<const ns3::MobilityModel>, ns3::Ptr<const ns3::MobilityModel>, ns3::Ptr<const ns3::PhasedArrayModel>, ns3::Ptr<const ns3::PhasedArrayModel>) const’
  106 |     Ptr<SpectrumSignalParameters> DoCalcRxPowerSpectralDensity(
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/rashed/ns-3-dev/src/spectrum/model/spectrum-channel.h:23,
                 from /home/rashed/ns-3-dev/build/include/ns3/spectrum-channel.h:1,
                 from /home/rashed/ns-3-dev/contrib/nr/helper/cc-bwp-helper.h:10,
                 from /home/rashed/ns-3-dev/contrib/nr/helper/nr-helper.h:8,
                 from /home/rashed/ns-3-dev/contrib/nr/helper/nr-helper.cc:5:
/home/rashed/ns-3-dev/src/spectrum/model/phased-array-spectrum-propagation-loss-model.h:98:32: note: overridden function is ‘virtual ns3::Ptr<ns3::SpectrumValue> ns3::PhasedArraySpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(ns3::Ptr<const ns3::SpectrumSignalParameters>, ns3::Ptr<const ns3::MobilityModel>, ns3::Ptr<const ns3::MobilityModel>, ns3::Ptr<const ns3::PhasedArrayModel>, ns3::Ptr<const ns3::PhasedArrayModel>) const’
   98 |     virtual Ptr<SpectrumValue> DoCalcRxPowerSpectralDensity(
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/rashed/ns-3-dev/contrib/nr/utils/channels/nyu/nyu-spectrum-propagation-loss-model.h:113:13: error: ‘int64_t ns3::NYUSpectrumPropagationLossModel::DoAssignStreams(int64_t)’ marked ‘override’, but does not override
  113 |     int64_t DoAssignStreams(int64_t stream) override;
      |             ^~~~~~~~~~~~~~~
[  6%] Building CXX object src/core/CMakeFiles/libcore-obj.dir/model/wall-clock-synchronizer.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/model/packet-tag-list.cc.o
/home/rashed/ns-3-dev/contrib/nr/helper/nr-helper.cc: In member function ‘ns3::Ptr<ns3::NetDevice> ns3::NrHelper::InstallSingleGnbDevice(const ns3::Ptr<ns3::Node>&, std::vector<std::reference_wrapper<std::unique_ptr<ns3::BandwidthPartInfo> > >)’:
/home/rashed/ns-3-dev/contrib/nr/helper/nr-helper.cc:844:9: error: ‘ns3::EnumValue’ is not a template
  844 |         EnumValue<NrGnbRrc::NrEpsBearerToRlcMapping_t> epsBearerToRlcMapping;
      |         ^~~~~~~~~
[  6%] Building CXX object src/core/CMakeFiles/libcore-obj.dir/model/matrix-array.cc.o
/home/rashed/ns-3-dev/contrib/nr/helper/nr-helper.cc: In member function ‘void ns3::NrHelper::AttachToGnb(const ns3::Ptr<ns3::NetDevice>&, const ns3::Ptr<ns3::NetDevice>&)’:
/home/rashed/ns-3-dev/contrib/nr/helper/nr-helper.cc:1149:44: error: ‘class ns3::PhasedArrayModel’ has no member named ‘IsDualPol’
 1149 |             pmSearch->SetGnbParams(gnbAnt->IsDualPol(),
      |                                            ^~~~~~~~~
/home/rashed/ns-3-dev/contrib/nr/helper/nr-helper.cc:1150:44: error: ‘class ns3::PhasedArrayModel’ has no member named ‘GetNumHorizontalPorts’
 1150 |                                    gnbAnt->GetNumHorizontalPorts(),
      |                                            ^~~~~~~~~~~~~~~~~~~~~
/home/rashed/ns-3-dev/contrib/nr/helper/nr-helper.cc:1151:44: error: ‘class ns3::PhasedArrayModel’ has no member named ‘GetNumVerticalPorts’
 1151 |                                    gnbAnt->GetNumVerticalPorts());
      |                                            ^~~~~~~~~~~~~~~~~~~
/home/rashed/ns-3-dev/contrib/nr/helper/nr-helper.cc:1152:42: error: ‘class ns3::PhasedArrayModel’ has no member named ‘GetNumPorts’
 1152 |             pmSearch->SetUeParams(ueAnt->GetNumPorts());
      |                                          ^~~~~~~~~~~
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/model/packet.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/model/socket-factory.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/model/socket.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/model/tag-buffer.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/model/tag.cc.o
[  6%] Building CXX object src/antenna/CMakeFiles/libantenna-obj.dir/model/angles.cc.o
[  6%] Building CXX object src/antenna/CMakeFiles/libantenna-obj.dir/model/antenna-model.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/model/trailer.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/address-utils.cc.o
[  6%] Building CXX object src/antenna/CMakeFiles/libantenna-obj.dir/model/cosine-antenna-model.cc.o
[  6%] Building CXX object src/antenna/CMakeFiles/libantenna-obj.dir/model/isotropic-antenna-model.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/bit-deserializer.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/bit-serializer.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/crc32.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/data-rate.cc.o
[  6%] Building CXX object src/antenna/CMakeFiles/libantenna-obj.dir/model/parabolic-antenna-model.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/drop-tail-queue.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/dynamic-queue-limits.cc.o
[  6%] Building CXX object src/antenna/CMakeFiles/libantenna-obj.dir/model/phased-array-model.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/error-channel.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/error-model.cc.o
[  6%] Building CXX object contrib/opengym/CMakeFiles/libopengym-obj.dir/model/opengym_env.cc.o
[  6%] Building CXX object src/antenna/CMakeFiles/libantenna-obj.dir/model/three-gpp-antenna-model.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/ethernet-header.cc.o
[  6%] Building CXX object contrib/opengym/CMakeFiles/libopengym-obj.dir/model/opengym_interface.cc.o
[  6%] Building CXX object contrib/opengym/CMakeFiles/libopengym-obj.dir/model/spaces.cc.o
[  6%] Building CXX object src/antenna/CMakeFiles/libantenna-obj.dir/model/uniform-planar-array.cc.o
[  6%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/ethernet-trailer.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/flow-id-tag.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/inet-socket-address.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/inet6-socket-address.cc.o
[  7%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/helper/queue-disc-container.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/ipv4-address.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/ipv6-address.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/llc-snap-header.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/mac16-address.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/mac48-address.cc.o
[  7%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/helper/traffic-control-helper.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/mac64-address.cc.o
gmake[2]: *** [contrib/nr/CMakeFiles/libnr-obj.dir/build.make:270: contrib/nr/CMakeFiles/libnr-obj.dir/helper/nr-helper.cc.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:4436: contrib/nr/CMakeFiles/libnr-obj.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/mac8-address.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/net-device-queue-interface.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/output-stream-wrapper.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/packet-burst.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/packet-data-calculators.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/packet-probe.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/packet-socket-address.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/packet-socket-client.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/packet-socket-factory.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/packet-socket-server.cc.o
[  7%] Building CXX object contrib/opengym/CMakeFiles/libopengym-obj.dir/model/messages.pb.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/packet-socket.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/packetbb.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/pcap-file-wrapper.cc.o
[  7%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/pcap-file.cc.o
[  8%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/queue-item.cc.o
[  8%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/queue-limits.cc.o
[  8%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/queue-size.cc.o
[  8%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/queue.cc.o
[  8%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/radiotap-header.cc.o
[  8%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/model/cobalt-queue-disc.cc.o
[  8%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/simple-channel.cc.o
[  8%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/simple-net-device.cc.o
[  8%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/sll-header.cc.o
[  8%] Building CXX object src/network/CMakeFiles/libnetwork-obj.dir/utils/timestamp-tag.cc.o
[  8%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/model/codel-queue-disc.cc.o
[  8%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/model/fifo-queue-disc.cc.o
[  8%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/model/fq-cobalt-queue-disc.cc.o
[  8%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/model/fq-codel-queue-disc.cc.o
[  8%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/model/fq-pie-queue-disc.cc.o
[  8%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/model/mq-queue-disc.cc.o
[  8%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/model/packet-filter.cc.o
[  8%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/model/pfifo-fast-queue-disc.cc.o
[  8%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/model/pie-queue-disc.cc.o
[  8%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/model/prio-queue-disc.cc.o
[  8%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/model/queue-disc.cc.o
[  8%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/model/red-queue-disc.cc.o
[  9%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/model/tbf-queue-disc.cc.o
[  9%] Building CXX object src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/model/traffic-control-layer.cc.o
gmake: *** [Makefile:146: all] Error 2
Finished executing the following commands:
cd cmake-cache; /usr/bin/cmake --build . -j 15 ; cd ..


For your kind reference, I have cloned the NS3 3.44. Please let me know the steps that I should take in this matter and thank you.

Gabriel Ferreira

unread,
Jun 7, 2025, 2:02:29 PMJun 7
to 5G-LENA-users
I don't know what exactly happened that led you to this. Try ./ns3 clean, reconfigure and try to build again.

Tom Henderson

unread,
Jun 7, 2025, 5:11:35 PMJun 7
to 5g-len...@googlegroups.com
The error suggests to me that you are trying to build with a version of
ns-3 earlier than ns-3.44. The DoAssignStreams() method was added to
SpectrumTransmitFilter in January 2024.

Please check that you are using ns-3.44 as the base source for the
nr-4.0 release.

- Tom
> <https://5g-lena.cttc.es/papers/>)
>
> The 5G-LENA team
>
> --
> You received this message because you are subscribed to the Google
> Groups "5G-LENA-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to 5g-lena-user...@googlegroups.com
> <mailto:5g-lena-user...@googlegroups.com>.
> To view this discussion, visit
> https://groups.google.com/d/msgid/5g-lena-users/fa2f6d3a-50fb-4752-a944-7934e4831e8cn%40googlegroups.com <https://groups.google.com/d/msgid/5g-lena-users/fa2f6d3a-50fb-4752-a944-7934e4831e8cn%40googlegroups.com?utm_medium=email&utm_source=footer>.

Josi Cris

unread,
Jun 9, 2025, 8:15:26 AMJun 9
to 5G-LENA-users
Congrats, all 

--
You received this message because you are subscribed to the Google Groups "5G-LENA-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 5g-lena-user...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/5g-lena-users/888ad2a3-c764-43c0-ac55-d31ace528f4fn%40googlegroups.com.

Md. Rashedur Rahman

unread,
Jun 10, 2025, 12:49:49 PMJun 10
to 5G-LENA-users
In that case, NS3 3.44 is not compatible to opengym. After switching to 3.44, I am getting the following error while running the config command:

-- Processing contrib/opengym
CMake Error at build-support/custom-modules/ns3-executables.cmake:91 (add_executable):
  add_executable cannot create target "opengym" because another target with
  the same name already exists.  The existing target is a shared library
  created in source directory "/home/rashed/ns-3-dev/contrib/opengym".  See
  documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  build-support/custom-modules/ns3-module-macros.cmake:420 (build_exec)
  contrib/opengym/examples/CMakeLists.txt:43 (build_lib_example)


CMake Warning (dev) at contrib/opengym/examples/CMakeLists.txt:52 (build_lib_example):
  uninitialized variable 'libptp'
This warning is for project developers.  Use -Wno-dev to suppress it.

-- protobuf_generate command not found -> use a local copy from /home/rashed/ns-3-dev/contrib/opengym/protobuf-generate.cmake
CMake Warning (dev) at contrib/opengym/protobuf-generate.cmake:36 (foreach):
  uninitialized variable '_dll_export_decl'
Call Stack (most recent call first):
  contrib/opengym/CMakeLists.txt:62 (protobuf_generate)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at contrib/opengym/protobuf-generate.cmake:61 (get_target_property):
  get_target_property() called with non-existent target "opengym-obj".
Call Stack (most recent call first):
  contrib/opengym/CMakeLists.txt:62 (protobuf_generate)


CMake Warning (dev) at contrib/opengym/protobuf-generate.cmake:62 (foreach):
  uninitialized variable '_source_list'
Call Stack (most recent call first):
  contrib/opengym/CMakeLists.txt:62 (protobuf_generate)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at build-support/3rd-party/colored-messages.cmake:82 (_message):
  Error: protobuf_generate could not find any .proto files
Call Stack (most recent call first):
  contrib/opengym/protobuf-generate.cmake:70 (message)
  contrib/opengym/CMakeLists.txt:62 (protobuf_generate)


CMake Warning (dev) at contrib/opengym/protobuf-generate.cmake:36 (foreach):
  uninitialized variable '_dll_export_decl'
Call Stack (most recent call first):
  contrib/opengym/CMakeLists.txt:69 (protobuf_generate)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at contrib/opengym/protobuf-generate.cmake:61 (get_target_property):
  get_target_property() called with non-existent target "opengym-obj".
Call Stack (most recent call first):
  contrib/opengym/CMakeLists.txt:69 (protobuf_generate)


CMake Warning (dev) at contrib/opengym/protobuf-generate.cmake:62 (foreach):
  uninitialized variable '_source_list'
Call Stack (most recent call first):
  contrib/opengym/CMakeLists.txt:69 (protobuf_generate)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at build-support/3rd-party/colored-messages.cmake:82 (_message):
  Error: protobuf_generate could not find any .proto files

thank you for your kind guidance in this matter.

Gabriel Ferreira

unread,
Jun 11, 2025, 2:18:08 PMJun 11
to 5G-LENA-users
OpenGym needs to be updated, it seems.
Reply all
Reply to author
Forward
0 new messages