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

2014-08-30 Thread dev
On August 28, 2014 at 8:05 PM "brian m. carlson" wrote: > On Thu, Aug 28, 2014 at 12:54:30AM -0400, dev wrote: > > Funny I don't see libcurl anywhere. Thought that was needed? Also > > the > > RUNPATH > > and RPATH look duplicated and slightly borked but the initial data > > there > > is correct

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

2014-08-28 Thread brian m. carlson
On Thu, Aug 28, 2014 at 12:54:30AM -0400, dev wrote: > Funny I don't see libcurl anywhere. Thought that was needed? Also the > RUNPATH > and RPATH look duplicated and slightly borked but the initial data there > is correct enough to locate all the libs except for some strange libz > issue. The mai

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

2014-08-27 Thread dev
On August 27, 2014 at 6:28 PM Jonathan Nieder wrote: > Hi again, > > dev wrote: > > > So I guess I have to create a config.mak file from somewhere. > > Sorry, let's take a step back. Actually I think we have some real progress to report here. After scanning through the various magic incantatio

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

2014-08-27 Thread dev
On August 27, 2014 at 6:28 PM Jonathan Nieder wrote: > 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 ge

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

2014-08-27 Thread Jonathan Nieder
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 > sym

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

2014-08-27 Thread dev
On August 27, 2014 at 4:06 PM Jeff King wrote: > On Wed, Aug 27, 2014 at 03:48:40PM -0400, dev wrote: > > > $ gzip -dc $SRC/git-2.0.4.tar.gz | tar -xf - > > $ mv git-2.0.4 git-2.0.4_SunOS5.10_sparcv9.002 > > $ > > $ cd git-2.0.4_SunOS5.10_sparcv9.002 > > $ > > $ echo $CFLAGS > > -errfmt=error -e

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

2014-08-27 Thread Jeff King
On Wed, Aug 27, 2014 at 03:48:40PM -0400, dev wrote: > $ gzip -dc $SRC/git-2.0.4.tar.gz | tar -xf - > $ mv git-2.0.4 git-2.0.4_SunOS5.10_sparcv9.002 > $ > $ cd git-2.0.4_SunOS5.10_sparcv9.002 > $ > $ echo $CFLAGS > -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 > -xmemalign=8s

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

2014-08-27 Thread dev
Good day gentlemen. With coffee in hand I am taking a crack and getting git to compile out of the sources neatly and therefore I have hit a few bumps. Inline comments below : On August 27, 2014 at 3:28 PM Jeff King wrote: > On Wed, Aug 27, 2014 at 03:15:05PM -0400, dev wrote: > > > This causes a

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

2014-08-27 Thread Jonathan Nieder
Hi, dev wrote: > CC credential-store.o > "git-compat-util.h", line 516: error: identifier redeclared: inet_ntop > current : function(int, pointer to const void, pointer to char, > unsigned long) returning pointer to const char > previous: function(int, pointer to const void, poin

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

2014-08-27 Thread Jeff King
On Wed, Aug 27, 2014 at 03:15:05PM -0400, dev wrote: > This causes a problem on things like Solaris : > > * new build flags > CC credential-store.o > "git-compat-util.h", line 516: error: identifier redeclared: inet_ntop > current : function(int, pointer to const void, pointer to cha

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

2014-08-27 Thread dev
per : http://pubs.opengroup.org/onlinepubs/009695399/functions/inet_ntop.html The last parameter is not unsigned long but socklen_t size. This causes a problem on things like Solaris : * new build flags CC credential-store.o "git-compat-util.h", line 516: error: identifier redeclared