fd-tap-ping example

63 views
Skip to first unread message

Scott

unread,
Feb 11, 2016, 3:15:49 PM2/11/16
to ns-3-users
I have been working through this example, I have it running fine using ./waf --run scratch/fd-tap-ping.

However if I try to compile the example myself and run without waf I run into issues.

Output:
msg="TapFdNetDeviceHelper::CreateFileDescriptor(): Back from execlp(), errno = No such file or directory", file=../src/fd-net-device/helper/tap-fd-net-device-helper.cc, line=282 terminate called without an active exception
msg="TapFdNetDeviceHelper::CreateFileDescriptor(): socket creator exited abnormally", file=../src/fd-net-device/helper/tap-fd-net-device-helper.cc, line=309 terminate called without an active exception
Aborted (core dumped)

I've been looking through the source but I cannot figure out what the waf run is doing differently, also this is with ns3.23.
Any suggestions will be appreciated.

Thanks,
Scott

Tommaso Pecorella

unread,
Feb 11, 2016, 3:23:49 PM2/11/16
to ns-3-users
Hi,

the point is that waf is also setting up a lot of shell variables. Try using "waf shell" and then running the example from there.

Have fun,

T.
Reply all
Reply to author
Forward
0 new messages