|
From: | Glenn Morris |
Subject: | Re: error while compiling emacs 24.5 |
Date: | Tue, 12 May 2015 02:38:30 -0400 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/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.
[Prev in Thread] | Current Thread | [Next in Thread] |