LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Closed Thread
 
Search this Thread
Old 03-17-2010, 05:02 PM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,621

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527

@ enji, welcome to LQ.
Ref. your email :
The files mit.tar.gz + LEACH-Makefile-org have been send to you.

( @ maunik also asked for those, I hope the mail has arrived.)

.....

Last edited by knudfl; 03-18-2010 at 02:41 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-18-2010, 09:41 AM   #17
enji
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
Thank you knudfl.

I do what you tell me in the mail.

But when I run make -f 1-LEACH-Makefile-org, I've got this error

/home/enji/PFE/ns-allinone-2.27/lib -ltcl8.4 -lXext -lX11 -lintl -lm
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
mit/rca/resource.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [ns] Erreur 1

Do you know what it means?
 
Old 03-18-2010, 02:15 PM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,621

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
@ enji, post # 17.

Did you remember to do 'make clean' in ns-allinone-2.27/ns-2.27/ ?
1) cd ns-allinone-2.27/ns-2.27/
2) make clean

.....
 
Old 03-18-2010, 02:32 PM   #19
enji
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by enji View Post
Thank you knudfl.

I do what you tell me in the mail.

But when I run make -f 1-LEACH-Makefile-org, I've got this error

/home/enji/PFE/ns-allinone-2.27/lib -ltcl8.4 -lXext -lX11 -lintl -lm
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
/usr/bin/ld: mit/rca/resource.o: Relocations in generic ELF (EM: 2)
mit/rca/resource.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [ns] Erreur 1

Do you know what it means?
I found the problem:
when I do make clean, not all the files object (.o) are erase.
So when I delete the file: mit/rca/resource.o and re run make, it compile without errors.

The simulation of LEACH run also without any errors.

So thank you knudfl for your reply.
I have just another question:
During the simulation, a lot of warnings are displaying
is it possible to disable this.

Thanks.
 
Old 03-19-2010, 05:53 AM   #20
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,621

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
Post # 19

The warnings have no importance, are information only.
Please read the posts # 5 and # 6.

.....
 
Old 03-20-2010, 08:51 AM   #21
emtarik05
LQ Newbie
 
Registered: Mar 2010
Posts: 10

Rep: Reputation: 3
Thumbs up Leach ns2.34

I modified MIT LEACH to work on NS2.34 ubuntu 9.10
its ok thank you.
 
1 members found this post helpful.
Old 03-21-2010, 02:47 AM   #22
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,621

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
@ emtarik05, post # 21 : That is interesting. Really. Thank you.

Can you please describe, what you did, and can you make
this modified MIT available for others too ? Please ..
( I would very much like to have a copy.)
.....

Last edited by knudfl; 03-21-2010 at 02:49 AM.
 
Old 03-30-2010, 08:55 AM   #23
omegabullit
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Rep: Reputation: 0
Hey all, I followed a combination of instructions, basically I used the posts that knudfl posted in regards to setting up NS-2.27 (with NS-2.34), and I've used the Jason Pamplin pdf for going about with the LEACH installation. Also, I'm running Ubuntu 9.04. I've gotten to the point in the pdf where I need to run make after having extracted the mit.tar.gz package. I've made the necessary changes to the Makefile I have, but am getting the following errors:

Code:
g++ -c -Dstand_alone -DSTL_NAMESPACE=@STL_NAMESPACE@  -o setdest.o setdest.cc
setdest.cc:71:1: warning: "INFINITY" redefined
In file included from /usr/include/math.h:40,
                 from setdest.cc:43:
/usr/include/bits/inf.h:27:1: warning: this is the location of the previous definition
In file included from ../../../config.h:54,
                 from setdest.h:5,
                 from setdest.cc:57:
../../../autoconf.h:85: error: ‘CPP_NAMESPACE’ is not a namespace-name
../../../autoconf.h:85: error: expected namespace-name before ‘;’ token
In file included from setdest.cc:57:
setdest.h:26: error: extra qualification ‘vector::’ on member ‘operator=’
setdest.h:31: error: extra qualification ‘vector::’ on member ‘operator+=’
setdest.h:36: error: extra qualification ‘vector::’ on member ‘operator==’
setdest.h:39: error: extra qualification ‘vector::’ on member ‘operator!=’
make[1]: *** [setdest.o] Error 1
make[1]: Leaving directory `/home/ucacm/Downloads/ns-allinone-2.27/ns-2.27/indep-utils/cmu-scen-gen/setdest'
make[1]: Entering directory `/home/ucacm/Downloads/ns-allinone-2.27/ns-2.27/indep-utils/webtrace-conv/dec'
g++ -c -DSTL_NAMESPACE=@STL_NAMESPACE@ -I. -I/home/ucacm/Downloads/ns-allinone-2.27/tclcl-1.15 -I/home/ucacm/Downloads/ns-allinone-2.27/otcl-1.8 -I/home/ucacm/Downloads/ns-allinone-2.27/include -I/home/ucacm/Downloads/ns-allinone-2.27/include -I/usr/include/pcap -o proxytrace.o proxytrace.cc
In file included from proxytrace.cc:3:
../../../autoconf.h:85: error: ‘CPP_NAMESPACE’ is not a namespace-name
../../../autoconf.h:85: error: expected namespace-name before ‘;’ token
make[1]: *** [proxytrace.o] Error 1
make[1]: Leaving directory `/home/ucacm/Downloads/ns-allinone-2.27/ns-2.27/indep-utils/webtrace-conv/dec'
make[1]: Entering directory `/home/ucacm/Downloads/ns-allinone-2.27/ns-2.27/indep-utils/webtrace-conv/epa'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ucacm/Downloads/ns-allinone-2.27/ns-2.27/indep-utils/webtrace-conv/epa'
make[1]: Entering directory `/home/ucacm/Downloads/ns-allinone-2.27/ns-2.27/indep-utils/webtrace-conv/nlanr'
g++ -c -DSTL_NAMESPACE=@STL_NAMESPACE@ -I. -I../../.. -I/home/ucacm/Downloads/ns-allinone-2.27/tclcl-1.15 -I/home/ucacm/Downloads/ns-allinone-2.27/otcl-1.8 -I/home/ucacm/Downloads/ns-allinone-2.27/include -I/home/ucacm/Downloads/ns-allinone-2.27/include -I/usr/include/pcap -o tr-stat.o tr-stat.cc
In file included from logparse.h:7,
                 from tr-stat.cc:24:
../../../config.h:103:1: warning: "STRTOI64_FMTSTR" redefined
In file included from /home/ucacm/Downloads/ns-allinone-2.27/tclcl-1.15/tclcl.h:47,
                 from ../../../config.h:60,
                 from logparse.h:7,
                 from tr-stat.cc:24:
/home/ucacm/Downloads/ns-allinone-2.27/tclcl-1.15/tclcl-config.h:37:1: warning: this is the location of the previous definition
In file included from ../../../config.h:54,
                 from logparse.h:7,
                 from tr-stat.cc:24:
../../../autoconf.h:85: error: ‘CPP_NAMESPACE’ is not a namespace-name
../../../autoconf.h:85: error: expected namespace-name before ‘;’ token
make[1]: *** [tr-stat.o] Error 1
make[1]: Leaving directory `/home/ucacm/Downloads/ns-allinone-2.27/ns-2.27/indep-utils/webtrace-conv/nlanr'
make[1]: Entering directory `/home/ucacm/Downloads/ns-allinone-2.27/ns-2.27/indep-utils/webtrace-conv/ucb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ucacm/Downloads/ns-allinone-2.27/ns-2.27/indep-utils/webtrace-conv/ucb'
I've also tried to perform the steps listed on this site:
http://www.isi.edu/nsnam/ns/ns-problems.html#ns-2.27

For applying a patch regarding the second problem listed under ns-2.27, but the patch would not work for me. Any thoughts?

Edit: I think I may have been using the wrong Makefile, this is attempting to make with the Makefile you sent me knudfl

Code:
g++ -c -g -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -fsigned-char -fno-inline -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_8 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H  -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -DMIT_uAMPS -I. -I/usr/X11R6/include -I/home/Administrator/ns-allinone-2.27/tclcl-1.15 -I/home/Administrator/ns-allinone-2.27/otcl-1.8 -I/home/Administrator/ns-allinone-2.27/include -I/home/Administrator/ns-allinone-2.27/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./mit/rca -I./mit/uAMPS -o tools/random.o tools/random.cc
In file included from tools/random.cc:40:
./config.h:60:19: error: tclcl.h: No such file or directory
In file included from tools/random.h:42,
                 from tools/random.cc:41:
tools/rng.h:103: error: expected class-name before ‘{’ token
tools/rng.h:342: error: ‘FILE’ has not been declared
tools/random.cc: In function ‘long int random()’:
tools/random.cc:53: error: ‘printf’ was not declared in this scope
make: *** [tools/random.o] Error 1

Last edited by omegabullit; 03-30-2010 at 11:55 AM.
 
Old 03-31-2010, 04:34 AM   #24
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,621

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
.......... Post # 23 ..
Well, the gcc / g++ 3.3 should be installed for a purpose :

LEACH-Makefile , line 36-37, please edit to ..
CC = gcc-3.3
CPP = g++-3.3

.....

I also have this , line 40 ..
TCLSH = tclsh8.4

.....

Last edited by knudfl; 03-31-2010 at 12:35 PM.
 
Old 03-31-2010, 10:16 AM   #25
omegabullit
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Rep: Reputation: 0
I made the changes you suggested knudfl, big new list of errors:

Quote:
g++-3.3 -c -g -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -fsigned-char -fno-inline -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_8 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -DMIT_uAMPS -I. -I/usr/X11R6/include -I/home/Administrator/ns-allinone-2.27/tclcl-1.15 -I/home/Administrator/ns-allinone-2.27/otcl-1.8 -I/home/Administrator/ns-allinone-2.27/include -I/home/Administrator/ns-allinone-2.27/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./mit/rca -I./mit/uAMPS -o tools/random.o tools/random.cc
In file included from tools/random.cc:40:
config.h:60:19: tclcl.h: No such file or directory
In file included from tools/random.h:42,
from tools/random.cc:41:
tools/rng.h:103: error: syntax error before `{' token
tools/rng.h:112: error: syntax error before `const'
tools/rng.h:113: error: syntax error before `long'
tools/rng.h:121: error: syntax error before `,' token
tools/rng.h:122: error: `RNGSources' was not declared in this scope
tools/rng.h:122: error: syntax error before `,' token
tools/rng.h: In function `RNG* defaultrng()':
tools/rng.h:123: error: `default_' undeclared (first use this function)
tools/rng.h:123: error: (Each undeclared identifier is reported only once for
each function it appears in.)
tools/rng.h: At global scope:
tools/rng.h:202: error: non-member function `void get_state(long unsigned int*)
' cannot have `const' method qualifier
tools/rng.h:208: error: non-member function `void write_state()' cannot have `
const' method qualifier
tools/rng.h:213: error: non-member function `void write_state_full()' cannot
have `const' method qualifier
tools/rng.h: In function `int random()':
tools/rng.h:259: error: new declaration `int random()'
/usr/include/stdlib.h:327: error: ambiguates old declaration `long int random()
'
tools/rng.h: At global scope:
tools/rng.h:290: error: syntax error before `protected'
tools/rng.h:328: error: `RNG*default_' used prior to declaration
tools/rng.h:329: error: syntax error before `}' token
tools/rng.h:341: error: incomplete type `RNG' does not have member `RNGSources'
tools/rng.h:341: error: syntax error before `,' token
tools/rng.h:342: error: incomplete type `RNG' does not have member `RNGSources'
tools/rng.h:342: error: syntax error before `,' token
In file included from tools/random.cc:41:
tools/random.h: In static member function `static RNG* Random::rng()':
tools/random.h:46: error: incomplete type 'RNG' cannot be used to name a scope
tools/random.h: In static member function `static void Random::seed(int)':
tools/random.h:49: error: incomplete type `RNG' does not have member `
RAW_SEED_SOURCE'
tools/random.h:49: error: `set_seed' undeclared (first use this function)
tools/random.h: In static member function `static int
Random::seed_heuristically()':
tools/random.h:50: error: incomplete type `RNG' does not have member `
HEURISTIC_SEED_SOURCE'
tools/random.h:50: error: `set_seed' undeclared (first use this function)
tools/random.h:50: error: `seed' undeclared (first use this function)
tools/random.h: In static member function `static int Random::random()':
tools/random.h:52: error: `uniform_positive_int' undeclared (first use this
function)
tools/random.h: In static member function `static double Random::uniform()':
tools/random.h:53: error: `uniform_double' undeclared (first use this function)
tools/random.h: In static member function `static double
Random::uniform(double)':
tools/random.h:54: error: `uniform' undeclared (first use this function)
tools/random.h: In static member function `static double
Random::uniform(double, double)':
tools/random.h:55: error: `uniform' undeclared (first use this function)
tools/random.h: In static member function `static double Random::exponential()
':
tools/random.h:56: error: `exponential' undeclared (first use this function)
tools/random.h: In static member function `static int Random::integer(int)':
tools/random.h:57: error: `uniform' undeclared (first use this function)
tools/random.h: In static member function `static double
Random::exponential(double)':
tools/random.h:58: error: `exponential' undeclared (first use this function)
tools/random.h: In static member function `static double Random:areto(double,
double)':
tools/random.h:59: error: `pareto' undeclared (first use this function)
tools/random.h: In static member function `static double
Random:aretoII(double, double)':
tools/random.h:60: error: `paretoII' undeclared (first use this function)
tools/random.h: In static member function `static double Random::normal(double,
double)':
tools/random.h:61: error: `normal' undeclared (first use this function)
tools/random.h: In static member function `static double
Random::lognormal(double, double)':
tools/random.h:62: error: `lognormal' undeclared (first use this function)
tools/random.cc: In function `long int random()':
tools/random.cc:52: error: new declaration `long int random()'
tools/rng.h:259: error: ambiguates old declaration `int random()'
tools/random.cc: In function `long int random()':
tools/random.cc:53: error: `printf' undeclared (first use this function)
tools/random.cc: At top level:
tools/rng.h:129: warning: `void set_package_seed(const long unsigned int*)'
declared `static' but never defined
tools/rng.h:311: warning: `double next_seed_[6]' defined but not used
tools/rng.h:328: warning: `RNG*default_' defined but not used
make: *** [tools/random.o] Error 1
 
Old 03-31-2010, 12:16 PM   #26
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,621

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
Post # 25 : One error only ( so far ) :
Quote:
config.h:60:19:tclcl.h: No such file or directory
Be aware, that this LEACH-Makefile was written for
a completely different set of paths ..
(not all paths point to a known ns-allinone path) :
config.h , line 60 : #include <tclcl.h>

Which means searching in the default search path = /usr/ .
I am always installing otcl + tclcl to /usr/ :
cd otcl-1.13/ &&
./configure --prefix=/usr --enable-release --enable-devel
&& make && sudo make install
cd ../tclcl-1.19/ &&
./configure --prefix=/usr --enable-release --enable-devel
&& make && sudo make install .

sudo apt-get remove tcl8.5-dev tk8.5-dev
sudo apt-get install tcl8.4-dev tk8.4-dev
.. which provides the essential tcl / tk files in /usr/ .
( You may already have this tcl / tk in place.)
.....

Last edited by knudfl; 04-03-2010 at 11:45 AM.
 
Old 04-05-2010, 05:13 PM   #27
elzohrry2006
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
can any one compress the working directory of ns2.27 with leach and upload it for us

emtarik05 wrote :
Quote:
I modified MIT LEACH to work on NS2.34 ubuntu 9.10
its ok thank you.
please tell us how or upload the patcy

thanks

Last edited by elzohrry2006; 04-05-2010 at 05:27 PM.
 
Old 04-06-2010, 07:12 AM   #28
elzohrry2006
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
how can use trace file of leach protocol ?

does any one have Awk script for it ?

thanks
 
Old 04-06-2010, 01:09 PM   #29
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,621

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
@elzohrry2006 , welcome to LQ.

ns2 trace : Please Google e.g. .. using trace file ns2 ..
The first hit is :
http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats
I don't know how to run a trace file. Start a new thread,
if you want to run a file.tr. Do not mention awk, then
you will most likely get no answers.
Quote:
compress the working directory of ns2.27 with leach and upload it
I can upload these to an email : mit.tar.gz , LEACH-Makefile ,
and the compiled binary "ns" , alias ns227 , alias ns227LEACH
from ns-2.27 . All objects are compiled into that binary.
The other "50 MB" are examples, etc. , which you already have.
But why not compile it yourself. It's easy. But please tell,
which Linux, you are using : And get instructions.
Other info : LQ Search → 'Tag Name' = leach ((and = ns227)).
http://www.linuxquestions.org/questions/search.php
.....

Last edited by knudfl; 04-07-2010 at 02:20 AM.
 
Old 04-06-2010, 02:48 PM   #30
omegabullit
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Rep: Reputation: 0
Thanks again for all the help everyone. I solved the last problem knudfl, except now I've got a new one. Upon making the PATH corrections in the makefile, it went through and got pretty far before reaching the following error:

Quote:
/usr/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
make: *** [ns] Error 1
I've tried searching around, and tried installing a few packages others suggested might contain what I need, but to no avail. Any tips?
 
  


Closed Thread

Tags
leach, leach-ns227, ns2, ns227


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in simulating Black Hole Attack in AODV Protocol through NS2 in FC8 shyan Linux - Newbie 1 03-21-2009 05:28 AM
NS2 installation ds_priyaa Fedora 2 05-28-2008 02:23 AM
NS2 installation eby83 Linux - Newbie 2 06-11-2007 01:08 AM
ns2 installation pranoti Linux - Software 2 06-11-2007 12:45 AM
LXer: Interview with Bernard Leach (iPodLinux) LXer Syndicated Linux News 0 10-31-2006 11:33 AM


All times are GMT -5. The time now is 08:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration