>>>>> Kenichi Handa writes: Kenichi> In article <20080514161346.B512C132CCF@chateau.d.lf>, 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 Mono-normal-normal-normal-*-12-*-*-*-m-0-*-*" >> ; 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 . */ - +/* Commentary: */ HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --