Okay I have removed -mv8 and -msupersparc from Makefile and now it works. Thanks.
> > Hi, > > I am trying to install Ns2 (from pieces) on SunOS. > I have already make/install tcl, tk, otcl. It is giving me following error > when I install tclcl-1.19. > > ---- > gcc -c -DNO_TK -DNDEBUG -mv8 -msupersparc -D__svr4__ -DUSE_SHM > -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H > -DHAVE_LIBTCL8_4 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -I. > -I/home/aslam/NS/otcl-1.13 -I/home/aslam/NS/tk8.4.14/generic > -I/home/aslam/NS/tcl8.4.14/generic -I/home/aslam/NS/tcl8.4.14/generic -o > tcl2c++.o tcl2c++.c > cc1: error: unrecognized command line option "-mv8" > cc1: error: unrecognized command line option "-msupersparc" > make: *** [tcl2c++.o] Error 1 > --- > > Any clues? > > regards, > Faisal > >