[ns] Successfully compiled ns under Red Hat 8.0 (GCC 3.2)

Piyush Khengar piyush.khengar@kcl.ac.uk
Sat Oct 5 08:45:05 2002


Dear All,

I have just managed to successfully build ns-allinone-2.1b9a. Here are
the steps if anybody is interested:

First of all make all the modifications to the source code as per
http://mailman.isi.edu/pipermail/ns-users/2002-September/025559.html

Note: I was unable to make the changes specified for the file tcp-full.h
as I could not find line 131 as specified in the modifications.

In addition, you will need to modify line 96 of file
ns-2.1b9a/queue/pi.h, so the line looks like

'friend class PICalcTimer;'

Next download the following file:
http://www.isi.edu/cgi-bin/nsnam/cvsweb/ns-2/mobile/shadowing-vis.cc?rev=1.3

and copy it to your ns-2.1b9a/mobile folder.

>From there on the build process should work fine.

Regards
Piyush Khengar




On Fri, 2002-10-04 at 21:16, Nicolas Christin wrote:
> 
> On 3 Oct 2002, Piyush Khengar wrote:
> 
> > I feel that it is important this issue is resolved to prevent the
ns2
> > build process from failing on all new linux distributions that use
GCC
> > 3.2.
> >
> > Any helpful pointers would be much appreciated.
> 
> Any helpful error messages (make output) would be even more
appreciated.
> Are you building allinone, or just ns? Where does it fail, what
> component fails to build? It's nice to tell everyone it doesn't work,
> but without further information, no one can fix it for you.
> 
> -- 
> Nicolas Christin
> Ph.D. Candidate, University of Virginia, Computer Science
> http://www.cs.virginia.edu/~nicolas
>