Menu

#6 pointer_leftptr undeclared in function create_windows

open
nobody
None
5
2004-02-21
2004-02-21
Anonymous
No

I configured the source code for scrollbars and menubar,
but the make result said that a variant pointer_leftptr
undeclared in function create_windows in init.C. The
details is shown below:

gawk -f ./makeintprotos-awk init.C > init.intpro
/bin/sh ../libtool --mode=compile c++ -
DHAVE_CONFIG_H -g -O2 -DDEBUG_STRICT -
I/usr/X11R6/include -I.. -I. -I. -c init.C
c++ -DHAVE_CONFIG_H -g -O2 -DDEBUG_STRICT -
I/usr/X11R6/include -I.. -I. -I. -c init.C -o init.o
init.C: In member function `void
rxvt_term::create_windows(int, const char*
const*)':
init.C:1298: `pointer_leftptr' undeclared (first use this
function)
init.C:1298: (Each undeclared identifier is reported only
once for each
function it appears in.)
make[1]: *** [init.lo] Error 1
make[1]: Leaving directory `/tmp/rxvt-unicode-1.8/src'
make: *** [all] Error 1

I found the code listed here, where the error occurs, but
I can't help correct, so can anyone else can point a way?
#if defined(HAVE_SCROLLBARS) || defined(MENUBAR)
/* cursor (menuBar/scrollBar): Black-on-White */
leftptr_cursor = XCreateFontCursor(Xdisplay,
XC_left_ptr);
#endif

Discussion


Log in to post a comment.

MongoDB Logo MongoDB