emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#17118: closed (24.3 build on Centos 6.5: undefined


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#17118: closed (24.3 build on Centos 6.5: undefined ref to `g_settings_get_value)
Date: Sat, 29 Mar 2014 12:11:02 +0000

Your message dated Sat, 29 Mar 2014 13:10:35 +0100
with message-id <address@hidden>
and subject line Re: bug#17118: 24.3 build on Centos 6.5: undefined ref to 
`g_settings_get_value
has caused the debbugs.gnu.org bug report #17118,
regarding 24.3 build on Centos 6.5: undefined ref to `g_settings_get_value
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
17118: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17118
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3 build on Centos 6.5: undefined ref to `g_settings_get_value Date: Thu, 27 Mar 2014 12:27:52 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)
I'm trying to build emacs on my Centos 6.5 PC
(Linux destgd0h411156 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed Oct 16
18:37:12 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux).

I simply ran "configure --prefix=..." and then "make", but make fails
with linker errors for temacs:

--- snip ---

gcc -std=gnu99 -nostdlib -Demacs  -I. -I/opt/kze/emacs-24.3/src -I../lib 
-I/opt/kze/emacs-24.3/src/../lib   -pthread -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/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   
-I/usr/include/freetype2         -pthread -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include   -pthread -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 pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.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 xgselect.o gtkutil.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     xfont.o ftfont.o xftfont.o ftxfont.o  
fontset.o fringe.o image.o  terminfo.o lastfile.o    vm-limit.o   
../lib/libgnu.a      -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -pthread 
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 
-lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 
-lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lSM -lICE -lX11 -lXrender -lXft  
    -lrt -lrt        -ltinfo  -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 
-lgthread-2.0 -lrt -lglib-2.0   -pthread -lgobject-2.0 -lgthread-2.0 -lrt 
-lglib-2.0    -lfreetype   -lfontconfig      -lpthread   -lm -lgcc -lc -lgcc 
/usr/lib64/crtn.o 
xsettings.o: In function `something_changed_gsettingsCB':
/opt/kze/emacs-24.3/src/xsettings.c:215: undefined reference to 
`g_settings_get_value'
/opt/kze/emacs-24.3/src/xsettings.c:230: undefined reference to 
`g_settings_get_value'
/opt/kze/emacs-24.3/src/xsettings.c:244: undefined reference to 
`g_settings_get_value'
xsettings.o: In function `init_gsettings':
/opt/kze/emacs-24.3/src/xsettings.c:816: undefined reference to 
`g_settings_list_schemas'
/opt/kze/emacs-24.3/src/xsettings.c:822: undefined reference to `g_settings_new'
/opt/kze/emacs-24.3/src/xsettings.c:828: undefined reference to 
`g_settings_get_value'
/opt/kze/emacs-24.3/src/xsettings.c:839: undefined reference to 
`g_settings_get_value'
/opt/kze/emacs-24.3/src/xsettings.c:848: undefined reference to 
`g_settings_get_value'
collect2: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make[1]: Leaving directory `/opt/kze/emacs-24.3/src'
make: *** [src] Error 2

--- snip ---

-- 
 -------------------------------------------------------------------
|  Klaus Zeitler              Alcatel-Lucent                        |
|  Lorenzstrasse 10           D-70435 Stuttgart, Germany            |
|  Department:                MS/E Building: 004  Office: 1/62      |
|  Telefon:                   +49 711 821 43898                     |
|  Email:                     address@hidden      |
|                                                                   |
| Alcatel-Lucent Deutschland AG                                     |
| Sitz der Gesellschaft: Stuttgart · Amtsgericht Stuttgart HRB 4026 |
| Vorsitzender des Aufsichtsrates: Michael Oppenhoff                |
| Vorstand: Wilhelm Dresselhaus (Chairman) · Hans-Jörg Daub ·       |
|           Andreas Gehe                                            |
 -------------------------------------------------------------------
---
Issawi's Laws of Progress:
 The Course of Progress: Most things get steadily worse.
 The Path of Progress: A shortcut is the longest distance between two points.



--- End Message ---
--- Begin Message --- Subject: Re: bug#17118: 24.3 build on Centos 6.5: undefined ref to `g_settings_get_value Date: Sat, 29 Mar 2014 13:10:35 +0100 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
Hello.

I have added a configure check for this in the trunk.

        Jan D.

2014-03-27 16:59, Glenn Morris skrev:
Klaus Zeitler wrote:

I'm trying to build emacs on my Centos 6.5 PC
(Linux destgd0h411156 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed Oct 16
18:37:12 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux).

I simply ran "configure --prefix=..." and then "make", but make fails
with linker errors for temacs:
[...]
xsettings.o: In function `something_changed_gsettingsCB':
/opt/kze/emacs-24.3/src/xsettings.c:215: undefined reference to 
`g_settings_get_value'

Please see my explanation here:

http://lists.gnu.org/archive/html/help-gnu-emacs/2014-03/msg00503.html

Red Hat has taken the unusual step of ripping out the gsettings related
parts of their glib library. So they have something that advertises
itself as gio 2.26.1, but does not include gsettings.

I think this is an odd thing to do. I encourage anyone with a RH
subscription to report it as a bug against glib2-devel.

In Emacs, you can work around it by using configure --without-gsettings.

But Emacs should add a configure test to check that gsettings is really
present. I tried to do this by simply testing for gio/gsettings.h, but
sadly you can't include that header directly, it throws an error if not
included via gio/gio.h.





--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]