unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* error while compiling emacs 24.5
@ 2015-05-11 18:31 osama mak
  2015-05-12  6:38 ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: osama mak @ 2015-05-11 18:31 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 22479 bytes --]

   hi all
   i got this error when i tried to build it, using configure options:
   ./configure --without-x
   with CFLAGS = '-O3 -static'
   i get this :
   ------------------
   [ -r "src/config.in" ] || ( cd . && autoheader )
   cd lib && make all                          \
     CC='gcc -std=gnu99' CFLAGS='-O3 -static' CPPFLAGS='' \
     LDFLAGS='' MAKE='make'
   make[1]: Entering directory
   '/home/os/source/emacs-static/emacs-24.5/lib'
   make  all-am
   make[2]: Entering directory
   '/home/os/source/emacs-static/emacs-24.5/lib'
   make[2]: Nothing to be done for 'all-am'.
   make[2]: Leaving directory
   '/home/os/source/emacs-static/emacs-24.5/lib'
   make[1]: Leaving directory
   '/home/os/source/emacs-static/emacs-24.5/lib'
   cd lib-src && make all                          \
     CC='gcc -std=gnu99' CFLAGS='-O3 -static' CPPFLAGS='' \
     LDFLAGS='' MAKE='make'
   make[1]: Entering directory
   '/home/os/source/emacs-static/emacs-24.5/lib-src'
   make[1]: Nothing to be done for 'all'.
   make[1]: Leaving directory
   '/home/os/source/emacs-static/emacs-24.5/lib-src'
   dirstate='.git/logs/HEAD';                \
   vcswitness='$(srcdir)/../'$dirstate;                \
   [ -r "./$dirstate" ] || vcswitness='';            \
   cd src || exit;                            \
   boot=bootstrap-emacs;                    \
   [ ! -x "$boot" ] || boot='';                    \
   make all                         \
     CC='gcc -std=gnu99' CFLAGS='-O3 -static' CPPFLAGS=''        \
     LDFLAGS='' MAKE='make' BOOTSTRAPEMACS="$boot"    \
     VCSWITNESS="$vcswitness"
   make[1]: Entering directory
   '/home/os/source/emacs-static/emacs-24.5/src'
   gcc -std=gnu99 -Demacs  -I. -I. -I../lib -I./../lib
   -I/usr/include/dbus-1.0
   -I/usr/lib/i386-linux-gnu/dbus-1.0/include         -MMD -MF deps/.d
   -MP  -pthread -I/usr/include/glib-2.0
   -I/usr/lib/i386-linux-gnu/glib-2.0/include    -O3 -static
   -Wl,-znocombreloc   \
     -o temacs  vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.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   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 gfilenotify.o profiler.o
   decompress.o        xgselect.o  terminfo.o lastfile.o
   ../lib/libgnu.a                -lrt  -ldbus-1         -ltinfo
   -lpthread  -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lm -lz
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libdbus-1.a(lib
   dbus_1_la-dbus-sysdeps-unix.o): In function `fill_user_info':
   (.text+0x243): warning: Using 'getgrouplist' in statically linked
   applications requires at runtime the shared libraries from the glibc
   version used for linking
   dired.o: In function `Fsystem_groups':
   dired.c:(.text+0x8f3): warning: Using 'getgrent' in statically linked
   applications requires at runtime the shared libraries from the glibc
   version used for linking
   sysdep.o: In function `system_process_attributes':
   sysdep.c:(.text+0x2a82): warning: Using 'getgrgid' in statically linked
   applications requires at runtime the shared libraries from the glibc
   version used for linking
   dired.o: In function `Fsystem_groups':
   dired.c:(.text+0x929): warning: Using 'endgrent' in statically linked
   applications requires at runtime the shared libraries from the glibc
   version used for linking
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-glocalfileinfo.o): In function `lookup_gid_name':
   (.text+0x1071): warning: Using 'getgrgid_r' in statically linked
   applications requires at runtime the shared libraries from the glibc
   version used for linking
   dired.o: In function `Fsystem_users':
   dired.c:(.text+0x843): warning: Using 'getpwent' in statically linked
   applications requires at runtime the shared libraries from the glibc
   version used for linking
   fileio.o: In function `search_embedded_absfilename':
   fileio.c:(.text+0x6fc): warning: Using 'getpwnam' in statically linked
   applications requires at runtime the shared libraries from the glibc
   version used for linking
   sysdep.o: In function `system_process_attributes':
   sysdep.c:(.text+0x29f7): warning: Using 'getpwuid' in statically linked
   applications requires at runtime the shared libraries from the glibc
   version used for linking
   dired.o: In function `Fsystem_users':
   dired.c:(.text+0x879): warning: Using 'endpwent' in statically linked
   applications requires at runtime the shared libraries from the glibc
   version used for linking
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libdbus-1.a(lib
   dbus_1_la-dbus-sysdeps-unix.o): In function `fill_user_info':
   (.text+0x122): warning: Using 'getpwnam_r' in statically linked
   applications requires at runtime the shared libraries from the glibc
   version used for linking
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libdbus-1.a(lib
   dbus_1_la-dbus-sysdeps-unix.o): In function `fill_user_info':
   (.text+0xcd): warning: Using 'getpwuid_r' in statically linked
   applications requires at runtime the shared libraries from the glibc
   version used for linking
   sysdep.o: In function `init_system_name':
   sysdep.c:(.text+0xafa): warning: Using 'getaddrinfo' in statically
   linked applications requires at runtime the shared libraries from the
   glibc version used for linking
   process.o: In function `Fmake_network_process':
   process.c:(.text+0x71b5): warning: Using 'getservbyname' in statically
   linked applications requires at runtime the shared libraries from the
   glibc version used for linking
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-gnetworkaddress.o): In function `g_network_address_parse':
   (.text+0xc59): warning: Using 'endservent' in statically linked
   applications requires at runtime the shared libraries from the glibc
   version used for linking
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-glocalfileinfo.o): In function `set_selinux_context':
   (.text+0x900): undefined reference to `is_selinux_enabled'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-glocalfileinfo.o): In function `set_selinux_context':
   (.text+0x91a): undefined reference to `setfilecon_raw'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-glocalfileinfo.o): In function `_g_local_file_info_get':
   (.text+0x2b11): undefined reference to `is_selinux_enabled'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-glocalfileinfo.o): In function `_g_local_file_info_get':
   (.text+0x2b32): undefined reference to `lgetfilecon_raw'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-glocalfileinfo.o): In function `_g_local_file_info_get':
   (.text+0x2b62): undefined reference to `freecon'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-glocalfileinfo.o): In function `_g_local_file_info_get':
   (.text+0x3155): undefined reference to `getfilecon_raw'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-glocalfileinfo.o): In function
   `_g_local_file_info_get_from_fd':
   (.text+0x3321): undefined reference to `is_selinux_enabled'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-glocalfileinfo.o): In function
   `_g_local_file_info_get_from_fd':
   (.text+0x3333): undefined reference to `fgetfilecon_raw'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-glocalfileinfo.o): In function
   `_g_local_file_info_get_from_fd':
   (.text+0x3356): undefined reference to `freecon'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-glocalfileinfo.o): In function
   `_g_local_file_info_set_attributes':
   (.text+0x38a8): undefined reference to `is_selinux_enabled'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-glocalfileinfo.o): In function
   `_g_local_file_info_set_attributes':
   (.text+0x3953): undefined reference to `is_selinux_enabled'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-giomodule.o): In function `g_io_module_unload_module':
   (.text+0xf1): undefined reference to `g_module_close'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-giomodule.o): In function `g_io_module_load_module':
   (.text+0x12a): undefined reference to `g_module_open'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-giomodule.o): In function `g_io_module_load_module':
   (.text+0x14a): undefined reference to `g_module_symbol'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-giomodule.o): In function `g_io_module_load_module':
   (.text+0x165): undefined reference to `g_module_symbol'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-giomodule.o): In function `g_io_module_load_module':
   (.text+0x171): undefined reference to `g_module_error'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-giomodule.o): In function `g_io_module_load_module':
   (.text+0x188): undefined reference to `g_module_close'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-giomodule.o): In function `g_io_module_load_module':
   (.text+0x1e1): undefined reference to `g_module_error'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-giomodule.o): In function
   `g_io_modules_load_all_in_directory_with_scope':
   (.text+0x578): undefined reference to `g_module_supported'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-giomodule.o): In function
   `g_io_modules_scan_all_in_directory_with_scope':
   (.text+0x77a): undefined reference to `g_module_supported'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-gthreadedresolver.o): In function
   `g_resolver_records_from_res_query':
   (.text+0x840): undefined reference to `__dn_expand'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-gthreadedresolver.o): In function
   `g_resolver_records_from_res_query':
   (.text+0x8a5): undefined reference to `__dn_expand'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-gthreadedresolver.o): In function
   `g_resolver_records_from_res_query':
   (.text+0x9ec): undefined reference to `__dn_expand'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-gthreadedresolver.o): In function
   `g_resolver_records_from_res_query':
   (.text+0xb34): undefined reference to `__dn_expand'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-gthreadedresolver.o): In function
   `g_resolver_records_from_res_query':
   (.text+0xb77): undefined reference to `__dn_expand'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-gthreadedresolver.o):(.text+0xbb7): more undefined
   references to `__dn_expand' follow
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
   bgio_2_0_la-gthreadedresolver.o): In function `do_lookup_records':
   (.text+0xd9f): undefined reference to `__res_query'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function `value_to_ffi_type':
   (.text+0x244): undefined reference to `ffi_type_uint32'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function `value_to_ffi_type':
   (.text+0x25c): undefined reference to `ffi_type_sint32'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function `value_to_ffi_type':
   (.text+0x274): undefined reference to `ffi_type_float'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function `value_to_ffi_type':
   (.text+0x284): undefined reference to `ffi_type_pointer'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function `value_to_ffi_type':
   (.text+0x294): undefined reference to `ffi_type_double'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function `value_to_ffi_type':
   (.text+0x2a4): undefined reference to `ffi_type_sint64'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function `value_to_ffi_type':
   (.text+0x2b4): undefined reference to `ffi_type_uint64'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function `value_to_ffi_type':
   (.text+0x2da): undefined reference to `ffi_type_sint32'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function `value_to_ffi_type':
   (.text+0x315): undefined reference to `ffi_type_pointer'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic':
   (.text+0x1bfe): undefined reference to `ffi_type_void'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic':
   (.text+0x1c11): undefined reference to `ffi_type_void'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic':
   (.text+0x1c88): undefined reference to `ffi_type_pointer'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic':
   (.text+0x1d03): undefined reference to `ffi_prep_cif'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic':
   (.text+0x1d23): undefined reference to `ffi_call'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic':
   (.text+0x1d7c): undefined reference to `ffi_type_pointer'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic_va':
   (.text+0x1e70): undefined reference to `ffi_type_void'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic_va':
   (.text+0x1f2f): undefined reference to `ffi_type_pointer'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic_va':
   (.text+0x1f35): undefined reference to `ffi_type_pointer'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic_va':
   (.text+0x1fb8): undefined reference to `ffi_type_uint32'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic_va':
   (.text+0x2026): undefined reference to `ffi_prep_cif'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic_va':
   (.text+0x204c): undefined reference to `ffi_call'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic_va':
   (.text+0x2118): undefined reference to `ffi_type_sint32'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic_va':
   (.text+0x21c0): undefined reference to `ffi_type_pointer'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic_va':
   (.text+0x21c8): undefined reference to `ffi_type_pointer'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic_va':
   (.text+0x21f1): undefined reference to `ffi_type_uint64'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic_va':
   (.text+0x2211): undefined reference to `ffi_type_sint64'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic_va':
   (.text+0x222e): undefined reference to `ffi_type_float'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic_va':
   (.text+0x224e): undefined reference to `ffi_type_double'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic_va':
   (.text+0x2270): undefined reference to `ffi_type_pointer'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
   a(libgobject_2_0_la-gclosure.o): In function
   `g_cclosure_marshal_generic_va':
   (.text+0x22af): undefined reference to `ffi_type_pointer'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `get_matched_substring_number':
   (.text+0x201): undefined reference to `pcre_get_stringtable_entries'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `get_matched_substring_number':
   (.text+0x288): undefined reference to `pcre_get_stringnumber'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `g_match_info_next':
   (.text+0xa48): undefined reference to `pcre_exec'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `regex_compile':
   (.text+0x1343): undefined reference to `pcre_compile2'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `regex_compile':
   (.text+0x135f): undefined reference to `pcre_fullinfo'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `regex_compile':
   (.text+0x13e3): undefined reference to `pcre_fullinfo'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `match_info_new':
   (.text+0x1c0e): undefined reference to `pcre_fullinfo'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `g_regex_unref':
   (.text+0x1c7b): undefined reference to `pcre_free'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `g_regex_unref':
   (.text+0x1c8f): undefined reference to `pcre_free'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `g_regex_new':
   (.text+0x1e9b): undefined reference to `pcre_study'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `g_regex_new':
   (.text+0x1f33): undefined reference to `pcre_config'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `g_regex_new':
   (.text+0x1f6d): undefined reference to `pcre_config'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `g_regex_get_max_backref':
   (.text+0x2052): undefined reference to `pcre_fullinfo'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `g_regex_get_capture_count':
   (.text+0x20a2): undefined reference to `pcre_fullinfo'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `g_regex_get_has_cr_or_lf':
   (.text+0x20f2): undefined reference to `pcre_fullinfo'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `g_regex_get_max_lookbehind':
   (.text+0x2142): undefined reference to `pcre_fullinfo'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `g_regex_match_all_full':
   (.text+0x246b): undefined reference to `pcre_dfa_exec'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `g_regex_match_all_full':
   (.text+0x24d0): undefined reference to `pcre_free'
   /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
   ibglib_2_0_la-gregex.o): In function `g_regex_get_string_number':
   (.text+0x25fb): undefined reference to `pcre_get_stringnumber'
   collect2: error: ld returned 1 exit status
   Makefile:664: recipe for target 'temacs' failed
   make[1]: *** [temacs] Error 1
   make[1]: Leaving directory
   '/home/os/source/emacs-static/emacs-24.5/src'
   Makefile:387: recipe for target 'src' failed
   make: *** [src] Error 2
   ------------------------
   using debian 8, i have attached config.log
   thanks in advance!

[-- Attachment #2: config.log.tar.gz --]
[-- Type: application/octet-stream, Size: 36534 bytes --]

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

* Re: error while compiling emacs 24.5
  2015-05-11 18:31 error while compiling emacs 24.5 osama mak
@ 2015-05-12  6:38 ` Glenn Morris
  2015-05-12 20:38   ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2015-05-12  6:38 UTC (permalink / raw)
  To: osama mak; +Cc: help-gnu-emacs

"osama mak" wrote:

>    with CFLAGS = '-O3 -static'

I guess all your problems stem from trying to compile a statically
linked Emacs. Are you sure you want to do that?

>    /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
>    bgio_2_0_la-glocalfileinfo.o): In function `set_selinux_context':

Looks like you need to install the static version of libselinux;
or ensure it gets added to the build.

>    /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
>    bgio_2_0_la-giomodule.o): In function `g_io_module_unload_module':
>    (.text+0xf1): undefined reference to `g_module_close'

Ditto for glib.

>    /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgio-2.0.a(li
>    bgio_2_0_la-gthreadedresolver.o): In function
>    `g_resolver_records_from_res_query':
>    (.text+0x840): undefined reference to `__dn_expand'

Ditto for libresolv?

>    /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgobject-2.0.
>    a(libgobject_2_0_la-gclosure.o): In function `value_to_ffi_type':
>    (.text+0x244): undefined reference to `ffi_type_uint32'

Ditto for libffi?

>    /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libglib-2.0.a(l
>    ibglib_2_0_la-gregex.o): In function `get_matched_substring_number':
>    (.text+0x201): undefined reference to `pcre_get_stringtable_entries'

Ditto for pcre.


I'm sure it's much easier to compile a dynamically-linked version.



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

* Re: error while compiling emacs 24.5
  2015-05-12  6:38 ` Glenn Morris
@ 2015-05-12 20:38   ` Glenn Morris
  2015-05-13  2:40     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2015-05-12 20:38 UTC (permalink / raw)
  To: osama mak; +Cc: help-gnu-emacs


Perhaps adding the --static flag to pkg-config will help.
It seems like

  ./configure [...] PKG_CONFIG="pkg-config --static"

might work for that.



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

* Re: error while compiling emacs 24.5
  2015-05-12 20:38   ` Glenn Morris
@ 2015-05-13  2:40     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2015-05-13  2:40 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Glenn Morris <rgm@gnu.org>
> Date: Tue, 12 May 2015 16:38:44 -0400
> Cc: help-gnu-emacs@gnu.org
> 
> 
> Perhaps adding the --static flag to pkg-config will help.
> It seems like
> 
>   ./configure [...] PKG_CONFIG="pkg-config --static"
> 
> might work for that.

It might, although I've found that many libraries don't get their
static dependencies right in their *.pc files.



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

end of thread, other threads:[~2015-05-13  2:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-11 18:31 error while compiling emacs 24.5 osama mak
2015-05-12  6:38 ` Glenn Morris
2015-05-12 20:38   ` Glenn Morris
2015-05-13  2:40     ` Eli Zaretskii

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