GMP Configure Error

Ryan Peter ryan_peter at bah.com
Wed Nov 15 22:24:00 CET 2006


Hi,

 

I received the following messages when trying to configure GMP 4.2.1 on
AIX 5.2.

 

Please note that this is a 64-bit environment.

 

1) warning #1

 

checking sys/sysinfo.h presence... yes

configure: WARNING: sys/sysinfo.h: present but cannot be compiled

configure: WARNING: sys/sysinfo.h:     check for missing prerequisite
headers?

configure: WARNING: sys/sysinfo.h: see the Autoconf documentation

configure: WARNING: sys/sysinfo.h:     section "Present But Cannot Be
Compiled"

configure: WARNING: sys/sysinfo.h: proceeding with the preprocessor's
result

configure: WARNING: sys/sysinfo.h: in the future, the compiler will take
precedence

configure: WARNING:     ## -------------------------------- ##

configure: WARNING:     ## Report this to gmp-bugs at swox.com ##

configure: WARNING:     ## -------------------------------- ##

checking for sys/sysinfo.h... yes

 

2) warning #2

 

checking if globals are prefixed by underscore... /usr/local/bin/nm:
Only -X 32_64 is supported

unknown

configure: WARNING:
+----------------------------------------------------------

configure: WARNING: | Cannot determine global symbol prefix.

configure: WARNING: | /usr/local/bin/nm -B -X64 output doesn't contain a
global data symbol.

configure: WARNING: | Will proceed with no underscore.

configure: WARNING: | If this is wrong then you'll get link errors
referring

configure: WARNING: | to ___gmpn_add_n (note three underscores).

configure: WARNING: | In this case do a fresh build with an override,

configure: WARNING: |     ./configure gmp_cv_asm_underscore=yes

configure: WARNING:
+----------------------------------------------------------

checking how to switch to read-only data section...           .csect
_conftest.ro_c[RO],3

 

3) error #1

 

checking how to define a 32-bit word... /usr/local/bin/nm: Only -X 32_64
is supported

/usr/local/bin/nm: Only -X 32_64 is supported

configure: error: cannot determine how to define a 32-bit word

 

 

 

I downloaded GMP 4.2.1 from the USA East FTP server at:
http://swox.com/gmp/#DOWNLOAD

 

I unzipped the dowloaded GMP file, untarred it, and the first time I ran
configure I received these same messages plus additional warnings about
the gcc linker.

 

So, I replaced the file /usr/local/powerpc-ibm-aix5.2.0.0/bin/ld with a
symlink to the delivered AIX linker /usr/ccs/bin/ld per the warning
message's instructions. That got rid of the gcc linker warnings.

 

I re-ran configure and still have the above three messages.

 

I have attached various system info as requested in the manual, the
config.log file as requested, and I trapped the output of the configure
run into the runlog2.txt file.

 

Any suggestions you could offer on how to get by these messages would be
greatly appreciated.

 

Thank you.

 

- Pete Ryan

 

--- 

Peter D. Ryan 
703-902-4541 
ryan_peter at bah.com 

Booz | Allen | Hamilton
8251 Greensboro Drive, #J1102 
McLean, VA 22102-3838 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gmplib.org/list-archives/gmp-bugs/attachments/20061115/2aed232c/attachment-0001.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: systemInfo.txt
Url: http://gmplib.org/list-archives/gmp-bugs/attachments/20061115/2aed232c/attachment-0002.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 130682 bytes
Desc: config.log
Url : http://gmplib.org/list-archives/gmp-bugs/attachments/20061115/2aed232c/attachment-0001.obj 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: runlog2.txt
Url: http://gmplib.org/list-archives/gmp-bugs/attachments/20061115/2aed232c/attachment-0003.txt 


More information about the gmp-bugs mailing list