AIX 6.1 silly mistake
pedzsan at gmail.com
Thu Jun 23 18:29:23 CEST 2011
I'm on AIX 6.1 TL05 using gcc 4.2. This was a fresh install and I forgot to install all of the bos.adt.all filesets. As a result, I did not have libm.a. I'm using gmp-5.0.1 and I tried gmp-5.0.2. The end result was my make failed with:
gcc -std=gnu99 `test -f 'gen-bases.c' || echo '/usr/work/src/gmp-5.0.2/'`gen-bases.c -o gen-bases
ld: 0711-317 ERROR: Undefined symbol: .log
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: *** [gen-bases] Error 1
I'm happy to admit that this is a pilot error. One suggestion is to have the configure error off since the log function appears to be required for gen-bases. The other reason for this email is just to let the next guy that makes the same mistake know that the solution is simply to install bos.adt.all.
Thank you for all your work.
More information about the gmp-bugs