[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] new object creation.



Hi NS-users.
 
I created one object called AirBurst inherited from Queue (so Queue/AirBurst).
The following error messge is coming up.
 
I really appreciate it if you have a solution to resolve the following and let me know it.
 
Sincerely Yours,
Tai Suk Kim
 
P.S. actually i insert 'airburst.o' starting by my filename airburst.cc into Makefile.
 
c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -DUSE_SHM -D
HAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK
8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I. -I/home/kts/n
s-allinone-2.1b6/tclcl-1.0b9 -I/home/kts/ns-allinone-2.1b6/otcl-1.0a5 -I/home/kt
s/ns-allinone-2.1b6/tkbox/include -I/home/kts/ns-allinone-2.1b6/tclbox/include -
o airburst.o airburst.cc
airburst.cc: In method `class TclObject * AirBurstClass::create(int, const char
*const *)':
airburst.cc:67: cannot allocate an object of type `AirBurst'
airburst.cc:67:   since the following virtual functions are abstract:
airburst.cc:67:         void Queue::enque(class Packet *)
airburst.cc:67:         class Packet * Queue::deque()
make: *** [airburst.o] Error 1