emacs-devel
[Top][All Lists]
Advanced

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

Re: buildproblem with gpm installed


From: Dan Nicolaescu
Subject: Re: buildproblem with gpm installed
Date: Sun, 03 Jun 2007 15:12:51 -0700

Han Boetes <address@hidden> writes:

  > Hi, I have gpm installed and since the latest commit to src/term.c
  > I get:
  > 
  > gcc -c -D_BSD_SOURCE  -g -Demacs -DHAVE_CONFIG_H -DUSE_GTK  -I. 
-I/mnt/nfs/Emacs/emacs/src -D_BSD_SOURCE -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/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 
-I/usr/include/alsa -O2 -pipe -DHAVE_GTK_MULTIDISPLAY 
/mnt/nfs/Emacs/emacs/src/term.c
  > /mnt/nfs/Emacs/emacs/src/term.c: In function `init_tty':
  > /mnt/nfs/Emacs/emacs/src/term.c:3272: error: `mouse_position_hook' 
undeclared (first use in this function)
  > /mnt/nfs/Emacs/emacs/src/term.c:3272: error: (Each undeclared identifier is 
reported only once
  > /mnt/nfs/Emacs/emacs/src/term.c:3272: error: for each function it appears 
in.)
  > make[2]: *** [term.o] Error 1
  > 
  > This is on a */linux machine.

I think this is on the multi-tty branch. This patch fixes it:

*** term.c  31 May 2007 23:50:08 -0700  1.177.4.6
--- term.c  03 Jun 2007 15:05:28 -0700  
***************
*** 3269,3275 ****
    encode_terminal_bufsize = 0;
  
  #ifdef HAVE_GPM
!   mouse_position_hook = term_mouse_position;
    Qmouse_face_window = Qnil;
  #endif
  
--- 3269,3275 ----
    encode_terminal_bufsize = 0;
  
  #ifdef HAVE_GPM
!   terminal->mouse_position_hook = term_mouse_position;
    Qmouse_face_window = Qnil;
  #endif
  

I will check it in soon. 




reply via email to

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