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

[ns] problem of installing ns-allinone-2.1b8a



Hi,

I had following problem when I installed NS new version (ns-allinone-2.1b8a)
on UNIX. Can any one give clue what happens as soon as possible? I
appreciate.


c++ -c -O2 -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR  -D
NDEBUG -DHAVE_STL -mv8 -msupersparc -D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL -DH
AVE_TCLCL_H -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H -DHAVE_LIBTK8_3 -DHAVE_TK_H -D
HAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I. -I/users/frankhan/ns-allino
ne-2.1b8a/tclcl-1.0b11 -I/users/frankhan/ns-allinone-2.1b8a/otcl-1.0a7 -I/us
ers/frankhan/ns-allinone-2.1b8a/include -I/users/frankhan/ns-allinone-2.1b8a
/include -o node.o node.cc
In file included from trace.h:42,
                 from energy-model.h:48,
                 from node.h:59,
                 from node.cc:49:
/usr/include/math.h:75: redefinition of `class exception'
/sw/packages/cygnus/progressive-98r1-v0/H-sparc-sun-solaris2.6/bin/../lib/gc
c-lib/sparc-sun-solaris2.6/2.9-cisco-98r1/include/exception:20: previous
definition here
/sw/packages/cygnus/progressive-98r1-v0/H-sparc-sun-solaris2.6/bin/../lib/gc
c-lib/sparc-sun-solaris2.6/2.9-cisco-98r1/include/exception:20: previous
declaration of `exception::exception(const struct exception &)' with C++
linkage
/usr/include/math.h:81: conflicts with new declaration with C linkage
/sw/packages/cygnus/progressive-98r1-v0/H-sparc-sun-solaris2.6/bin/../lib/gc
c-lib/sparc-sun-solaris2.6/2.9-cisco-98r1/include/exception:20: previous
declaration of `struct exception & exception::operator =(const struct
exception &)' with C++ linkage
/usr/include/math.h:81: conflicts with new declaration with C linkage
make: *** [node.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems

Thanks,

Yongqing Han