git@vger.kernel.org mailing list mirror (one of many)
 help / 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, back to index

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

git@vger.kernel.org mailing list mirror (one of many)

Archives are clonable:
	git clone --mirror https://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git
	nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git
	nntp://news.gmane.org/gmane.comp.version-control.git

 note: .onion URLs require Tor: https://www.torproject.org/
       or Tor2web: https://www.tor2web.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox