Subject: 23.1.50; gnu_xpm_bits not defined for USE_GTK

From: "Todd Eigenschink" <[email-masked]>
Date: Wed, 24 Jun 2009 08:42:31 -0400

Compilation failed in src/xterm.c as gnu_xpm_bits wasn't defined for
USE_GTK.

I had to change src/emacs-icon.h:24 from

    #if defined (HAVE_XPM) && defined (HAVE_X_WINDOWS)

to

    #if defined (USE_GTK) || (defined (HAVE_XPM) && defined (HAVE_X_WINDOWS))

to get it to compile

In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.16.2)
 of 2009-06-23 on rtfm
configured using `configure  '--prefix=/usr' '--with-x-toolkit' '--with-xft' '--with-png=no' '--with-jpeg=no' '--with-xpm=no' '--with-tiff=no' '--without-sound''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  display-time-mode: t
  show-paren-mode: t
  tooltip-mode: t
  file-name-shadow-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
ESC [ > 0 ; 1 3 6 ; 0 c ESC x b u g - r e TAB TAB TAB 
ESC DEL TAB ESC DEL DEL TAB TAB ESC DEL ESC DEL r e 
p TAB o TAB r TAB RET

Recent messages:
("emacs")
Loading paren...done
Loading smtpmail...done
Ido mode enabled
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list... [4 times]