[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Build error 4.0.2 (debian)



Hi,

I'm getting the following error message while trying to compile XF 4.0.2
from debian unstable:
make[5]: Entering directory `/usr/src/xfree86-4.0.2/build-tree/xc/lib/Xft'
rm -f xftcfg.o
gcc -c -O2 -fno-strength-reduce -g -ansi -pedantic -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wredundant-decls -Wnested-externs  -I/usr/include/freetype2
-I../.. -I../../exports/include  -Dlinux -D__i386__
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE
-D_SVID_SOURCE  -D_GNU_SOURCE    -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS
-D_REENTRANT -DXUSE_MTSAFE_API
-DXFT_DEFAULT_PATH=\"/etc/X11/XftConfig\" -DFREETYPE2   xftcfg.c
In file included from xftint.h:30,
                 from xftcfg.c:28:
XftFreetype.h:34: parse error before `_XftFTlibrary'
XftFreetype.h:34: warning: type defaults to `int' in declaration of
`_XftFTlibrary'
XftFreetype.h:34: ANSI C forbids data definition with no type or storage
class
XftFreetype.h:37: parse error before `FT_Face'
XftFreetype.h:37: warning: no semicolon at end of struct or union
XftFreetype.h:53: parse error before `}'
XftFreetype.h:53: warning: ANSI C does not allow extra `;' outside of a
function
make[5]: *** [xftcfg.o] Error 1
make[5]: Leaving directory `/usr/src/xfree86-4.0.2/build-tree/xc/lib/Xft'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/src/xfree86-4.0.2/build-tree/xc/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/xfree86-4.0.2/build-tree/xc'
make[2]: *** [World] Error 2
make[2]: Leaving directory `/usr/src/xfree86-4.0.2/build-tree/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/usr/src/xfree86-4.0.2/build-tree/xc'
make: *** [debian/stampdir/build] Error 2

What should I do?

(CC'd to debian-user because I don't know whether this is a Debian or
XFree86 problem)

-- 

  "I'll tell you another thing, Cosmo Kramer or whatever you want to be called,
  the kissing thing is over. There's no more kissing and I don't care what the
  consequences are!"
      - Jerry, to Kramer, in "Seinfeld - The Kiss Hello"



Reply to: