Openbox 3.0 compiler error on debian stable

Manuel Oetiker moetiker at vision.ee.ethz.ch
Wed Dec 17 02:51:49 EST 2003


Hi

I try to compile openbox 3.0 with gcc-3.2.3 on a stable debian.

I get the following error during the compilation:

any help would be great. --- Manuel

--------------------------------------------------------------------

if /bin/sh ./libtool --silent --mode=compile gcc-3.2.3
-DPACKAGE_NAME=\"openbox\" -DPACKAGE_TAR
NAME=\"openbox\" -DPACKAGE_VERSION=\"3.0\" -DPACKAGE_STRING=\"openbox\
3.0\" -DPACKAGE_BUGREPOR
T=\"http://bugzilla.icculus.org\" -DPACKAGE=\"openbox\"
-DVERSION=\"3.0\" -DSTDC_HEADERS=1 -DHA
VE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHA
VE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DENABL
E_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_CTYPE_H=1
-DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1
 -DHAVE_SIGNAL_H=1 -DHAVE_STRING_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1
-DHAVE_UNISTD_H=1 -DHAV
E_SYS_STAT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1
-DHAVE_SYS_WAIT_H=1 -DHAVE_LIBX11=1 -D
HAVE_X11_SM_SMLIB_H=1 -DUSE_SM=1 -DXKB=1 -DVIDMODE=1 -DSHAPE=1
-DXINERAMA=1  -I. -I. -I. -I/usr
/X11R6/include -I/usr/pack/fontconfig-2.2.0-to/include
-I/usr/pack/fontconfig-2.2.0-to/include/
freetype2   -I/usr/pack/gtk-2.2.4-mo/include/glib-2.0
-I/usr/pack/gtk-2.2.4-mo/i686-debian-linu
x3.0/lib/glib-2.0/include
-I/usr/pack/libxml2-2.5.4-mo/include/libxml2   -DG_LOG_DOMAIN=\"ObR
ender\" -DDEFAULT_THEME=\"TheBear\"   -g -O2 -DNDEBUG
-DG_DISABLE_ASSERT -MT render/render_libo
brender_la-font.lo -MD -MP -MF
"render/.deps/render_libobrender_la-font.Tpo" \
  -c -o render/render_libobrender_la-font.lo `test -f 'render/font.c'
|| echo './'`render/font.
c; \
then mv -f "render/.deps/render_libobrender_la-font.Tpo"
"render/.deps/render_libobrender_la-fo
nt.Plo"; \
else rm -f "render/.deps/render_libobrender_la-font.Tpo"; exit 1; \
fi
render/font.c:39: syntax error before "objs"
render/font.c:40: warning: braces around scalar initializer
render/font.c:40: warning: (near initialization for `objs[0]')
render/font.c:40: warning: initialization makes integer from pointer
without a cast
render/font.c:40: `FcTypeBool' undeclared here (not in a function)
render/font.c:40: warning: excess elements in scalar initializer
render/font.c:40: warning: (near initialization for `objs[0]')
render/font.c:41: warning: braces around scalar initializer
render/font.c:41: warning: (near initialization for `objs[1]')
render/font.c:41: warning: initialization makes integer from pointer
without a cast
render/font.c:41: `FcTypeInteger' undeclared here (not in a function)
render/font.c:41: warning: excess elements in scalar initializer
render/font.c:41: warning: (near initialization for `objs[1]')
render/font.c:42: warning: braces around scalar initializer
render/font.c:42: warning: (near initialization for `objs[2]')
render/font.c:42: warning: initialization makes integer from pointer
without a cast
render/font.c:42: `FcTypeInteger' undeclared here (not in a function)
render/font.c:42: warning: excess elements in scalar initializer
render/font.c:42: warning: (near initialization for `objs[2]')
render/font.c:43: warning: data definition has no type or storage class
render/font.c: In function `measure_font':
render/font.c:62: `FcChar8' undeclared (first use in this function)
render/font.c:62: (Each undeclared identifier is reported only once
render/font.c:62: for each function it appears in.)
render/font.c:62: syntax error before ')' token
render/font.c: In function `openfont':
render/font.c:69: `FcPattern' undeclared (first use in this function)
render/font.c:69: `pat' undeclared (first use in this function)
render/font.c:69: `match' undeclared (first use in this function)
render/font.c:71: `FcResult' undeclared (first use in this function)
render/font.c:71: syntax error before "res"
render/font.c:77: `res' undeclared (first use in this function)
render/font.c:85: `FcResultMatch' undeclared (first use in this
function)
render/font.c: In function `font_measure_full':
render/font.c:146: syntax error before "FcChar8"
render/font.c: In function `RrFontDraw':
render/font.c:237: `FcChar8' undeclared (first use in this function)
render/font.c:237: syntax error before ')' token
render/font.c:247: syntax error before ')' token
make[1]: *** [render/render_libobrender_la-font.lo] Error 1
make[1]: Leaving directory `/scratch/build/openbox-3.0-mo/openbox-3.0'
make: *** [all-recursive] Error 1



More information about the openbox mailing list