Hi everyone,

I found a UMTS patch for NS2 here:
http://eurane.ti-wmc.nl/eurane/
Now I have troubles with the Patch for clean ns-2.30: 
ns-2.30_eurane-1.12.diff.gz
I followed these steps:
1. Install the NS-2.30, make sure it is running correctly with the examples in 
~/NS-2.30/tcl/ex/
2. Patch the diff file ns-2.30_eurane-1.12.diff.gz . Put it in the directory  
~/NS-2.30/, command "patch -p1 < ns-2.30_eurane-1.12.diff.gz " , and everything 
seems okay
3. Command "./configure" "make clean" "make depend" "make" successively. If I 
bypass the "make depend" , it seems the "make" is terminated abnormally, 
however without any error Display. While  if I "make depend" after "make 
clean", it gives the error Display:

/bin/sh: Syntax error: Bad fd number
make: *** [depend] error 2

4. After the no error display "make" which seems is not completed, I run a tcl 
file downloaded from EURANE: test_tcp.tcl, and it gives the following error:

# ns test_tcp.tcl

    (_o3 cmd line 1)
    invoked from within
"_o3 cmd create-Umtsnode"
    invoked from within
"catch "$self cmd $args" ret"
    invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
    (procedure "_o3" line 2)
    (SplitObject unknown line 2)
    invoked from within
"$ns create-Umtsnode"
    invoked from within
"set rnc [$ns create-Umtsnode]"
    (file "test_tcp.tcl" line 42)

I use NS-2.30 in Ubuntu 9.10 with gcc&g++ version 4.0.3 .
Any suggestions could be helpful. Thanks in advance.

Reply via email to