Cannot run the LTE example "lena-simple-epc-emu.cc"

45 views
Skip to first unread message

Jiteng Ma

unread,
Jul 28, 2019, 5:46:42 PM7/28/19
to ns-3-users
Hi, everyone

I am a new ns-3 learner, I try to run the script "lena-simple-epc-emu.cc". but it is failed. I tried other examples in src/lte/examples, they are all working fine.
The fault shown as follow:

Build commands will be stored in build/compile_commands.json
'build' finished successfully (20.415s)
../src/fd-net-device/helper/raw-sock-creator.cc: fatal error at line 86: main(): CreateSocket(): Unable to open raw socket
    errno = 1 (Operation not permitted)
msg="EmuFdNetDeviceHelper::CreateFileDescriptor(): socket creator exited normally with status 255", file=../src/fd-net-device/helper/emu-fd-net-device-helper.cc, line=311
terminate called without an active exception
Command ['/home/ns3/Desktop/ns-allinone-3.28.1/ns-3.28.1/build/scratch/lena-simple-epc-emu'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").


Is there any approach to fix it?

Jiteng
Reply all
Reply to author
Forward
0 new messages