[Top][All Lists]

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

Re: 23.0.60; Xft backend support is not working properly resulting in se

From: Ashish Shukla आशीष श ुक्ल
Subject: Re: 23.0.60; Xft backend support is not working properly resulting in segfaults
Date: Thu, 15 May 2008 12:35:40 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>>>> Kenichi Handa writes:
    Kenichi> In article <address@hidden>,  writes:

    >> I'm running emacs-cvs package in Gentoo Linux (amd64).
    >> ;; following emacs lisp code triggers the segfault.

    >> ; set font to any Xft font
    >> (set-face-font 'default "Liberation Mono-9")
    >> (message (face-font 'default))
    >> ; above results in "-unknown-Liberation 
    >> ; ready to segfault
    >> (set-face-font 'font-lock-keyword-face (face-font 'default))

    Kenichi> I've just installed a fix.

I've got following error, while compiling recently checked out HEAD.

abbe [src] chateau $ make
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. 
-I/var/tmp/portage/app-editors/emacs-cvs-23.0.9999/work/emacs/src -D_BSD_SOURCE 
-I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 
-I/usr/include/freetype2 -I/usr/include/alsa -pthread -DORBIT2=1 
-I/usr/include/librsvg-2 -I/usr/include/gnome-vfs-2.0 
-I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/gconf/2 
-I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include 
-O2 -pipe -mtune=nocona -march=nocona -ggdb -I/usr/include/freetype2 xterm.c
In file included from xterm.c:77:
emacs-icon.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
':' token
xterm.c: In function 'x_bitmap_icon':
xterm.c:7489: error: 'gnu_xpm_bits' undeclared (first use in this function)
xterm.c:7489: error: (Each undeclared identifier is reported only once
xterm.c:7489: error: for each function it appears in.)
make: *** [xterm.o] Error 1

Following is the diff to fix the error:

--- /usr/portage/distfiles/cvs-src/emacs/src/emacs-icon.h       2008-05-15 
12:08:22.000000000 +0530
+++ emacs-icon.h        2008-05-15 12:24:38.000000000 +0530
@@ -19,7 +19,7 @@
 You should have received a copy of the GNU General Public License
 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */

Ashish Shukla आशीष शुक्ल                      http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --

Attachment: pgpmPRt5LDgef.pgp
Description: PGP signature

reply via email to

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