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

Re: Git For Windows SDK - cannot build

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Apr 25, 2017, 21:33 UTC
Message-ID
<alpine.DEB.2.20.1704252330480.3480@virtualbox>
In-Reply-To
<20170425111315.GB13400@ucw.cz>
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
Show 5 quoted lines
> $ 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

Previous: Stepan Kasal
Message 2 of 2 in “Git For Windows SDK - cannot build”
  1. Stepan KasalApr 25, 2017
  2. Johannes SchindelinApr 25, 2017

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.