[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Problem in defining of a new timer
Hi there.
I tried to create a new timer as follows :
class MyConnector : public Connector
...............
};
class MyTimer : public TimerHandler {
public:
MyTimer(MyConnector *a) : TimerHandler() { a_ = a; }
protected:
void expire(Event *e);
MyConnector *a_;
}
and when linking gcc(g++) , I got error message as "undefined reference to
virtual table".
Could you please give me the solution of this problem or info?
Thanks.
rgds,
Haruki
====Waseda University
====Haruki IZUMIKAWA
====E-mail$B!'([email protected]