Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed #10

Open
nkaneda0 opened this issue Jun 21, 2023 · 4 comments
Open

build failed #10

nkaneda0 opened this issue Jun 21, 2023 · 4 comments

Comments

@nkaneda0
Copy link

I ran into the following build failure in the initial build with ./waf.

../src/point-to-point/model/qbb-net-device.cc:91:32: error: ‘class ns3::RdmaEgressQueue’ has no member named ‘GetNode’; did you mean ‘GetNBytes’?

std::cout << "node" << this->GetNode().GetId() << " packetSize " << p->GetSize() << " time " << Simulator::Now().GetNanoSeconds() << " unsched " << unsched << std::endl;
^~~~~~~
GetNBytes

@vamsiDT
Copy link
Member

vamsiDT commented Jun 21, 2023

Hi, could you comment out (or remove) this line and try to build? In the file src/point-to-point/model/qbb-net-device.cc

Ill make the changes and push soon.

@nkaneda0
Copy link
Author

I commented the lines with 'GetNode'. I don't have the same failure but now my WSL2/Ubuntu simply crashes out every time during the build with ./waf. It was the same after cleaning up the build with ./waf clean.

@nkaneda0
Copy link
Author

After reboot of the windows base, this issue seems to have gone away, Thanks,

@ofircohen205
Copy link

Hi @vamsiDT,

I'm also getting build failures.

../src/internet/model/tcp-advanced.cc:208:17: error: variable-sized object may not be initialized
bool updated[fb.getMaxHops()] = {false}, updated_any = false;
^~~~~~~~~~~~~~~
../src/internet/model/tcp-advanced.cc:398:17: error: variable-sized object may not be initialized
bool updated[fb.getMaxHops()] = {false}, updated_any = false;
^~~~~~~~~~~~~~~

Any idea why it happens? I'm trying to build queueing branch

Thanks!

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

No branches or pull requests

3 participants