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

can not make xgraph under solaris SUN OS 5.6



Hi

I tried reinstalling ns-allinone-2.1b4a under solaris 5.6 , I  used
install but xgraph failed. I looked at the patches and tried to make again
but it comes out with the error given below. Please let me know what may
have gone wrong.
 

> make
cc -O -Xc -xF -xcg92    -I/usr/openwin/include  -Dsun -Dsparc -DSVR4 -DSYSV      -c  xgraph.c
"xgraph.c", line 109: warning: argument #1 is incompatible with prototype:
	prototype: pointer to function(pointer to struct _XDisplay {}, pointer to struct {int type, pointer to struct _XDisplay {..} display, u... : "/usr/openwin/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 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)}
"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'


thanks in advance.

with Regards
Anurag,