signetlabdei / quic-ns-3

QUIC implementation for ns-3
GNU General Public License v2.0
44 stars 17 forks source link

Build stopped: subcommand failed #36

Closed miguelsp99 closed 1 year ago

miguelsp99 commented 1 year ago

Hi, I was trying to build ns-3 from the ns-3-dev folder, following the README steps when this error appeared:

miguel@tfg:~/tfg_local/ns-3-workspace/ns-allinone-3.37/ns-3.37/src/ns-3-dev$ ./ns3 build [0/2] Re-checking globbed directories... [1/916] Building CXX object src/quic/CMakeFiles/libquic-obj.dir/model/quic-l4-protocol.cc.o FAILED: src/quic/CMakeFiles/libquic-obj.dir/model/quic-l4-protocol.cc.o ... /home/miguel/tfg_local/ns-3-workspace/ns-allinone-3.37/ns-3.37/src/ns-3-dev/src/quic/model/quic-l4-protocol.cc:775:55: error: ‘const class ns3::Ipv6Header’ has no member named ‘GetSourceAddress’; did you mean ‘ns3::Ipv6Address ns3::Ipv6Header::m_sourceAddress’? (not accessible from this context) 775 | NS_LOG_FUNCTION (this << packet << incomingIpHeader.GetSourceAddress () ... home/miguel/tfg_local/ns-3-workspace/ns-allinone-3.37/ns-3.37/src/ns-3-dev/src/quic/model/quic-l4-protocol.cc:776:37: error: ‘const class ns3::Ipv6Header’ has no member named ‘GetDestinationAddress’; did you mean ‘ns3::Ipv6Address ns3::Ipv6Header::m_destinationAddress’? (not accessible from this context) 776 | incomingIpHeader.GetDestinationAddress ());

How can I solve it? Maybe it's a stupid question, but it's the first time I work with ns3 and QUIC, and I don't know how to handle it yet.

I have installed ns-3.37 and Ubuntu 22.04.2 LTS.

Thank you very much in advance.

Regards, Miguel. Captura desde 2023-04-02 14-57-21