[openbox] compiling without fancy stuff

Marcin Cylke marcin_cylke at o2.pl
Mon Jul 7 12:48:34 EDT 2003


(*) Ben Jansens <ben at orodu.net> [ 6 July 2003]:
 
> What "gnome2 things" are we talking about here? Anything that is optional is
> detected and compiled without if it is not present.

Uhh... You are actually right. Openbox configures fine without gnome
installed. But the problem I've got is with compiling it. My system is
freeBSD 4.8 and I'm getting following errors:

/usr/local/bin/bash ../libtool --silent --mode=compile gcc 
-DPACKAGE_NAME=\"openbox\" -DPACKAGE_TARNAME=\"openbox\" 
-DPACKAGE_VERSION=\"3.0-alpha1\" -DPACKAGE_STRING=\"openbox\ 3.0-alpha1\" 
-DPACKAGE_BUGREPORT=\"http://bugzilla.icculus.org\" -DPACKAGE=\"openbox\" 
-DVERSION=\"3.0-alpha1\" -DDEBUG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DHAVE_ICONV=1 -DENABLE_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 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_SELECT_H=1 
-DHAVE_SYS_TIME_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_LIBX11=1 -DHAVE_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/local/include/freetype2 -I/usr/local/include   -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include     -DG_LOG_DOMAIN=\"Render\" 
-DDEFAULT_THEME=\"operation\" -DTHEMEDIR=\"/usr/local/share/openbox/themes\" 
-I/usr/local/include  -g -O2 -g -fno-inline -Wall -Wsign-compare -Waggregate-return 
-Wcast-qual -Wbad-function-cast -Wpointer-arith -c -o font.lo `test -f 'font.c' || echo './'`font.c
gmake[1]: Leaving directory `/home/marcin/openbox-3.0-alpha1/render'
ts to `int' in declaration of `objs'
font.c:22: warning: braces around scalar initializer
font.c:22: warning: (near initialization for `objs[0]')
font.c:22: warning: initialization makes integer from pointer without a cast
font.c:22: `FcTypeBool' undeclared here (not in a function)
font.c:22: warning: excess elements in scalar initializer
font.c:22: warning: (near initialization for `objs[0]')
font.c:23: warning: braces around scalar initializer
font.c:23: warning: (near initialization for `objs[1]')
font.c:23: warning: initialization makes integer from pointer without a cast
font.c:23: `FcTypeInteger' undeclared here (not in a function)
font.c:23: warning: excess elements in scalar initializer
font.c:23: warning: (near initialization for `objs[1]')
font.c:24: warning: braces around scalar initializer
font.c:24: warning: (near initialization for `objs[2]')
font.c:24: warning: initialization makes integer from pointer without a cast
font.c:24: `FcTypeInteger' undeclared here (not in a function)
font.c:24: warning: excess elements in scalar initializer
font.c:24: warning: (near initialization for `objs[2]')
font.c:25: warning: data definition has no type or storage class
font.c: In function `font_startup':
font.c:33: `EXIT_FAILURE' undeclared (first use in this function)
font.c:33: (Each undeclared identifier is reported only once
font.c:33: for each function it appears in.)
font.c:35: warning: implicit declaration of function `FcNameRegisterObjectTypes'
font.c: In function `measure_font':
font.c:44: `FcChar8' undeclared (first use in this function)
font.c:44: syntax error before `)'
font.c: In function `openfont':
font.c:51: `FcPattern' undeclared (first use in this function)
font.c:51: `pat' undeclared (first use in this function)
font.c:51: `match' undeclared (first use in this function)
font.c:51: warning: left-hand operand of comma expression has no effect
font.c:52: syntax error before `*'
font.c:59: `res' undeclared (first use in this function)
font.c:66: warning: implicit declaration of function `FcPatternGetBool'
font.c:66: `FcResultMatch' undeclared (first use in this function)
font.c:69: warning: implicit declaration of function `FcPatternGetInteger'
font.c:73: `tint' undeclared (first use in this function)
font.c:79: `font' undeclared (first use in this function)
font.c:81: warning: implicit declaration of function `FcPatternDestroy'
font.c: In function `font_measure_full':
font.c:127: syntax error before `FcChar8'
font.c: In function `RrFontDraw':
font.c:219: `FcChar8' undeclared (first use in this function)
font.c:219: syntax error before `)'
font.c:229: syntax error before `)'
gmake[1]: *** [font.lo] Error 1
gmake: *** [all-recursive] Error 1

-- 
|  o        | "Even if a samurai's head were to be suddenly |
| `|,  \.,o |  cut off, he should still be able to perform  |
| /'\   |'  |  one more action with certainty"              |
+-----------+-----------------------------------------------+ 



More information about the openbox mailing list