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

Re: [ns] compiling error: "iostream.h: No such file or directory"




I had the same problem on my Solaris machine once.  In my case it turned
out that the c++ include files were not installed properly.  After I
found the location I added -I/my/c++/includ/path to the Makefile and it
worked.

- Manish

Francois Grandjean wrote:
> 
> Hello,
> I try to compile ns-2.1b6 and I have the following error message.
> Any help would be highly appreciated.
> Thanks.
>                 Francois
> 
> c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -mv8
> -msupersparc -D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B9 -DHAVE_TCLCL_H
> -DHAVE_LIBOTCL1_0A5 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H
> -DHAVE_LIBTCL8_0 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I.
> -I/archives/ns/tclcl-1.0b9 -I/archives/ns/otcl-1.0a5
> -I/archives/ns/tk8.0.4/generic -I/archives/ns/tcl8.0.4/generic -o
> scheduler.o scheduler.cc
> scheduler.cc:52: iostream.h: No such file or directory
> make: *** [scheduler.o] Error 1