emacs-pretest-bug
[Top][All Lists]
Advanced

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

emacs-unicode-2 compile error


From: S.Daido
Subject: emacs-unicode-2 compile error
Date: Mon, 26 Jun 2006 23:45:38 +0900 (JST)

When I `make bootstrap' the latest emacs-unicode-2 branch
with gcc-4.0.3 I get the following error
message:

./configure --prefix=/usr --enable-font-backend
 --with-xft --with-freetype --with-gtk

...

gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H
 -DUSE_GTK  -I. -I/build/emacs/src -D_BSD_SOURCE
 -I/usr/include/X11 -I/usr/include/gtk-2.0
 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
 -I/usr/include/cairo -I/usr/include/pango-1.0
 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
 -I/usr -I/usr/include/alsa -g -O2 -Wno-pointer-sign
  ftfont.c
In file included from ftfont.c:27:
/usr/include/ft2build.h:56:38: error:
freetype/config/ftheader.h: No such file or directory
ftfont.c:28:10: error: #include expects "FILENAME" or
<FILENAME>
ftfont.c:29:10: error: #include expects "FILENAME" or
<FILENAME>
In file included from ftfont.c:31:
/usr/include/fontconfig/fcfreetype.h:28:10: error:
#include expects "FILENAME" or <FILENAME>
In file included from ftfont.c:31:
/usr/include/fontconfig/fcfreetype.h:33: error: syntax
error before 'FcFreeTypeCharIndex'
/usr/include/fontconfig/fcfreetype.h:33: error: syntax
error before 'face'
/usr/include/fontconfig/fcfreetype.h:36: error: syntax
error before 'face'
/usr/include/fontconfig/fcfreetype.h:39: error: syntax
error before 'face'
/usr/include/fontconfig/fcfreetype.h:42: error: syntax
error before 'FT_Face'
/usr/include/fontconfig/fcfreetype.h:45: error: syntax
error before 'f'
ftfont.c:53: error: syntax error before 'ft_library'
ftfont.c:53: warning: data definition has no type or
storage class
ftfont.c:68: error: syntax error before 'FT_Size'
ftfont.c:68: warning: no semicolon at end of struct or
union
ftfont.c: In function 'ftfont_open':
ftfont.c:568: error: 'FT_Face' undeclared (first use in
this function)
ftfont.c:568: error: (Each undeclared identifier is
reported only once
ftfont.c:568: error: for each function it appears in.)
ftfont.c:568: error: syntax error before 'ft_face'
ftfont.c:569: error: 'FT_Size' undeclared (first use in
this function)
ftfont.c:570: error: 'FT_UInt' undeclared (first use in
this function)
ftfont.c:589: error: 'ft_face' undeclared (first use in
this function)
ftfont.c:592: error: 'ft_size' undeclared (first use in
this function)
ftfont.c:608: error: 'size' undeclared (first use in this
function)
ftfont.c:618: error: invalid application of 'sizeof' to
incomplete type 'struct ftfont_info'
ftfont.c:621: error: dereferencing pointer to incomplete
type
ftfont.c:642: error: 'FT_LOAD_DEFAULT' undeclared (first
use in this function)
ftfont.c: In function 'ftfont_close':
ftfont.c:682: error: dereferencing pointer to incomplete
type
ftfont.c:684: error: dereferencing pointer to incomplete
type
ftfont.c: In function 'ftfont_encode_char':
ftfont.c:711: error: 'FT_Face' undeclared (first use in
this function)
ftfont.c:711: error: syntax error before 'ft_face'
ftfont.c:712: error: 'FT_ULong' undeclared (first use in
this function)
ftfont.c:713: error: 'FT_UInt' undeclared (first use in
this function)
ftfont.c:715: error: 'code' undeclared (first use in this
function)
ftfont.c: In function 'ftfont_text_extents':
ftfont.c:726: error: 'FT_Face' undeclared (first use in
this function)
ftfont.c:726: error: syntax error before 'ft_face'
ftfont.c:730: error: dereferencing pointer to incomplete
type
ftfont.c:730: error: 'ft_face' undeclared (first use in
this function)
ftfont.c:731: error: dereferencing pointer to incomplete
type
ftfont.c:736: error: 'FT_LOAD_DEFAULT' undeclared (first
use in this function)
ftfont.c:738: error: 'FT_Glyph_Metrics' undeclared (first
use in this function)
ftfont.c:738: error: 'm' undeclared (first use in this
function)
ftfont.c: In function 'ftfont_get_bitmap':
ftfont.c:774: error: 'FT_Face' undeclared (first use in
this function)
ftfont.c:774: error: syntax error before 'ft_face'
ftfont.c:775: error: 'FT_Int32' undeclared (first use in
this function)
ftfont.c:777: error: dereferencing pointer to incomplete
type
ftfont.c:777: error: 'ft_face' undeclared (first use in
this function)
ftfont.c:778: error: dereferencing pointer to incomplete
type
ftfont.c:784: error: 'load_flags' undeclared (first use in
this function)
ftfont.c:784: error: 'FT_LOAD_MONOCHROME' undeclared
(first use in this function)
ftfont.c: In function 'ftfont_anchor_point':
ftfont.c:813: error: 'FT_Face' undeclared (first use in
this function)
ftfont.c:813: error: syntax error before 'ft_face'
ftfont.c:815: error: dereferencing pointer to incomplete
type
ftfont.c:815: error: 'ft_face' undeclared (first use in
this function)
ftfont.c:816: error: dereferencing pointer to incomplete
type
ftfont.c:817: error: 'FT_LOAD_DEFAULT' undeclared (first
use in this function)
ftfont.c:819: error: 'FT_GLYPH_FORMAT_OUTLINE' undeclared
(first use in this function)
make[2]: *** [ftfont.o] Error 1
make[2]: Leaving directory `/build/emacs/src'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/build/emacs'
make: *** [bootstrap] Error 2

Could anyone help me?


--------------------------------------
Let's start Yahoo! Auction  -  Free Campaign Now!
http://pr.mail.yahoo.co.jp/auction/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]