Re: Git For Windows SDK - cannot build

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

 



Hi Stepan,

as I commented on your post to the Git for Windows mailing list:

On Tue, 25 Apr 2017, Stepan Kasal wrote:

> I have installed git for windows sdk from the web and tried to build it.

Nobody in the project found the time to update the website yet, but we do
have a simpler way to install the SDK now:

	git clone https://github.com/git-for-windows/git-sdk-64

> $ make
>     LINK git-credential-store
> libgit.a(utf8.o): In function `reencode_string_iconv':
> /usr/src/git/utf8.c:463: undefined reference to `libiconv'
> /usr/src/git/utf8.c:463:(.text+0xf77): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `libiconv'

This most likely means that `pacman -Sy mingw-w64-x86_64-libiconv` should
be called before re-running `make`.

The reason why the `libiconv` package (without `mingw-w64-` prefix) is not
helping: that package is an *MSYS2* package, i.e. it implicitly links to
the MSYS2 runtime (the POSIX emulation layer derived from Cygwin that we
use in Git for Windows to run Shell and Perl scripts, as well as OpenSSH).

Ciao,
Johannes



[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]