[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with xgraph in ns-allinone-2.1b4a and Solaris 2.6
- To: [email protected]
- Subject: Problems with xgraph in ns-allinone-2.1b4a and Solaris 2.6
- From: [email protected] (Christian J|nsson)
- Date: Mon, 15 Feb 1999 17:10:17 +0100
I just tried a install of ns-allinone-2.1b4a and failed with nam and xgraph. The problem in nam was fixed using make CC="gcc -ansi" but for xgraph, I
don't realy now where to start.
The system uses SC4.2 C compiler:
> ls -lL /opt/SUNWspro/bin/cc
-rwxr-xr-x 1 bin bin 137608 Oct 31 1996 /opt/SUNWspro/bin/cc*
and the Makefile was issued using xmkmf -a.
So, after that, the problems start:
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)}
After fixing the C++ type comment in xgraph.h, the problems with prototypes
remains. I really wouldn't like to go into this matter. Any one else done it?
TIA,
/ChJ