all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Jean-Christophe Helary <brandelune@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: building emacs on macos 10.14
Date: Wed, 20 Feb 2019 17:52:15 +0100	[thread overview]
Message-ID: <m2h8cyv1vk.fsf@gmail.com> (raw)
In-Reply-To: <881B1E42-2393-4783-AB00-A55E159CD59C@gmail.com> (Jean-Christophe Helary's message of "Thu, 21 Feb 2019 00:57:14 +0900")

Jean-Christophe Helary <brandelune@gmail.com> writes:

> I'm recently having issues with building emacs from the master branch:
>
>   ...
>   CC       unistd.o
>   CC       utimens.o
>   CC       openat-die.o
>   CC       save-cwd.o
>   AR       libgnu.a
> /Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib-src all
>   CCLD     etags
> ld: warning: ignoring file ../lib/libgnu.a, file was built for archive which is not the architecture being linked (x86_64): ../lib/libgnu.a
> Undefined symbols for architecture x86_64:
>   "_c_isalnum", referenced from:
>       _Asm_labels in etags-d427b5.o
>       _Cobol_paragraphs in etags-d427b5.o
>       _Erlang_functions in etags-d427b5.o
>       _Perl_functions in etags-d427b5.o
>       _Prolog_functions in etags-d427b5.o
>       _Ruby_functions in etags-d427b5.o
>       _Ada_getit in etags-d427b5.o
>       ...
>   "_c_strcasecmp", referenced from:
>       _get_language_from_filename in etags-d427b5.o
>   "_c_strncasecmp", referenced from:
>       _Forth_words in etags-d427b5.o
>       _Fortran_functions in etags-d427b5.o
>       _HTML_labels in etags-d427b5.o
>   "_rpl_getopt_long", referenced from:
>       _main in etags-d427b5.o
>   "_rpl_optarg", referenced from:
>       _main in etags-d427b5.o
>   "_rpl_optind", referenced from:
>       _main in etags-d427b5.o
>   "_rpl_re_compile_pattern", referenced from:
>       _add_regex in etags-d427b5.o
>   "_rpl_re_match", referenced from:
>       _readline in etags-d427b5.o
>   "_rpl_re_search", referenced from:
>       _find_entries in etags-d427b5.o
>   "_rpl_re_set_syntax", referenced from:
>       _add_regex in etags-d427b5.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[1]: *** [etags] Error 1
> make: *** [lib-src] Error 2
>
> I'm not sure what to make of that...

I build on 10.14 all the time. Do you perhaps have GNU binutils
installed? Itʼs possible youʼre running the wrong 'ar'.

Robert



  reply	other threads:[~2019-02-20 16:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-20 15:57 building emacs on macos 10.14 Jean-Christophe Helary
2019-02-20 16:52 ` Robert Pluim [this message]
2019-02-20 17:25   ` tomas
2019-02-20 23:41     ` Jean-Christophe Helary
2019-02-21  8:11       ` tomas
2019-02-22 14:20   ` Jean-Christophe Helary

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

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

  git send-email \
    --in-reply-to=m2h8cyv1vk.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=brandelune@gmail.com \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.