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

Re: question about ns installation



On Wed, 11 Aug 1999, michael wrote:

> Hi,
>     When I install the ns all at once packet(ns-allinonce-2.1b5a), I can
> install ns, tcl, tk, otcl and tclcl
> successfully, but I can't install nam and xgraph successfully. The error
> message is following. My os is SunOs5.6.

Read:

http://www-mash.cs.berkeley.edu/dist/archive/ns-users/9809/0093.html

and later discussion of same.

L.

>     Thank you in advance for any help.
> Peng
> 
> rm -f tkcompat.o; gcc -o tkcompat.o -c -O2 -DTCL_TK  -DNDEBUG -mv8
> -msupersparc -D__svr4__ -DUSE_SHM -DHAVE_LIB
> Z1_1_3 -DHAVE_ZLIB_H -DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H
> -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHA
> VE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H -I. -I../zlib-1.1.3
> -I../tclcl-1.0b8 -I../otcl-1.0a4 -I../tkbox/include -
> I../tclbox/include tkcompat.c
> rm -f tkUnixInit.o; gcc -o tkUnixInit.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../tkbox/inclu
> de -I../tclbox/include tkUnixInit.c
> rm -f xwd.o; gcc -o xwd.o -c -O2 -DTCL_TK  -DNDEBUG -mv8 -msupersparc
> -D__svr4__ -DUSE_SHM -DHAVE_LIBZ1_1_3 -DH
> AVE_ZLIB_H -DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A4
> -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H -D
> HAVE_LIBTCL8_0 -DHAVE_TCL_H -I. -I../zlib-1.1.3 -I../tclcl-1.0b8
> -I../otcl-1.0a4 -I../tkbox/include -I../tclbox
> /include xwd.c
> xwd.c: In function `xwd_Window_Dump':
> xwd.c:279: `sz_' undeclared (first use 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 `->'
> *** Error code 1
> make: Fatal error: Command failed for target `xwd.o'
> Nam make failed! Continue ...
> 
> cc -O -Xc -xF -xcg92    -I/usr/openwin/include  -Dsun -Dsparc -DSVR4
> -DSYSV
>  -c  xgraph.c
> "./xgraph.h", line 166: syntax error before or at: /
> "./xgraph.h", line 167: syntax error before or at: /
> "xgraph.c", line 109: warning: argument #1 is incompatible with
> prototype:
>         prototype: pointer to function(pointer to struct _XDisplay {},
> pointer t
> o struct {int type, pointer to struct _XDisplay {..} display, u... :
> "/usr/openw
> in/include/X11/Xlib.h", line 1952
>         argument : pointer to function() returning void
> "xgraph.c", line 121: undefined symbol: HUGE
> "xgraph.c", line 645: warning: using out of scope declaration: NewWindow
> 
> "xgraph.c", line 834: warning: argument #3 is incompatible with
> prototype:
>         prototype: pointer to function(ulong, int, pointer to void)
> returning en
> um xtb_hret_defn {XTB_STOP(2), XTB_HANDLED(1), XTB_NOTDEF(0)} :
> "./xtb.h", line
> 71
>         argument : pointer to function(ulong, int, pointer to char)
> returning en
> um xtb_hret_defn {XTB_STOP(2), XTB_HANDLED(1), XTB_NOTDEF(0)}
> "xgraph.c", line 838: warning: argument #3 is incompatible with
> prototype:
>         prototype: pointer to function(ulong, int, pointer to void)
> returning en
> um xtb_hret_defn {XTB_STOP(2), XTB_HANDLED(1), XTB_NOTDEF(0)} :
> "./xtb.h", line
> 71
>         argument : pointer to function(ulong, int, pointer to char)
> returning en
> um xtb_hret_defn {XTB_STOP(2), XTB_HANDLED(1), XTB_NOTDEF(0)}
> "xgraph.c", line 844: warning: argument #3 is incompatible with
> prototype:
>         prototype: pointer to function(ulong, int, pointer to void)
> returning en
> um xtb_hret_defn {XTB_STOP(2), XTB_HANDLED(1), XTB_NOTDEF(0)} :
> "./xtb.h", line
> 71
>         argument : pointer to function(ulong, int, pointer to char)
> returning en
> um xtb_hret_defn {XTB_STOP(2), XTB_HANDLED(1), XTB_NOTDEF(0)}
> "xgraph.c", line 851: warning: argument #3 is incompatible with
> prototype:
>         prototype: pointer to function(ulong, int, pointer to void)
> returning en
> um xtb_hret_defn {XTB_STOP(2), XTB_HANDLED(1), XTB_NOTDEF(0)} :
> "./xtb.h", line
> 71
>         argument : pointer to function(ulong, int, pointer to char)
> returning en
> um xtb_hret_defn {XTB_STOP(2), XTB_HANDLED(1), XTB_NOTDEF(0)}
> "xgraph.c", line 858: warning: argument #3 is incompatible with
> prototype:
>         prototype: pointer to function(ulong, int, pointer to void)
> returning en
> um xtb_hret_defn {XTB_STOP(2), XTB_HANDLED(1), XTB_NOTDEF(0)} :
> "./xtb.h", line
> 71
>         argument : pointer to function(ulong, int, pointer to char)
> returning en
> um xtb_hret_defn {XTB_STOP(2), XTB_HANDLED(1), XTB_NOTDEF(0)}
> "xgraph.c", line 866: warning: argument #3 is incompatible with
> prototype:
>         prototype: pointer to function(ulong, int, pointer to void)
> returning en
> um xtb_hret_defn {XTB_STOP(2), XTB_HANDLED(1), XTB_NOTDEF(0)} :
> "./xtb.h", line
> 71
>         argument : pointer to function(ulong, int, pointer to char)
> returning en
> um xtb_hret_defn {XTB_STOP(2), XTB_HANDLED(1), XTB_NOTDEF(0)}
> "xgraph.c", line 1125: warning: improper pointer/integer combination: op
> 
> "="
> cc: acomp failed for xgraph.c
> *** Error code 2
> make: Fatal error: Command failed for target `xgraph.o'
> 
> 

<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>