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

Re: setdest compilation: "cc1plus", AODV, neighbor discovery



Sounds to me like a PATH problem that you may not have set up your
executable correctly for gcc. A "normal" configure should use c++/g++ in
that generated Makefile instead of gcc. My 0.02$.

- Haobo

On Sat, 18 Dec 1999, Robin POSS wrote:

> Hi,
> In Marc Greis tutorial, one can read:
> 		***
> In order to compile the revised setdest.cc do the following: 
> 1. Go to ns directory and run "configure" (you probably have done that
> already while building ns). This creates a makefile for setdest. 
> 2.Go to indep-utils/cmu-scen-gen/setdest. Run "make" , which first creates
> a stand-alone object file for ~ns/rng.cc (the stand-alone version does not
> use Tclcl libs) and then creates the executable setdest. 
> 		***
> I did all that until "Run "make"", which gave me as a result
> 		***
> [robin@station2 setdest]# make
> gcc -c -Dstand_alone -o rng.o ../../../rng.cc
> gcc: installation problem, cannot exec `cc1plus': No such file or directory
> make: *** [rng.o] Error 1
> [robin@station2 setdest]# 
> 		***
> I browsed the archives to try to fix that problem alone, but to no avail.
> Is there something wrong with my gcc? should I reinstall it? Help me if you
> wish with clues of suggestions to fix this problem.
> 
> Where could I find example simulation scripts using AODV?
> Is AODV using neighbor discovery (I read AODV.cc, aodv.h and aodv.tcl, but
> couldn't figure
> it out)?
> If not, is there an already-written piece of code which would enable me to
> use a
> neighbour-discovery protocol in my simulation?
> 
> Thank you, 
> Regards, 
> 
> 
> --
> Robin POSS
>