From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: buildproblem with gpm installed Date: Sun, 03 Jun 2007 15:12:51 -0700 Message-ID: <200706032212.l53MCrwm022145@oogie-boogie.ics.uci.edu> References: <20070603163029.GC17790@boetes.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180908810 27507 80.91.229.12 (3 Jun 2007 22:13:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2007 22:13:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Han Boetes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 04 00:13:29 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HuyKD-00060h-R9 for ged-emacs-devel@m.gmane.org; Mon, 04 Jun 2007 00:13:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HuyKD-0000B2-3v for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 18:13:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HuyKA-0000Av-AZ for emacs-devel@gnu.org; Sun, 03 Jun 2007 18:13:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HuyK9-0000Af-NB for emacs-devel@gnu.org; Sun, 03 Jun 2007 18:13:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HuyK9-0000Ac-HF for emacs-devel@gnu.org; Sun, 03 Jun 2007 18:13:21 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HuyK9-00057f-5q for emacs-devel@gnu.org; Sun, 03 Jun 2007 18:13:21 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l53MCrwm022145; Sun, 3 Jun 2007 15:12:54 -0700 (PDT) In-Reply-To: <20070603163029.GC17790@boetes.org> (Han Boetes's message of "Sun\, 3 Jun 2007 18\:30\:06 +0200") Original-Lines: 37 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:72160 Archived-At: Han Boetes 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.