Problems compiling GMP on AIX 5.3 in 32 bit mode

Alexander Hartmann lexxman at gmx.de
Thu Jan 25 15:17:03 CET 2007


Hi all!

I don't know whether my problem is a bug or "wrong handling" (and therefore this is the correct mailing list, please forgive me if I am using the wrong list). 

I am trying to compile GMP 4.2.1 on AIX 5.3 in 32 bit mode using
./configure ABI=32
I am using gcc 4.1.1 (I also tried the IBM xlc (vac Version 8), the same problem occurs).

After configure, make fails with the following output : 

make[2]: Entering directory `/home/aha/gmp-4.2.1/mpn'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo fib_table | sed 's/_$//'`    -O2 -mpowerpc -c -o fib_table.lo fib_table.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_fib_table -O2 -mpowerpc -c fib_table.c  -DPIC -o .libs/fib_table.o
In file included from ../gmp-impl.h:104,
                 from fib_table.c:4:
../fib_table.h:4: warning: data definition has no type or storage class
../fib_table.h:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'data'
fib_table.c:7: warning: data definition has no type or storage class
fib_table.c:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'data'
fib_table.c:61: warning: integer constant is too large for 'long' type
fib_table.c:62: warning: integer constant is too large for 'long' type
fib_table.c:63: warning: integer constant is too large for 'long' type
fib_table.c:64: warning: integer constant is too large for 'long' type
fib_table.c:65: warning: integer constant is too large for 'long' type
fib_table.c:66: warning: integer constant is too large for 'long' type
fib_table.c:67: warning: integer constant is too large for 'long' type
fib_table.c:68: warning: integer constant is too large for 'long' type
fib_table.c:69: warning: integer constant is too large for 'long' type
fib_table.c:70: warning: integer constant is too large for 'long' type
fib_table.c:71: warning: integer constant is too large for 'long' type
fib_table.c:72: warning: integer constant is too large for 'long' type
fib_table.c:73: warning: integer constant is too large for 'long' type
fib_table.c:74: warning: integer constant is too large for 'long' type
fib_table.c:75: warning: integer constant is too large for 'long' type
fib_table.c:76: warning: integer constant is too large for 'long' type
fib_table.c:77: warning: integer constant is too large for 'long' type
fib_table.c:78: warning: integer constant is too large for 'long' type
fib_table.c:79: warning: integer constant is too large for 'long' type
fib_table.c:80: warning: integer constant is too large for 'long' type
fib_table.c:81: warning: integer constant is too large for 'long' type
fib_table.c:82: warning: integer constant is too large for 'long' type
fib_table.c:83: warning: integer constant is too large for 'long' type
fib_table.c:84: warning: integer constant is too large for 'long' type
fib_table.c:85: warning: integer constant is too large for 'long' type
fib_table.c:86: warning: integer constant is too large for 'long' type
fib_table.c:87: warning: integer constant is too large for 'long' type
fib_table.c:88: warning: integer constant is too large for 'long' type
fib_table.c:89: warning: integer constant is too large for 'long' type
fib_table.c:90: warning: integer constant is too large for 'long' type
fib_table.c:91: warning: integer constant is too large for 'long' type
fib_table.c:92: warning: integer constant is too large for 'long' type
fib_table.c:93: warning: integer constant is too large for 'long' type
fib_table.c:94: warning: integer constant is too large for 'long' type
fib_table.c:95: warning: integer constant is too large for 'long' type
fib_table.c:96: warning: integer constant is too large for 'long' type
fib_table.c:97: warning: integer constant is too large for 'long' type
fib_table.c:98: warning: integer constant is too large for 'long' type
fib_table.c:99: warning: integer constant is too large for 'long' type
fib_table.c:100: warning: integer constant is too large for 'long' type
fib_table.c:101: warning: integer constant is too large for 'long' type
fib_table.c:102: warning: integer constant is too large for 'long' type
fib_table.c:103: warning: integer constant is too large for 'long' type
fib_table.c:104: warning: integer constant is too large for 'long' type
fib_table.c:105: warning: integer constant is too large for 'long' type
fib_table.c:106: warning: integer constant is too large for 'long' type
make[2]: *** [fib_table.lo] Error 1
make[2]: Leaving directory `/home/aha/gmp-4.2.1/mpn'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aha/gmp-4.2.1'


In the manual (for PowerPC) I only found the 3 options: 
ABI=aix64
ABI=mode32 
ABI=32

mode32 is not working, configure complains : 
configure: error: ABI=mode32 is not among the following valid choices: aix64 32

Can anyone please help? 

Thanks in advance. 

Alexander Hartmann


-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the gmp-discuss mailing list