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

Re: does ns-allinone-2.1b5 really work on sparc-sun-solaris2.6?



Hi,
I installed ns-allinone-2.1b5 on a sparc-sun-solaris2.6 without any
problems. So apparently there's something wrong within your system.

Cheers, Simon

Zhiwei Xiao wrote:
> 
>   hi, there:
> 
>       maybe it is too latest and could not be bug-free. I got a lot of
> trouble from installing ns-allinone-2.1b5 on sparc-sun-solaris2.6.
> below is one( one file under the nam directory could not compile).
> any advice is highly appreciated!
> 
> rm -f xwd.o; gcc -o xwd.o -c -O2 -DTCL_TK  -DNDEBUG -mv8 -msupersparc
> -D__svr4__ -DUSE_SHM -DHAVE_LIBZ1_1_3 -DHAVE_ZLIB_H -DHAVE_LIBTCLCL1_0B8
> -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0
> -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H  -I. -I../zlib-1.1.3
> -I../tclcl-1.0b8 -I../otcl-1.0a4
> -I/export/home/xiao/NS2/ns-allinone-2.1b5/nam-1.0a7/../tk8.0.4/generic
> -I../tcl8.0.4/generic  xwd.c
> xwd.c: In function `xwd_Window_Dump':
> xwd.c:279: `sz_' undeclared (first use in this function)
> xwd.c:279: (Each undeclared identifier is reported only once
> xwd.c:279: for each function it appears in.)
> xwd.c:279: parse error before `XWDheader'
> xwd.c:328: parse error before `XWDheader'
> xwd.c: At top level:
> xwd.c:339: parse error before `for'
> xwd.c:347: parse error before `1'
> xwd.c:347: warning: data definition has no type or storage class
> xwd.c:364: parse error before `1'
> xwd.c:364: warning: data definition has no type or storage class
> xwd.c:377: parse error before `->'
> make: *** [xwd.o] Error 1
> 
> xiao