Quote:
Originally Posted by knudfl
# 14 .
There is one Makefile only in the directory, where you so $ make -k
... that's ns-allinone-2.33/ns-2.33/Makefile
Compilers :
Please install "gcc41-compat-4.1.2.ubu1204_i386.deb g++41-compat-4.1.2_i386.deb",
ref. post #18 here ..
http://www.linuxquestions.org/questi...022/page2.html
-
|
just same mr.knudfl
i am already did
line 37 in the Makefile must be edited to : CPP = g++41
gcc41-compat "1204"
https://docs.google.com/open?id=0B7S...lNURldUenRyb3c
g++41-compat
https://docs.google.com/open?id=0B7S...hjMjljN2M2MGU4
sudo dpkg -i gcc41-compat-4.1.2.ubu1204_i386.deb g++41-compat-4.1.2_i386.deb
reboot
cd ns-allinone-2.33/ && export CC=gcc41 CXX=g++41 && ./install
then
jap@jap-GA-MA770T-UD3P:~/zrp-examples$ ns example-zrp.tcl
"for {set i 0} {$i < $opt(nn) } {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0 ;# disable random motion
}"
(file "example.tcl" line 182)
ap@jap-GA-MA770T-UD3P:~/zrp-examples$ ns zrp-Demo1-1.tcl
invalid command name "Agent/ZRP"
while executing
"Agent/ZRP set radius_ 2 "
(file "zrp-Demo1-1.tcl" line 17)
jap@jap-GA-MA770T-UD3P:~/zrp-examples$ ns zrp-Demo2-1.tcl
invalid command name "Agent/ZRP"
while executing
"Agent/ZRP set radius_ 2 "
(file "zrp-Demo2-1.tcl" line 17)
my computer is AMD its alright?
help me