git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* build error on mac os 10.14.1
@ 2018-11-06  9:07 yan ke
  2018-11-07 12:18 ` yan ke
  0 siblings, 1 reply; 2+ messages in thread
From: yan ke @ 2018-11-06  9:07 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: build error on mac os 10.14.1
  2018-11-06  9:07 build error on mac os 10.14.1 yan ke
@ 2018-11-07 12:18 ` yan ke
  0 siblings, 0 replies; 2+ messages in thread
From: yan ke @ 2018-11-07 12:18 UTC (permalink / raw)
  To: git

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写道:
>
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-07 12:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-06  9:07 build error on mac os 10.14.1 yan ke
2018-11-07 12:18 ` yan ke

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.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).