pango parse error before "XErrorEvent" on Solaris 2.7
- From: David Nedrow <listbox nedron net>
- To: gtk-list gnome org
- Subject: pango parse error before "XErrorEvent" on Solaris 2.7
- Date: Sat, 22 Nov 2003 17:57:55 -0500
I'm having trouble compiling pango on Solaris 7. It compiles fine if I
disable X (via --without-x), but fails at several points with the error
I've pasted below if I let it try to build pango with X support.
Here's one of the functions (around line 525 in pango/pangox-fontmap.c)
that is causing a problem:
static int
ignore_error (Display *d, XErrorEvent *e)
{
return 0;
}
I'm not sure what the issue is. Any ideas out there?
Solaris 2.7
GCC 3.3.1
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND
-DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/usr/local/etc\"
-DLIBDIR=\"/usr/local/lib\" -DMODULE_VERSION=\"1.2.0\"
-DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -threads
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -I/usr/local/include
-I/usr/local/include/freetype2 -I.. -R/usr/local/lib -R/usr/lib
-R/usr/krb5/lib -R/usr/X/lib -DHAVE_LIBDL -g -O2 -Wall -c
pangox-fontmap.c -fPIC -DPIC -o .libs/pangox-fontmap.o
pangox-fontmap.c:525: error: parse error before "XErrorEvent"
pangox-fontmap.c: In function `pango_x_real_get_coverage_win':
pangox-fontmap.c:546: error: parse error before "XErrorEvent"
pangox-fontmap.c:558: warning: dereferencing type-punned pointer will
break strict-aliasing rules
pangox-fontmap.c:576: warning: dereferencing type-punned pointer will
break strict-aliasing rules
pangox-fontmap.c: In function `pango_x_get_cached_coverage':
pangox-fontmap.c:675: error: parse error before "XErrorEvent"
pangox-fontmap.c: In function `pango_x_store_cached_coverage':
pangox-fontmap.c:733: error: parse error before "XErrorEvent"
gmake[3]: *** [pangox-fontmap.lo] Error 1
gmake[3]: Leaving directory `/usr/local/build/dnedrow/pango-1.2.5/pango'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/local/build/dnedrow/pango-1.2.5/pango'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/build/dnedrow/pango-1.2.5'
gmake: *** [all-recursive-am] Error 2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]