all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean-Christophe Helary <brandelune@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: building emacs on macos 10.14
Date: Fri, 22 Feb 2019 23:20:34 +0900	[thread overview]
Message-ID: <04B2A195-40D1-40DF-9914-40723AB76729@gmail.com> (raw)
In-Reply-To: <m2h8cyv1vk.fsf@gmail.com>

Robert,

It looks like my ar comes from binutils-2.31.90, presumably installed from brew.

Eventually I removed my /emacs directory, checked out from scratch and the build succeeded... :(

Jean-Christophe 

> On Feb 21, 2019, at 1:52, Robert Pluim <rpluim@gmail.com> wrote:
> 
> 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

Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune




      parent reply	other threads:[~2019-02-22 14:20 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
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 [this message]

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=04B2A195-40D1-40DF-9914-40723AB76729@gmail.com \
    --to=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.