Errors while building a script

46 views
Skip to first unread message

Sana Tafleen

unread,
Mar 10, 2017, 5:30:41 PM3/10/17
to ns-3-users
Hello,

I have been trying to build a script but I get many errors. I have solved some but I am not able to figure this error.

scratch/ccn-vlc.cc.3.o: In function `ns3::DceManagerHelper::~DceManagerHelper()':
undefined reference to `vtable for ns3::DceManagerHelper'
collect2: error: ld returned 1 exit status

I thought this might be a problem with dce-manager-helper.h script location. Tried giving the exact location of the file but of no use. For your reference I am attaching the script I was trying to build.

Thank You.
ccn-vlc.cc

Tommaso Pecorella

unread,
Mar 11, 2017, 8:44:00 AM3/11/17
to ns-3-users
Hi,

I don't use DCE, so mine is just a wild guess.
An undefined reference to `vtable xxx' means that the linker isn't able to find the code for a function in a library. In other words, there's a linking issue (missing library) or a mismatch between the library and the caller (e.g., a removed function still being referenced in the headers).
Nevertheless, you seems to be "just" using the destructor, so... no idea.

Sorry if I can't help more,

T.

Sana Tafleen

unread,
Mar 11, 2017, 12:57:08 PM3/11/17
to ns-3-users
Thank You for your help. I'll try doing what you said. 
Reply all
Reply to author
Forward
0 new messages