GNU bug report logs - #19149
25.0.50; Error in linking gtkutil.o

Previous Next

Package: emacs;

Reported by: Michael Albinus <michael.albinus <at> gmx.de>

Date: Sat, 22 Nov 2014 08:05:02 UTC

Severity: important

Found in version 25.0.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19149 in the body.
You can then email your comments to 19149 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19149; Package emacs. (Sat, 22 Nov 2014 08:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 22 Nov 2014 08:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; Error in linking gtkutil.o
Date: Sat, 22 Nov 2014 09:04:04 +0100
I've tried to compile trunk Emacs on an old machine equipped with a mix
of rhel5 and fedora10. It fails with the following error message:

gcc -std=gnu99 -Demacs  -I. -I. -I../lib -I../lib   -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/freetype2    -I/usr/include/alsa   -I/usr/include/librsvg-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0    -I/usr/include/libpng12 -I/usr/include/libxml2   -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include      -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/freetype2      -MMD -MF deps/.d -MP     -g3 -O2  -Wl,-znocombreloc   \
          -o temacs  vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o gtkutil.o  dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o  profiler.o decompress.o     xfont.o ftfont.o xftfont.o ftxfont.o  fontset.o fringe.o image.o xgselect.o  terminfo.o lastfile.o      ../lib/libgnu.a       -ltiff -ljpeg -lpng12 -lgif -lXpm -L/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lSM -lICE -lX11 -lXrender -lXft -lXrender -lfontconfig -lfreetype -lX11   -lasound   -L/lib64 -lrsvg-2 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    -lacl -lrt   -lrt -L/lib64 -ldbus-1     -lXinerama -lXfixes   -lxml2 -lz -lm   -lgpm   -lncurses  -pthread -L/lib64 -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0   -L/lib64 -lgobject-2.0 -lglib-2.0   -lselinux -lfreetype   -lfontconfig      -lpthread  -lm -lz
gtkutil.o: In function `xg_set_toolkit_horizontal_scroll_bar_thumb':
/home/albinus/src/emacs/src/gtkutil.c:3942: undefined reference to `gtk_adjustment_configure'
collect2: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make[1]: Leaving directory `/home/albinus/src/emacs/src'
make: *** [src] Error 2

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19149; Package emacs. (Sat, 22 Nov 2014 19:58:02 GMT) Full text and rfc822 format available.

Message #8 received at 19149 <at> debbugs.gnu.org (full text, mbox):

From: "Jan D." <jan.h.d <at> swipnet.se>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 19149 <at> debbugs.gnu.org
Subject: Re: bug#19149: 25.0.50; Error in linking gtkutil.o
Date: Sat, 22 Nov 2014 20:57:24 +0100
What is your gtk+ version?  Check /usr/include/gtk-2.0/gtk/gtkversion.h (I think).

	Jan D.

> 22 nov 2014 kl. 09:04 skrev Michael Albinus <michael.albinus <at> gmx.de>:
> 
> 
> I've tried to compile trunk Emacs on an old machine equipped with a mix
> of rhel5 and fedora10. It fails with the following error message:
> 
> gcc -std=gnu99 -Demacs  -I. -I. -I../lib -I../lib   -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/freetype2    -I/usr/include/alsa   -I/usr/include/librsvg-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0    -I/usr/include/libpng12 -I/usr/include/libxml2   -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include      -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/freetype2      -MMD -MF deps/.d -MP     -g3 -O2  -Wl,-znocombreloc   \
>          -o temacs  vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o gtkutil.o  dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o  profiler.o decompress.o     xfont.o ftfont.o xftfont.o ftxfont.o  fontset.o fringe.o image.o xgselect.o  terminfo.o lastfile.o      ../lib/libgnu.a       -ltiff -ljpeg -lpng12 -lgif -lXpm -L/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lSM -lICE -lX11 -lXrender -lXft -lXrender -lfontconfig -lfreetype -lX11   -lasound   -L/lib64 -lrsvg-2 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    -lacl -lrt   -lrt -L/lib64 -ldbus-1     -lXinerama -lXfixes   -lxml2 -lz -lm   -lgpm   -lncurses  -pthread -L/lib64 -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0   -L/lib64 -lgobject-2.0 -lglib-2.0   -lselinux -lfreetype   -lfontconfig      -lpthread  -lm -lz
> gtkutil.o: In function `xg_set_toolkit_horizontal_scroll_bar_thumb':
> /home/albinus/src/emacs/src/gtkutil.c:3942: undefined reference to `gtk_adjustment_configure'
> collect2: ld returned 1 exit status
> make[1]: *** [temacs] Error 1
> make[1]: Leaving directory `/home/albinus/src/emacs/src'
> make: *** [src] Error 2
> 
> Best regards, Michael.
> 
> 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19149; Package emacs. (Sat, 22 Nov 2014 20:37:02 GMT) Full text and rfc822 format available.

Message #11 received at 19149 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: "Jan D." <jan.h.d <at> swipnet.se>
Cc: 19149 <at> debbugs.gnu.org
Subject: Re: bug#19149: 25.0.50; Error in linking gtkutil.o
Date: Sat, 22 Nov 2014 21:36:13 +0100
"Jan D." <jan.h.d <at> swipnet.se> writes:

> What is your gtk+ version?  Check /usr/include/gtk-2.0/gtk/gtkversion.h (I think).

/* compile time version
 */
#define GTK_MAJOR_VERSION                               (2)
#define GTK_MINOR_VERSION                               (10)
#define GTK_MICRO_VERSION                               (4)
#define GTK_BINARY_AGE                                  (1004)
#define GTK_INTERFACE_AGE                               (4)

> 	Jan D.

Best regards, Michael.




Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Sun, 23 Nov 2014 10:59:02 GMT) Full text and rfc822 format available.

Notification sent to Michael Albinus <michael.albinus <at> gmx.de>:
bug acknowledged by developer. (Sun, 23 Nov 2014 10:59:02 GMT) Full text and rfc822 format available.

Message #16 received at 19149-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 19149-done <at> debbugs.gnu.org
Subject: Re: bug#19149: 25.0.50; Error in linking gtkutil.o
Date: Sun, 23 Nov 2014 11:58:16 +0100
Den 2014-11-22 21:36, Michael Albinus skrev:
> "Jan D." <jan.h.d <at> swipnet.se> writes:
>
>> What is your gtk+ version?  Check /usr/include/gtk-2.0/gtk/gtkversion.h (I think).
>
> /* compile time version
>   */
> #define GTK_MAJOR_VERSION                               (2)
> #define GTK_MINOR_VERSION                               (10)
> #define GTK_MICRO_VERSION                               (4)
> #define GTK_BINARY_AGE                                  (1004)
> #define GTK_INTERFACE_AGE                               (4)
>
>> 	Jan D.
>
> Best regards, Michael.
>

This has been fixed in trunk.

	Jan D.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19149; Package emacs. (Sun, 23 Nov 2014 11:28:01 GMT) Full text and rfc822 format available.

Message #19 received at 19149-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 19149-done <at> debbugs.gnu.org
Subject: Re: bug#19149: 25.0.50; Error in linking gtkutil.o
Date: Sun, 23 Nov 2014 12:27:05 +0100
Jan Djärv <jan.h.d <at> swipnet.se> writes:

> This has been fixed in trunk.

The reported error does not happen anymore. But now I get

gtkutil.o: In function `xg_set_toolkit_horizontal_scroll_bar_thumb':
/home/albinus/src/emacs/src/gtkutil.c:3955: undefined reference to `gtk_adjustment_set_lower'
/home/albinus/src/emacs/src/gtkutil.c:3955: undefined reference to `gtk_adjustment_set_upper'
collect2: ld returned 1 exit status

> 	Jan D.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19149; Package emacs. (Sun, 23 Nov 2014 13:32:02 GMT) Full text and rfc822 format available.

Message #22 received at 19149 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 19149 <at> debbugs.gnu.org
Subject: Re: bug#19149: 25.0.50; Error in linking gtkutil.o
Date: Sun, 23 Nov 2014 14:31:45 +0100
Den 2014-11-23 12:27, Michael Albinus skrev:
> Jan Djärv <jan.h.d <at> swipnet.se> writes:
>
>> This has been fixed in trunk.
>
> The reported error does not happen anymore. But now I get
>
> gtkutil.o: In function `xg_set_toolkit_horizontal_scroll_bar_thumb':
> /home/albinus/src/emacs/src/gtkutil.c:3955: undefined reference to `gtk_adjustment_set_lower'
> /home/albinus/src/emacs/src/gtkutil.c:3955: undefined reference to `gtk_adjustment_set_upper'
> collect2: ld returned 1 exit status
>
>> 	Jan D.
>
> Best regards, Michael.

New fix checked in, please try it.

	Jan D.






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19149; Package emacs. (Sun, 23 Nov 2014 15:20:02 GMT) Full text and rfc822 format available.

Message #25 received at 19149 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 19149 <at> debbugs.gnu.org
Subject: Re: bug#19149: 25.0.50; Error in linking gtkutil.o
Date: Sun, 23 Nov 2014 16:19:13 +0100
Jan Djärv <jan.h.d <at> swipnet.se> writes:

> New fix checked in, please try it.

That works now, thanks a lot!

> 	Jan D.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19149; Package emacs. (Sun, 23 Nov 2014 16:35:01 GMT) Full text and rfc822 format available.

Message #28 received at 19149 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: jan.h.d <at> swipnet.se, 19149 <at> debbugs.gnu.org
Subject: Re: bug#19149: 25.0.50; Error in linking gtkutil.o
Date: Sun, 23 Nov 2014 18:34:52 +0200
> From: Michael Albinus <michael.albinus <at> gmx.de>
> Date: Sun, 23 Nov 2014 16:19:13 +0100
> Cc: 19149 <at> debbugs.gnu.org
> 
> Jan Djärv <jan.h.d <at> swipnet.se> writes:
> 
> > New fix checked in, please try it.
> 
> That works now, thanks a lot!

I think these fixes should go to the emacs-24 branch.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19149; Package emacs. (Sun, 23 Nov 2014 21:19:02 GMT) Full text and rfc822 format available.

Message #31 received at 19149 <at> debbugs.gnu.org (full text, mbox):

From: "Jan D." <jan.h.d <at> swipnet.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Michael Albinus <michael.albinus <at> gmx.de>,
 "19149 <at> debbugs.gnu.org" <19149 <at> debbugs.gnu.org>
Subject: Re: bug#19149: 25.0.50; Error in linking gtkutil.o
Date: Sun, 23 Nov 2014 22:18:28 +0100
Hi.

23 nov 2014 kl. 17:34 skrev Eli Zaretskii <eliz <at> gnu.org>:

>> From: Michael Albinus <michael.albinus <at> gmx.de>
>> Date: Sun, 23 Nov 2014 16:19:13 +0100
>> Cc: 19149 <at> debbugs.gnu.org
>> 
>> Jan Djärv <jan.h.d <at> swipnet.se> writes:
>> 
>>> New fix checked in, please try it.
>> 
>> That works now, thanks a lot!
> 
> I think these fixes should go to the emacs-24 branch.

The error was introduced by horizontal scrollbars, which is not in the emacs-24 branch.

        Jan D.



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 22 Dec 2014 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.