git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: build error on mac os 10.14.1

From
YKyan ke <yanke131415@gmail.com>
Date
Nov 7, 2018, 12:18 UTC
Message-ID
<CAJosSJ75G8-ThqCG4ky5LXAQ0a41iRQweYwdx0st+bM4Zf78GQ@mail.gmail.com>
In-Reply-To
<CAJosSJ4eKJfa4s+3LcP3Q5qatcg3aFjh9H=Q9bETnkROu06+KQ@mail.gmail.com>

Solved, It is because the macOS SDK headers loss in 10.14.1. Need install command line tool 10.1 and install the header package in /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg

So I think the git make configure need check the SDK header to get the correct reason of build fail yan ke <yanke131415@gmail.com> 于2018年11月6日周二 下午5:07写道:

Show 50 quoted lines
>
> Hello
>
>     when build on mac os 10.14.1 with the master branch, I got the
> error as blew, so what is wrong?
>
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> clangclang: error: linker command failed with exit code 1 (use -v to
> see invocation)
> : error: linker command failed with exit code 1 (use -v to see invocation)
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> clangmake: *** [Makefile:2369: git-shell] Error 1
> make: *** Waiting for unfinished jobs....
> make: *** [Makefile:2369: git-sh-i18n--envsubst] Error 1
> : error: linker command failed with exit code 1 (use -v to see invocation)
> clang: make: *** [Makefile:2369: git-credential-cache--daemon] Error 1
> error: linker command failed with exit code 1 (use -v to see invocation)
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:2369: git-credential-cache] Error 1
> make: *** [Makefile:2369: git-credential-store] Error 1
> make: *** [Makefile:2383: git-remote-testsvn] Error 1
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:2393: git-remote-http] Error 1
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:2369: git-http-backend] Error 1
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:2372: git-imap-send] Error 1
> make: *** [Makefile:2379: git-http-push] Error 1
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:2376: git-http-fetch] Error 1
> make: *** [Makefile:2369: git-daemon] Error 1
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:2369: git-fast-import] Error 1
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:2046: git] Error 1
Previous: yan ke
Message 2 of 2 in “build error on mac os 10.14.1”
  1. yan keNov 6, 2018
  2. yan keNov 7, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.