unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19149: 25.0.50; Error in linking gtkutil.o
@ 2014-11-22  8:04 Michael Albinus
  2014-11-22 19:57 ` Jan D.
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Albinus @ 2014-11-22  8:04 UTC (permalink / raw)
  To: 19149


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.





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

* bug#19149: 25.0.50; Error in linking gtkutil.o
  2014-11-22  8:04 bug#19149: 25.0.50; Error in linking gtkutil.o Michael Albinus
@ 2014-11-22 19:57 ` Jan D.
  2014-11-22 20:36   ` Michael Albinus
  0 siblings, 1 reply; 9+ messages in thread
From: Jan D. @ 2014-11-22 19:57 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 19149

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






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

* bug#19149: 25.0.50; Error in linking gtkutil.o
  2014-11-22 19:57 ` Jan D.
@ 2014-11-22 20:36   ` Michael Albinus
  2014-11-23 10:58     ` Jan Djärv
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Albinus @ 2014-11-22 20:36 UTC (permalink / raw)
  To: Jan D.; +Cc: 19149

"Jan D." <jan.h.d@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.





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

* bug#19149: 25.0.50; Error in linking gtkutil.o
  2014-11-22 20:36   ` Michael Albinus
@ 2014-11-23 10:58     ` Jan Djärv
  2014-11-23 11:27       ` Michael Albinus
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Djärv @ 2014-11-23 10:58 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 19149-done

Den 2014-11-22 21:36, Michael Albinus skrev:
> "Jan D." <jan.h.d@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.






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

* bug#19149: 25.0.50; Error in linking gtkutil.o
  2014-11-23 10:58     ` Jan Djärv
@ 2014-11-23 11:27       ` Michael Albinus
  2014-11-23 13:31         ` Jan Djärv
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Albinus @ 2014-11-23 11:27 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 19149-done

Jan Djärv <jan.h.d@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.





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

* bug#19149: 25.0.50; Error in linking gtkutil.o
  2014-11-23 11:27       ` Michael Albinus
@ 2014-11-23 13:31         ` Jan Djärv
  2014-11-23 15:19           ` Michael Albinus
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Djärv @ 2014-11-23 13:31 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 19149

Den 2014-11-23 12:27, Michael Albinus skrev:
> Jan Djärv <jan.h.d@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.







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

* bug#19149: 25.0.50; Error in linking gtkutil.o
  2014-11-23 13:31         ` Jan Djärv
@ 2014-11-23 15:19           ` Michael Albinus
  2014-11-23 16:34             ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Albinus @ 2014-11-23 15:19 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 19149

Jan Djärv <jan.h.d@swipnet.se> writes:

> New fix checked in, please try it.

That works now, thanks a lot!

> 	Jan D.

Best regards, Michael.





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

* bug#19149: 25.0.50; Error in linking gtkutil.o
  2014-11-23 15:19           ` Michael Albinus
@ 2014-11-23 16:34             ` Eli Zaretskii
  2014-11-23 21:18               ` Jan D.
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2014-11-23 16:34 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 19149

> From: Michael Albinus <michael.albinus@gmx.de>
> Date: Sun, 23 Nov 2014 16:19:13 +0100
> Cc: 19149@debbugs.gnu.org
> 
> Jan Djärv <jan.h.d@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.





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

* bug#19149: 25.0.50; Error in linking gtkutil.o
  2014-11-23 16:34             ` Eli Zaretskii
@ 2014-11-23 21:18               ` Jan D.
  0 siblings, 0 replies; 9+ messages in thread
From: Jan D. @ 2014-11-23 21:18 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Michael Albinus, 19149@debbugs.gnu.org

Hi.

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

>> From: Michael Albinus <michael.albinus@gmx.de>
>> Date: Sun, 23 Nov 2014 16:19:13 +0100
>> Cc: 19149@debbugs.gnu.org
>> 
>> Jan Djärv <jan.h.d@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.




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

end of thread, other threads:[~2014-11-23 21:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-22  8:04 bug#19149: 25.0.50; Error in linking gtkutil.o Michael Albinus
2014-11-22 19:57 ` Jan D.
2014-11-22 20:36   ` Michael Albinus
2014-11-23 10:58     ` Jan Djärv
2014-11-23 11:27       ` Michael Albinus
2014-11-23 13:31         ` Jan Djärv
2014-11-23 15:19           ` Michael Albinus
2014-11-23 16:34             ` Eli Zaretskii
2014-11-23 21:18               ` Jan D.

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