Hi, all
I'm preparing to send-pr FreeBSD XEmacs ports, and one issue
leave to not solved yet that xemacs-devel port build failed
problem. `make configure' passed and then `make build',
failed to compile src/redisplay-x.c as below:
cc -c -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked
-Wpointer-arith -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
-Wdeclaration-after-statement -g -O2 -pipe -I/usr/local/include/libpng16
-I/usr/local/include/freetype2 -fno-strict-aliasing -std=gnu89 -Demacs -I.
-I/var/ports/var/ports/homekxj/editors/xemacs-devel/work/xemacs-21.5.34/src
-DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include redisplay-x.c
In file included from redisplay-x.c:33:
./redisplay-xlike-inc.c:270:20: error: expected expression
*(XftChar16 *)text_storage = ucs;
^
./redisplay-xlike-inc.c:270:9: error: use of undeclared identifier 'XftChar16'
*(XftChar16 *)text_storage = ucs;
^
./redisplay-xlike-inc.c:271:31: error: use of undeclared identifier 'XftChar16'
text_storage += sizeof (XftChar16);
^
./redisplay-xlike-inc.c:472:12: warning: implicit declaration of function
'FONT_INSTANCE_X_XFTFONT' [-Wimplicit-function-declaration]
else if (FONT_INSTANCE_X_XFTFONT (fi))
^
./redisplay-xlike-inc.c:474:14: error: unknown type name 'XGlyphInfo'
static XGlyphInfo glyphinfo;
^
./redisplay-xlike-inc.c:478:4: warning: implicit declaration of function
'XftTextExtents16' [-Wimplicit-function-declaration]
XftTextExtents16 (dpy,
^
./redisplay-xlike-inc.c:480:20: error: expected expression
(XftChar16 *) run->ptr, run->len, &glyphinfo);
^
./redisplay-xlike-inc.c:480:9: error: use of undeclared identifier 'XftChar16'
(XftChar16 *) run->ptr, run->len, &glyphinfo);
^
./redisplay-xlike-inc.c:478:22: error: use of undeclared identifier 'dpy'
XftTextExtents16 (dpy,
^
./redisplay-xlike-inc.c:484:4: warning: implicit declaration of function
'XftTextExtents8' [-Wimplicit-function-declaration]
XftTextExtents8 (dpy,
^
./redisplay-xlike-inc.c:484:21: error: use of undeclared identifier 'dpy'
XftTextExtents8 (dpy,
^
./redisplay-xlike-inc.c:1023:10: error: unknown type name 'XftColor'
static XftColor fg, bg;
^
./redisplay-xlike-inc.c:1024:3: error: use of undeclared identifier 'XftDraw'
XftDraw *xftDraw;
^
./redisplay-xlike-inc.c:1024:12: error: use of undeclared identifier 'xftDraw'
XftDraw *xftDraw;
^
./redisplay-xlike-inc.c:1027:8: warning: implicit declaration of function
'FRAME_X_XFTDRAW' [-Wimplicit-function-declaration]
if (!FRAME_X_XFTDRAW (f)) {
^
./redisplay-xlike-inc.c:1028:27: warning: implicit declaration of function
'XftDrawCreate' [-Wimplicit-function-declaration]
FRAME_X_XFTDRAW (f) = XftDrawCreate (dpy, x_win, visual, cmap);
^
./redisplay-xlike-inc.c:1028:25: error: expression is not assignable
FRAME_X_XFTDRAW (f) = XftDrawCreate (dpy, x_win, visual, cmap);
~~~~~~~~~~~~~~~~~~~ ^
./redisplay-xlike-inc.c:1030:3: error: use of undeclared identifier 'xftDraw'
xftDraw = FRAME_X_XFTDRAW (f);
^
./redisplay-xlike-inc.c:1174:9: warning: implicit declaration of function
'xft_convert_color' [-Wimplicit-function-declaration]
fg = XFT_FROB_LISP_COLOR (cursor_cachel->foreground, 0);
^
./redisplay-xlike-inc.c:1036:3: note: expanded from macro 'XFT_FROB_LISP_COLOR'
xft_convert_color (dpy, cmap, visual, \
^
./redisplay-xlike-inc.c:1175:4: error: use of undeclared identifier 'bg'
bg = XFT_FROB_LISP_COLOR (cursor_cachel->background, 0);
^
./redisplay-xlike-inc.c:1197:4: error: use of undeclared identifier 'bg'
bg = XFT_FROB_LISP_COLOR (cachel->background, 0);
^
./redisplay-xlike-inc.c:1206:4: error: use of undeclared identifier 'bg'
bg = XFT_FROB_LISP_COLOR (cachel->background, 0);
^
./redisplay-xlike-inc.c:1213:2: error: use of undeclared identifier 'XftFont'; did
you mean 'XSetFont'?
XftFont *rf = FONT_INSTANCE_X_XFTFONT (fi);
^~~~~~~
XSetFont
/usr/local/include/X11/Xlib.h:3215:12: note: 'XSetFont' declared here
extern int XSetFont(
^
In file included from redisplay-x.c:33:
./redisplay-xlike-inc.c:1213:11: error: use of undeclared identifier 'rf'
XftFont *rf = FONT_INSTANCE_X_XFTFONT (fi);
^
./redisplay-xlike-inc.c:1215:6: error: use of undeclared identifier 'rf'
if (rf)
^
./redisplay-xlike-inc.c:1225:3: warning: implicit declaration of function
'XftDrawSetClip' [-Wimplicit-function-declaration]
XftDrawSetClip (xftDraw, clip_reg);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
7 warnings and 20 errors generated.
GNUmakefile:104: recipe for target 'redisplay-x.o' failed
gmake[2]: *** [redisplay-x.o] Error 1
gmake[2]: Leaving directory
'/var/ports/var/ports/homekxj/editors/xemacs-devel/work/xemacs-21.5.34/src'
Makefile:97: recipe for target 'src' failed
gmake[1]: *** [src] Error 2
gmake[1]: Leaving directory
'/var/ports/var/ports/homekxj/editors/xemacs-devel/work/xemacs-21.5.34'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /var/ports/homekxj/editors/xemacs-devel
All build process in [1] and all stuffs at that time are in
[2]. Is there any suggetions?
[1]
http://people.freebsd.org/~kiri/xemacs/xemacs-devel_build.log
[2]
http://people.freebsd.org/~kiri/xemacs/xemacs-21.5.34/
Best Regards
---
KIRIYAMA Kazuhiko
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta