{"action":"created","issue":{"url":"https://api.github.com/repos/esnet/iperf/issues/298","repository_url":"https://api.github.com/repos/esnet/iperf","labels_url":"https://api.github.com/repos/esnet/iperf/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/esnet/iperf/issues/298/comments","events_url":"https://api.github.com/repos/esnet/iperf/issues/298/events","html_url":"https://github.com/esnet/iperf/issues/298","id":104441795,"number":298,"title":"run iperf in ns3 DCE","user":{"login":"teto","id":886074,"avatar_url":"https://avatars.githubusercontent.com/u/886074?v=3","gravatar_id":"","url":"https://api.github.com/users/teto","html_url":"https://github.com/teto","followers_url":"https://api.github.com/users/teto/followers","following_url":"https://api.github.com/users/teto/following{/other_user}","gists_url":"https://api.github.com/users/teto/gists{/gist_id}","starred_url":"https://api.github.com/users/teto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teto/subscriptions","organizations_url":"https://api.github.com/users/teto/orgs","repos_url":"https://api.github.com/users/teto/repos","events_url":"https://api.github.com/users/teto/events{/privacy}","received_events_url":"https://api.github.com/users/teto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/esnet/iperf/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"bmah888","id":6485757,"avatar_url":"https://avatars.githubusercontent.com/u/6485757?v=3","gravatar_id":"","url":"https://api.github.com/users/bmah888","html_url":"https://github.com/bmah888","followers_url":"https://api.github.com/users/bmah888/followers","following_url":"https://api.github.com/users/bmah888/following{/other_user}","gists_url":"https://api.github.com/users/bmah888/gists{/gist_id}","starred_url":"https://api.github.com/users/bmah888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmah888/subscriptions","organizations_url":"https://api.github.com/users/bmah888/orgs","repos_url":"https://api.github.com/users/bmah888/repos","events_url":"https://api.github.com/users/bmah888/events{/privacy}","received_events_url":"https://api.github.com/users/bmah888/received_events","type":"User","site_admin":false},"assignees":[{"login":"bmah888","id":6485757,"avatar_url":"https://avatars.githubusercontent.com/u/6485757?v=3","gravatar_id":"","url":"https://api.github.com/users/bmah888","html_url":"https://github.com/bmah888","followers_url":"https://api.github.com/users/bmah888/followers","following_url":"https://api.github.com/users/bmah888/following{/other_user}","gists_url":"https://api.github.com/users/bmah888/gists{/gist_id}","starred_url":"https://api.github.com/users/bmah888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmah888/subscriptions","organizations_url":"https://api.github.com/users/bmah888/orgs","repos_url":"https://api.github.com/users/bmah888/repos","events_url":"https://api.github.com/users/bmah888/events{/privacy}","received_events_url":"https://api.github.com/users/bmah888/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2015-09-02T09:48:14Z","updated_at":"2016-08-12T23:43:44Z","closed_at":"2016-08-12T23:43:44Z","body":"Hi,\r\n\r\nI would like to load iperf3 in the network simulator ns3 with DCE. Thus I tried compiling it with the flags described here: https://www.nsnam.org/docs/dce/manual/html/dce-user-newapps.html such as\r\n```\r\n$ make CFLAGS=\"-fPIC -U_FORTIFY_SOURCE\" LDFLAGS=\"-pie -rdynamic\" \r\nlibtool: link: gcc -pg -g -fPIC -U_FORTIFY_SOURCE -pg -g -pie -rdynamic -o .libs/iperf3_profile iperf3_profile-main.o iperf3_profile-cjson.o iperf3_profile-iperf_api.o iperf3_profile-iperf_error.o iperf3_profile-iperf_client_api.o iperf3_profile-iperf_locale.o iperf3_profile-iperf_server_api.o iperf3_profile-iperf_tcp.o iperf3_profile-iperf_udp.o iperf3_profile-iperf_sctp.o iperf3_profile-iperf_util.o iperf3_profile-net.o iperf3_profile-tcp_info.o iperf3_profile-tcp_window_size.o iperf3_profile-timer.o iperf3_profile-units.o  ./.libs/libiperf.so\r\n/usr/bin/ld.bfd.real: /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/gcrt1.o: relocation R_X86_64_32S against `__libc_csu_fini' can not be used when making a shared object; recompile with -fPIC\r\n/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/gcrt1.o: error adding symbols: Bad value\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:784: recipe for target 'iperf3_profile' failed\r\nmake[2]: *** [iperf3_profile] Error 1\r\nmake[2]: Leaving directory '/home/teto/iperf3/src'\r\nMakefile:632: recipe for target 'all' failed\r\nmake[1]: *** [all] Error 2\r\nmake[1]: Leaving directory '/home/teto/iperf3/src'\r\nMakefile:381: recipe for target 'all-recursive' failed\r\nmake: *** [all-recursive] Error 1\r\n```\r\nWould it be possible to fix this please ?"},"comment":{"url":"https://api.github.com/repos/esnet/iperf/issues/comments/239585190","html_url":"https://github.com/esnet/iperf/issues/298#issuecomment-239585190","issue_url":"https://api.github.com/repos/esnet/iperf/issues/298","id":239585190,"user":{"login":"teto","id":886074,"avatar_url":"https://avatars.githubusercontent.com/u/886074?v=3","gravatar_id":"","url":"https://api.github.com/users/teto","html_url":"https://github.com/teto","followers_url":"https://api.github.com/users/teto/followers","following_url":"https://api.github.com/users/teto/following{/other_user}","gists_url":"https://api.github.com/users/teto/gists{/gist_id}","starred_url":"https://api.github.com/users/teto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teto/subscriptions","organizations_url":"https://api.github.com/users/teto/orgs","repos_url":"https://api.github.com/users/teto/repos","events_url":"https://api.github.com/users/teto/events{/privacy}","received_events_url":"https://api.github.com/users/teto/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T23:43:44Z","updated_at":"2016-08-12T23:43:44Z","body":"@bmah888 I close this ticket since I've been able to run iperf3 in DCE already (patches are available though not merged yet). IIRC there is an infinite loop (because it relies on time elapsing while in discrete simulators, time doesn't advance within the loop) that could be fixed or modified upstream. We'll see if someone volunteers :)\r\n\r\n@Ruvaak open a thread on ns3 mailing list but no one can help you without more details. Just look into stdout/stderr files to get the proper error message."}}
{"actor":{"display_login":"teto"}}