Larry W. Virden <[EMAIL PROTECTED]> typed:
:I'm trying to build rxvt 2.7.3 using Solaris 8.  I am getting the following
:error:
:cc -DHAVE_CONFIG_H -DDEBUG_STRICT  -c -I/projects/gnu/sparc-sun-solaris2.8/include 
:-DHAVE_LIBXPM -I/usr/openwin/include -I/cas/X11/sun4/include  -I. -I.. 
:-I/ldatae/X/rxvt/rxvt-2.7.3/src  -I/projects/gnu/sparc-sun-solaris2.8/include  main.c
:"main.c", line 397: incomplete struct/union/enum winsize: ws
:"main.c", line 402: undefined struct/union member: ws_col
:"main.c", line 403: undefined struct/union member: ws_row
:"main.c", line 404: undefined struct/union member: ws_xpixel
:"main.c", line 404: undefined struct/union member: ws_ypixel

>From the basic information on docs.sun.com,  I think you need to
add "#include <sys/ptem.h>" to main.c  (just after "include rxvt.h")

:"main.c", line 405: undefined symbol: TIOCSWINSZ

Early SunOS versions had problems with <sys/ioctl.h> - this needs a
configure test.  Remove the "undef HAVE_SYS_IOCTL_H" around line 30
in rxvt.h

:"main.c", line 1187: warning: argument #5 is incompatible with prototype:
:       prototype: pointer to function(pointer to struct _XIC {}, pointer to char, 
:pointer to char) returning void : "/usr/openwin/include/X11/Xlib.h", line 4623
:       argument : pointer to function(pointer to struct _XDisplay {}, pointer to 
:char, pointer to char) returning void
:"main.c", line 1209: warning: assignment type mismatch:
:       pointer to function(pointer to struct _XIC {}, pointer to char, pointer to 
:char) returning void "=" pointer to function(pointer to struct _XIM {}, pointer to 
:char, pointer to char) returning void

Hmm, according to my X headers, the error is correct and the
code is wrong.  The error is at:
XRegisterIMInstantiateCallback(.., .., .., ..,
                               XIMProc(XIM, XPointer, XPointer), ..)

And the code in rxvt says  XIMProc(Display *, XPointer, XPointer)
 
Of course, it doesn't use the "Display *" variable.  Should be enough
to change that to "XIM"

Regards,
-- 
Geoff Wing : <[EMAIL PROTECTED]>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <[EMAIL PROTECTED]>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <[EMAIL PROTECTED]>       Phone   : (Australia) 0413 431 874

Reply via email to