error "warning: can't find linker symbol for ..."

Anybody can give me a hand on this?
I am trying to use Eclipse debugger in Ubuntu, and it generates the following message in the console:
warning: can't find linker symbol for virtual table for `DoublyLinkedList' value
warning: found `std::error_code::default_error_condition() const' instead
warning: can't find linker symbol for virtual table for `DoublyLinkedList' value
warning: found `std::error_code::default_error_condition() const' instead
warning: can't find linker symbol for virtual table for `DoublyLinkedList' value
warning: found `std::error_code::default_error_condition() const' instead

Does it related to the code?
This is my main:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#include <iostream>
#include <cstdlib>
#include "SinglyLinkedList.h"
#include "SinglyLinkedListIterator.h"
#include "DoublyLinkedList.h"
#include "DoublyLinkedListIterator.h"
using namespace std;

int main()
{
	Data* data[20];
	for (int i=0; i < 20; i++)
	{
		int value = rand()%100+1;
		data[i] = new Data(value);
	}

	/*
	List *singlyLinkedlistA = new SinglyLinkedList;
	ListIterator *iter_A = singlyLinkedlistA->createIterator();

	for (int i = 0; i < 20; i++)
	{
		singlyLinkedlistA->append(data[i]);
	}

	iter_A->first();
	for (int i=0; i < singlyLinkedlistA->count();i++)
	{
		cout << iter_A->currentItem()->getValue() << " ";
		iter_A->next();
	}
	cout << endl;
	*/

	//A1
	DoublyLinkedList *d1 = new DoublyLinkedList();
	ListIterator *d1Iter = d1->createIterator();

	//append
	for (int i = 0; i < 20; i++)
	{
		d1->append(data[i]);
	}

	while (d1Iter->currentItem()!=0)
	{
		cout << d1Iter->currentItem()->getValue() << " ";
		DoublyLinkedListIterator *a = (DoublyLinkedListIterator*)d1Iter;
		a->previous();
	}
	return 0;
}

Thanks in advance!
It looks like they have an issue with how their vtable for the virtual functions is set up...as for fixing it, I don't think you really can do anything other than maybe reinstall Eclipse.
Topic archived. No new replies allowed.