You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Hello ns3-users,
I am trying to use iperf2 in DCE-ns3 however i am getting this error
*** unable to open non-shared object file=elf-cache/0/iperf *** assert failed. cond="false", msg="make it sure that DCE binrary file elf-cache/0/iperf was built with correct options: (CFLAGS=-fPIC, LDFLAGS=-pie -rdynamic)", +0.600000000s 1 file=../model/elf-cache.cc, line=275 terminate called without an active exception Command ['/home/nanami/playground/ns-3-dce/build/bin/dce-iperf'] terminated with signal SIGABRT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").
I have tried different versions of iperf however none of them work I think i am missing one flag but i dont know which one https://github.com/lynxis/iperf2 this is the iperf i am getting error in.
i also used iperf3 from https://github.com/esnet/iperf I have used iperf3 but the pcap files generated are empty for any example i try to use it in.
Please help me solve this issue.
If required I can send screen shots of the error.
Tom Henderson
unread,
Jul 3, 2023, 2:18:01 PM7/3/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-...@googlegroups.com
this is the version of iperf that is tested with DCE:
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Thank you so much i was able to follow and get iperf working
However the program i am running also requires iproute i followed the bakeconf.xml downloaded iproute-2.6.38 applied the patch i also did export CCOPTS="-fPIC -D_GNU_SOURCE -O0 -U_FORTIFY_SOURCE -g" export LDFLAGS= "-pie -rdynamic"
however after running configure i am getting error TC schedulers ATMno IPTusing iptables iptables modules directory: not found!
so i checked the availibility of iptables using : which iptables and got the output : /sbin/iptables
however it won't configure, is there any way to fix this issue?
Tom Henderson
unread,
Aug 9, 2023, 11:10:34 AM8/9/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-...@googlegroups.com, tesla pop
Those are not fatal errors; on my system, I see the same, but iptables
is built and installed into the build/bin directory (because I use bake
to install it-- if you are manually configuring and building, it will
just reside in that source directory until you try to install it somewhere).
When you call 'which', it relies on the PATH environment variable to
search for programs, so if your local iptables directory is not first on
the PATH, it will find the system installed one. When using DCE, it is
important to set some environment variables correctly to point to the
bake 'build' directory:
If you set a variable to the path of your bake directory:
export DCE_HOME=/path/to/your/bake
On 8/9/23 03:53, tesla pop wrote:
> Thank you so much i was able to follow and get iperf working
> However the program i am running also requires iproute i followed the
> bakeconf.xml downloaded iproute-2.6.38 applied the patch
> i also did