[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ns-allinone-2.1b5a installation problem
For the nam problem, look at
http://mash.cs.berkeley.edu/nam/nam-problems.html
- Haobo
On Tue, 27 Jul 1999, Gary Guangyu Pei wrote:
> Dear Sir,
>
> I try to run install script to install everything. I got the following
> error messages about nam and xgraph:
>
> Nam make failed! Continue ...
> Please compile your nam separately.
> Please compile your xgraph separately.
>
> So I try to type make under nam-1.0a7 and xgraph directory seperately, I
> got the following error messages. Could someone please take a look?
>
> Thanks,
> Gary
>
> For nam:
> ---------------------------------------------------------------------------
> 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../tkbox/include -I../tclbox/include
> 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
> ------------------------------------------------------------------
>
> For xgraph,
> -----------------------------------------------------------------
> cc -O2 -I/opt/X11R6/include -Dsun -DSVR4 -c xgraph.c -o
> xgraph.o
> cc: Warning: option -2 passed to ld
> "./xgraph.h", line 166: syntax error before or at: /
> "./xgraph.h", line 167: syntax error before or at: /
> "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 enum 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 enum 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 enum 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 enum 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 enum 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 enum 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 enum 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 enum 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 enum 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 enum 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 enum 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 enum xtb_hret_defn {XTB_STOP(2), XTB_HANDLED(1), XTB_NOTDEF(0)}
> cc: acomp failed for xgraph.c
> make: *** [xgraph.o] Error 2
>
>
>