Re: undefined symbols building GIT source from githu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 08, 2019 at 01:13:04AM -0500, Douglas Godfrey wrote:

> make
> 
> ld: warning: in libgit.a, file was built for unsupported file format which is not the architecture being linked (x86_64)
> ld: warning: in xdiff/lib.a, file was built for unsupported file format which is not the architecture being linked (x86_64)
> Undefined symbols:
>   "_strbuf_addstr_urlencode", referenced from:
> [...]

It sounds like there is a mismatch between your compiler/linker and
"ar". I had a vague recollection of this coming up before, and turned
this up in the archive:

  https://public-inbox.org/git/CAH8yC8kV77h8cRA9Qo_1FYe9sv0zgsE7yKxaX+OtpRfj9+7wog@xxxxxxxxxxxxxx/

does setting AR/ARFLAGS as in that patch help (note that the original
complaint is that ARFLAGS is not respected, but that was since changed
in response to that thread).

-Peff



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux