[ns] Otcl linkage

BEN ALI ABIR b_abir@excite.com
Sun Apr 21 09:15:01 2002



--EXCITEBOUNDARY_000__75db1de0c606a9688d3ed7c39b026bf8
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

 Hi all
I wrote a new Queue class in C++ : FRED and I wanted to create the corresponding Otcl object.
I added FRED.o in the makefile.vc file and I retrieved the new-queue.o object.
But ns still not recognize the new queue : 
$ns duplex-link $nod1 $nod2 FRED
class Queue/FRED: constructor failed: invalid command name "Queue/FRED" !!!
I'm sure that my code is ok, what should I do ?


------------------------------------------------


--EXCITEBOUNDARY_000__75db1de0c606a9688d3ed7c39b026bf8
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit

 Hi all
<br />
I wrote a new Queue class in C++ : FRED and I wanted to create the corresponding Otcl object.
<br />
I added FRED.o in the makefile.vc file and I retrieved the new-queue.o object.
<br />
But ns still not recognize the new queue : 
<br />
$ns duplex-link $nod1 $nod2 FRED
<br />
class Queue/FRED: constructor failed: invalid command name "Queue/FRED" !!!
<br />
I'm sure that my code is ok, what should I do ?
<br />
<p><hr>

--EXCITEBOUNDARY_000__75db1de0c606a9688d3ed7c39b026bf8--