unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Zhang Haijun <ccsmile2008@outlook.com>
To: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: 26.1: build on macOS failed
Date: Sat, 9 Feb 2019 13:07:40 +0000	[thread overview]
Message-ID: <PS1PR06MB2759E14349A8C824E5381BE9A86A0@PS1PR06MB2759.apcprd06.prod.outlook.com> (raw)

OS: macOS 10.13.6
Xcode: 10.1

Configuration:
CFLAGS="-O2" ./configure --without-makeinfo --with-ns --with-modules

Error message of make:

...
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib-src all
  CC       regex.o
  CCLD     etags
ld: warning: ignoring file ../lib/libgnu.a, file was built for archive which is not th
e architecture being linked (x86_64): ../lib/libgnu.a
Undefined symbols for architecture x86_64:
  "_c_isalnum", referenced from:
      _Asm_labels in etags-59ad2c.o
      _Cobol_paragraphs in etags-59ad2c.o
      _Erlang_functions in etags-59ad2c.o
      _Perl_functions in etags-59ad2c.o
      _Prolog_functions in etags-59ad2c.o
      _Ruby_functions in etags-59ad2c.o
      _Ada_getit in etags-59ad2c.o
      ...
  "_c_strcasecmp", referenced from:
      _get_language_from_filename in etags-59ad2c.o
  "_c_strncasecmp", referenced from:
      _Forth_words in etags-59ad2c.o
      _Fortran_functions in etags-59ad2c.o
      _HTML_labels in etags-59ad2c.o
  "_rpl_getopt_long", referenced from:
      _main in etags-59ad2c.o
  "_rpl_optarg", referenced from:
      _main in etags-59ad2c.o
  "_rpl_optind", referenced from:
      _main in etags-59ad2c.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


             reply	other threads:[~2019-02-09 13:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-09 13:07 Zhang Haijun [this message]
2019-02-10 13:46 ` 26.1: build on macOS failed Charles A. Roelli
     [not found]   ` <PS1PR06MB27598A6B7B7008CB95622C0FA86B0@PS1PR06MB2759.apcprd06.prod.outlook.com>
2019-02-10 16:45     ` Charles A. Roelli

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=PS1PR06MB2759E14349A8C824E5381BE9A86A0@PS1PR06MB2759.apcprd06.prod.outlook.com \
    --to=ccsmile2008@outlook.com \
    --cc=emacs-devel@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 public inbox

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

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