unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Han Boetes <han@mijncomputer.nl>
Cc: emacs-devel@gnu.org
Subject: Re: buildproblem with gpm installed
Date: Sun, 03 Jun 2007 15:12:51 -0700	[thread overview]
Message-ID: <200706032212.l53MCrwm022145@oogie-boogie.ics.uci.edu> (raw)
In-Reply-To: <20070603163029.GC17790@boetes.org> (Han Boetes's message of "Sun\, 3 Jun 2007 18\:30\:06 +0200")

Han Boetes <han@mijncomputer.nl> 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. 

  parent reply	other threads:[~2007-06-03 22:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-03 16:30 buildproblem with gpm installed Han Boetes
2007-06-03 20:50 ` csant
2007-06-03 22:12 ` Dan Nicolaescu [this message]
2007-06-04  0:17 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200706032212.l53MCrwm022145@oogie-boogie.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=han@mijncomputer.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).