help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building emacs on macos 10.14


From: Robert Pluim
Subject: Re: building emacs on macos 10.14
Date: Wed, 20 Feb 2019 17:52:15 +0100

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 via email to

[Prev in Thread] Current Thread [Next in Thread]