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

Re: problem with def of inet_ntop() in git-compat-util.h as well as other places

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Aug 27, 2014, 22:28 UTC
Message-ID
<20140827222803.GZ20185@google.com>
In-Reply-To
<597210348.36175.1409173228026.JavaMail.vpopmail@webmail2.networksolutionsemail.com>
Hi again,
dev wrote:
> So I guess I have to create a config.mak file from somewhere.
Sorry, let's take a step back.

What exact commands do you use to build, starting from a pristine extracted tarball? What output do you get back?

[...]
> Undefined                       first referenced
>  symbol                             in file
> libiconv_close                      libgit.a(utf8.o)  (symbol belongs to implicit dependency /usr/local/lib/libiconv.so.2)

Sounds like NEEDS_LIBICONV should be set on Solaris. You can test this by passing NEEDS_LIBICONV=YesPlease on the gmake command line and seeing what happens.

But it seems odd --- was iconv once part of libc on Solaris and then moved out or something? There have been lots of people building git on Solaris over the years (and writing patches to fix other build problems) without needing to set that flag.

[...]
>> You would potentially also need to turn off a few feature flags manually

The options for tweaking the build are described at the top of the Makefile.

Thanks again, Jonathan

Previous: devNext: dev
Message 6 of 11 in “problem with def of inet_ntop() in git-compat-util.h as well as other places”
  1. devAug 27, 2014
  2. Jeff KingAug 27, 2014
  3. devAug 27, 2014
  4. Jeff KingAug 27, 2014
  5. devAug 27, 2014
  6. Jonathan NiederAug 27, 2014
  7. devAug 28, 2014
  8. brian m. carlsonAug 29, 2014
  9. devAug 30, 2014
  10. devAug 28, 2014
  11. Jonathan NiederAug 27, 2014

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.