* building emacs on macos 10.14
@ 2019-02-20 15:57 Jean-Christophe Helary
2019-02-20 16:52 ` Robert Pluim
0 siblings, 1 reply; 6+ messages in thread
From: Jean-Christophe Helary @ 2019-02-20 15:57 UTC (permalink / raw)
To: help-gnu-emacs
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...
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: building emacs on macos 10.14
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-22 14:20 ` Jean-Christophe Helary
0 siblings, 2 replies; 6+ messages in thread
From: Robert Pluim @ 2019-02-20 16:52 UTC (permalink / raw)
To: Jean-Christophe Helary; +Cc: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: building emacs on macos 10.14
2019-02-20 16:52 ` Robert Pluim
@ 2019-02-20 17:25 ` tomas
2019-02-20 23:41 ` Jean-Christophe Helary
2019-02-22 14:20 ` Jean-Christophe Helary
1 sibling, 1 reply; 6+ messages in thread
From: tomas @ 2019-02-20 17:25 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 581 bytes --]
On Wed, Feb 20, 2019 at 05:52:15PM +0100, Robert Pluim wrote:
> Jean-Christophe Helary <brandelune@gmail.com> writes:
>
> > I'm recently having issues with building emacs from the master branch:
[...]
> > ld: warning: ignoring file ../lib/libgnu.a, file was built for archive which is not the architecture being linked (x86_64): ../lib/libgnu.a
[...]
> I build on 10.14 all the time. Do you perhaps have GNU binutils
> installed? Itʼs possible youʼre running the wrong 'ar'.
Perhaps a stupid question, but... did you "make distclean" before?
Cheers
-- t
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: building emacs on macos 10.14
2019-02-20 17:25 ` tomas
@ 2019-02-20 23:41 ` Jean-Christophe Helary
2019-02-21 8:11 ` tomas
0 siblings, 1 reply; 6+ messages in thread
From: Jean-Christophe Helary @ 2019-02-20 23:41 UTC (permalink / raw)
To: tomas; +Cc: help-gnu-emacs
> On Feb 21, 2019, at 2:25, tomas@tuxteam.de wrote:
>
>> I build on 10.14 all the time. Do you perhaps have GNU binutils
>> installed? Itʼs possible youʼre running the wrong 'ar'.
>
> Perhaps a stupid question, but... did you "make distclean" before?
Thank you Thomas, I'll try that. I usually do git pull and then build and never run into any problems. I'll report.
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: building emacs on macos 10.14
2019-02-20 23:41 ` Jean-Christophe Helary
@ 2019-02-21 8:11 ` tomas
0 siblings, 0 replies; 6+ messages in thread
From: tomas @ 2019-02-21 8:11 UTC (permalink / raw)
To: Jean-Christophe Helary; +Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 938 bytes --]
On Thu, Feb 21, 2019 at 08:41:07AM +0900, Jean-Christophe Helary wrote:
>
>
> > On Feb 21, 2019, at 2:25, tomas@tuxteam.de wrote:
> >
> >> I build on 10.14 all the time. Do you perhaps have GNU binutils
> >> installed? Itʼs possible youʼre running the wrong 'ar'.
> >
> > Perhaps a stupid question, but... did you "make distclean" before?
>
> Thank you Thomas, I'll try that. I usually do git pull and then build and never run into any problems. I'll report.
I can't (yet?) put my finger on it, but from time to time I
have the impression that some build debris sneaks into the
check-out. I've had problems in compiling which disappear
magically after a make distcheck (I've first to do a configure
to be able to do that, since the makefile isn't there yet:
I call that the "double phoenix manœuvre" or something ;-)
FWIW I build in a separate directory, which is always empty
at the start.
Cheers
-- t
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: building emacs on macos 10.14
2019-02-20 16:52 ` Robert Pluim
2019-02-20 17:25 ` tomas
@ 2019-02-22 14:20 ` Jean-Christophe Helary
1 sibling, 0 replies; 6+ messages in thread
From: Jean-Christophe Helary @ 2019-02-22 14:20 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-02-22 14:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).