Re: Building git 2.4.5 on AIX 6.1 problems

2015-07-16 Thread norricorp
The problem was down to the linker and archiver. I had to make sure that I used the ar and ld in /usr/bin (rather than aix ld and gnu ar) and the gnu compiler. Also, I did not realise I had already created libs so had to run clean and start with the right PATH to pick up the above. Finally, have t

Re: Building git 2.4.5 on AIX 6.1 problems

2015-07-13 Thread norricorp
Hi Jeff, So running with the ar in binutils gave the usual result. I think this boils down to knowing which library those undefined symbols are defined in. The git code uses those variables so the library should be around somewhere. It is just knowing which library it is in. Regards, John -- Vie

Re: Building git 2.4.5 on AIX 6.1 problems

2015-07-11 Thread Jeff King
On Fri, Jul 10, 2015 at 11:57:28PM -0700, Junio C Hamano wrote: > > So it is obviously a structure or variable that is being used so does anyone > > know the library that this is defined in? > > Most of our objects should be found in libgit.a (you can see it on your > command line) that our Makef

Re: Building git 2.4.5 on AIX 6.1 problems

2015-07-10 Thread Junio C Hamano
On Fri, Jul 10, 2015 at 11:31 PM, norricorp wrote: > > This is the output I got from using V=1 with make > gcc -g -O2 -I. -D_LARGE_FILES -DNO_D_TYPE_IN_DIRENT -DNO_NSEC -DOLD_ICONV > -pthread -DHAVE_PATHS_H -DHAVE_ > LIBCHARSET_H -DHAVE_STRINGS_H -DSHA1_HEADER='' > -DFREAD_READS_DIRECTORIES -DNO_

Re: Building git 2.4.5 on AIX 6.1 problems

2015-07-10 Thread norricorp
This is the output I got from using V=1 with make gcc -g -O2 -I. -D_LARGE_FILES -DNO_D_TYPE_IN_DIRENT -DNO_NSEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_ LIBCHARSET_H -DHAVE_STRINGS_H -DSHA1_HEADER='' -DFREAD_READS_DIRECTORIES -DNO_STRCASESTR - DNO_STRLCPY -Icompat/fnmatch -DNO_FNMATCH_CASEFO

Re: Building git 2.4.5 on AIX 6.1 problems

2015-07-09 Thread Junio C Hamano
John Norris writes: > But there are a few archive commands before I get to linking > credentials-store. Is there something special about credentials store? > And is the collect2 an AIX library or general library used by git? Wow, that's a blast from the past. My recollection is vague, as it has

Re: Building git 2.4.5 on AIX 6.1 problems

2015-07-09 Thread Jeff King
On Fri, Jul 10, 2015 at 04:32:37AM +, John Norris wrote: > But there are a few archive commands before I get to linking > credentials-store. Is there something special about credentials store? Not really. It is just the first program alphabetically, so it comes first in the Makefile. You can

Re: Building git 2.4.5 on AIX 6.1 problems

2015-07-09 Thread John Norris
Hi Junio, thank you for this - I will run make with V=1 as you suggested and try and talk to some IBM AIX people. But there are a few archive commands before I get to linking credentials-store. Is there something special about credentials store? And is the collect2 an AIX library or general lib

Re: Building git 2.4.5 on AIX 6.1 problems

2015-07-09 Thread Junio C Hamano
John Norris writes: > I am trying to compile git 2.4.5 which I downloaded as a tar file on > AIX 6.1. The machine has gcc installed. > Having read through the INSTALL file, there appear to be several ways, > either using configure, make, make install or just make, make install > with prefix of wh

Building git 2.4.5 on AIX 6.1 problems

2015-07-09 Thread John Norris
I am trying to compile git 2.4.5 which I downloaded as a tar file on AIX 6.1. The machine has gcc installed. Having read through the INSTALL file, there appear to be several ways, either using configure, make, make install or just make, make install with prefix of where to install. Anyway wh