[Click] Undefined reference
David Sesmero Sáez
Deivid_Sesme at hotmail.com
Tue Feb 9 16:54:22 EST 2010
I have solved the previus problems in my code, thanks to all of you. (Specially to Cliff and Eddie).
But now I have a new problem:
I have in VlanTables.hh one structure like this:
typedef HashMap<int,int> PORT_VLAN;
struct PortInfo{
bool active;
bool trunk;
PORT_VLAN vlans;
}
Vector<PortInfo> ports;
And in the VlanTables.cc, in the configure function:
Vector<PortInfo>::iterator it=ports.begin();
for(int iter=0; iter<8; iter++){
ports.insert(it,PortInfo);
it++;
}
All the compilation run ok, except the final part, where I have this error:
Undefined reference to Vector<VlanTables::PortInfo>::~Vector()
Someone knows why I have this error?
Thanks, David.
More information about the click
mailing list