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

Linking Problem #5

Open
calfino opened this issue May 12, 2020 · 5 comments
Open

Linking Problem #5

calfino opened this issue May 12, 2020 · 5 comments

Comments

@calfino
Copy link

calfino commented May 12, 2020

@saburhb I used a new fresh ubuntu 16 on different PC, but the problem still the same.. can u please help? am i wrong on the linking problem?
image

@saburhb
Copy link
Owner

saburhb commented May 13, 2020

@calfino
I have not seen this happening before. I can suggest you to try few things:

  1. Remove the folder 'uav-net-sim' from "ns-3.27/build/scratch" folder
  2. Move the folder 'uav-net-sim' from "ns-3.27/scratch" folder to your $HOME folder
  3. Try running a sample code from "ns-3.27" directory , e.g.,
    ./waf --run scratch-simulator
    This should work fine without error
  4. Then move back the 'uav-net-sim' folder to "ns-3.27/scratch" directory
  5. Try running a uav-net-sim code from "ns-3.27" directory
    ./waf --run uav-net-sim

If you get the same error, you may need to try something else in the wscript file.

@calfino
Copy link
Author

calfino commented May 13, 2020

@saburhb I have tried with star.cc before, it stays the same. Now I try with scratch-simulator and it stays the same. I had this problem with 3 machines already 2 with ubuntu 16.04 and 1 using Linux mint 19.3
image

@Pablotria98
Copy link

I have experimented the same problem and I have probed multiple solutions but without any result... it seems like the waf is not able to find the library in which the 'zmq_sendmsg' is, but I think that the paths are corrects. One week ago I have deployed the FlyNetSim in ubuntu 18.04 LTS and the part of NS-3 ran correctly, but now that I am deploying the project in ubuntu 16.04 LTS.

If anyone can show the version of the zmq packets or he/she knows about other solutions It will be helpful.

Pablo.

@WangXiaoEric
Copy link

Image I also met same issue. my OS is ubuntu 22.04.
and I try to recompile https://github.com/zeromq/libzmq and
https://github.com/zeromq/czmq

It does not make sense.

I also try five steps mentioned by saburhb above, but it also does not make sence.

@WangXiaoEric
Copy link

I think i have solved this issue.

Image

I utilize zmq by this version libzmq-4.2.3.zip.

and i can run ./waf --run="uav-net-sim" in my ubuntu 22.04.

pls reach me by https://www.facebook.com/wang.eric.x.china/

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

4 participants