unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: "osama mak" <osmakh@linuxmail.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: error while compiling emacs 24.5
Date: Tue, 12 May 2015 02:38:30 -0400	[thread overview]
Message-ID: <yregmmjo61.fsf@fencepost.gnu.org> (raw)
In-Reply-To: trinity-2d05f340-d280-4ac9-9423-35600488ab05-1431369118471@3capp-mailcom-lxa09

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



  reply	other threads:[~2015-05-12  6:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-11 18:31 error while compiling emacs 24.5 osama mak
2015-05-12  6:38 ` Glenn Morris [this message]
2015-05-12 20:38   ` Glenn Morris
2015-05-13  2:40     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yregmmjo61.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=osmakh@linuxmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).