unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* buildproblem with gpm installed
@ 2007-06-03 16:30 Han Boetes
  2007-06-03 20:50 ` csant
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Han Boetes @ 2007-06-03 16:30 UTC (permalink / raw)
  To: emacs-devel

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.


# Han
-- 
   \___/  ,_,
   |o,o| (O,O)                         Does the name Pavlov ring a bell?
 \/    ) (   )
----mm----"-"-

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: buildproblem with gpm installed
  2007-06-03 16:30 buildproblem with gpm installed Han Boetes
@ 2007-06-03 20:50 ` csant
  2007-06-03 22:12 ` Dan Nicolaescu
  2007-06-04  0:17 ` Richard Stallman
  2 siblings, 0 replies; 4+ messages in thread
From: csant @ 2007-06-03 20:50 UTC (permalink / raw)
  To: Han Boetes; +Cc: emacs-devel

On Sun, 03 Jun 2007 18:30:06 +0200, Han Boetes <han@mijncomputer.nl> wrote:

> 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 get this only on the multi-tty branch.
/c

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: buildproblem with gpm installed
  2007-06-03 16:30 buildproblem with gpm installed Han Boetes
  2007-06-03 20:50 ` csant
@ 2007-06-03 22:12 ` Dan Nicolaescu
  2007-06-04  0:17 ` Richard Stallman
  2 siblings, 0 replies; 4+ messages in thread
From: Dan Nicolaescu @ 2007-06-03 22:12 UTC (permalink / raw)
  To: Han Boetes; +Cc: emacs-devel

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. 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: buildproblem with gpm installed
  2007-06-03 16:30 buildproblem with gpm installed Han Boetes
  2007-06-03 20:50 ` csant
  2007-06-03 22:12 ` Dan Nicolaescu
@ 2007-06-04  0:17 ` Richard Stallman
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2007-06-04  0:17 UTC (permalink / raw)
  To: Han Boetes; +Cc: emacs-devel

    This is on a */linux machine.

That way of referring to the system
gives credit to Linux but none to GNU.
That's not fair.  See http://www.gnu.org/gnu/gnu-linux-faq.html.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-04  0:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-03 16:30 buildproblem with gpm installed Han Boetes
2007-06-03 20:50 ` csant
2007-06-03 22:12 ` Dan Nicolaescu
2007-06-04  0:17 ` Richard Stallman

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).