Hi

I got FC3 (as advised for NS2.26), did ./install on ns2.26 allinone

I get the following error

tclcl-mappings.h:52: error: invalid use of undefined type 'struct Tcl'
tclcl-mappings.h:41: error: forward declaration of 'struct Tcl'

tclcl-mappings.h:57: error: invalid use of undefined type 'struct Tcl'
tclcl-mappings.h:41: error: forward declaration of 'struct Tcl'
make: *** [embedded-tcl.o] Error 1
tclcl-1.0b13 make failed! Exiting ..


Did anyone face a similar problem?

On http://www.isi.edu/nsnam/ns/ns-problems.html I found


   - *Problem:* Tclcl doesn't build against gcc-3.4 (as in Fedora Core
   3).

   *Solution:* Fixed in current CVS. Apply this patch:

   --- tclcl.h~ 2003-07-29 11:24:50.000000000 -0700
   +++ tclcl.h  2004-12-10 08:55:34.692584936 -0800
   @@ -45,8 +45,8 @@
    }

    #include "tclcl-config.h"
   -#include "tclcl-mappings.h
   "
    #include "tracedvar.h"
   +// tclcl-mappings.h included below, AFTER definition of class Tcl

    struct Tk_Window_;

   @@ -158,6 +158,8 @@
        Tcl_HashTable objs_;
    };

   +#include "
   tclcl-mappings.h"
   +
    class InstVar;

    class TclObject {


Do you know where  to put this patch.

Thanks
Vikas






On 10/23/07, sachin sharma < [EMAIL PROTECTED]> wrote:
>
>
>
> I have installed NS-2.26 in Fedora 3 and in Red hat 9.
> Try these. I did not try same version of NS in FC-5.
>
>
> Best of Luck
>
> --- Vikas Luthra < [EMAIL PROTECTED] > wrote:
>
> > Hi
> >
> > That was great piece of information.
> > I have been trying to install NS2.26 on FC5 for 3
> > days now. Is it possible
> > at all?
> >
> > If not, what version should I get.
> >
> > I need to run NS2.26 for MAODV code implementation
> > from
> > http://www.sce.carleton.ca/wmc/code.html .
> >
> > I tried this on later versions of NS2, but it doesnt
> > work. So I guess I need
> > NS2.26 only.
> >
> > Can you please guide me which Linux or Cygwin (for
> > windows) should I get?
> >
> > I sincerely appreciate your help.
> >
> >
> >
> > Thanks
> > Vikas
> > Arizona State University
> >
> > On 10/22/07, sharon_sachin
> > < [EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > > Installation of NS is operating system dependent.
> > like if we want to talk
> > > about the Fedora.
> > > Then Fedora -3 support NS-2.28, Fedora 4 and
> > Fedora 5 support NS - 2.29.
> > > So,
> > > before installling NS
> > > version U also see the compatibility of the same
> > with the Linux operating
> > > System.
> > >
> > > Best Regards
> > > Sachin Sharma
> > >
> > > Karthikit wrote:
> > > >
> > > > Hi friends,
> > > > I am having a problem at the time of installing
> > NS2 in my notebook under
> > > > fedora OS.
> > > > The following is the error that I had during the
> > installation.
> > > >
> > > > checking system version (for dynamic loading)...
> > ./configure: line 7624:
> > > > syntax error near unexpected token `)'
> > > > ./configure: line 7624: `       OSF*)'
> > > > tcl8.3.2 configuration failed! Exiting ...
> > > > Tcl is not part of the ns project.  Please see
> > www.Scriptics.com to see
> > > if
> > > > they have a fix for your platform.
> > > >
> > > > This is the problem that I had.
> > > > Any one help me to install the NS2.
> > > > Thanks in advance.
> > > >
> > > >
> > >
> > > --
> > > View this message in context:
> > >
> >
>
> http://www.nabble.com/Installation-problem-in-NS2-under-Fedora-tf4668605.html#a13357445
> > > Sent from the ns-users mailing list archive at
> > Nabble.com.
> > >
> > >
> >
>
>
>
>       Bring your gang together - do your thing. Go to 
> http://in.promos.yahoo.com/groups
>
>

Reply via email to