unable to compile on

Goslin, Paul pgoslin at cincom.com
Thu May 26 20:28:36 CEST 2011


Hello,
I am attempting to build/install gmp-5.0.2 (required by Open-Cobol) on a
Solaris box (config.guess > ultrasparc2i-sun-solaris2.9),
hostname=hummer. A configure succeeds, but When I attempt to compile
with 'make', it fails with:

Making all in doc
/bin/bash ./libtool --tag=CC    --mode=compile cc -Xc -D__EXTENSIONS__
-Xc -D__EXTENSIONS__ -DHAVE_CONFIG_H -I. -D__GMP_WITHIN_GMP     -xO4
-xarch=v8plus -xchip=ultra2i -c -o invalid.lo invalid.c
libtool: compile:  cc -Xc -D__EXTENSIONS__ -Xc -D__EXTENSIONS__
-DHAVE_CONFIG_H -I. -D__GMP_WITHIN_GMP -xO4 -xarch=v8plus -xchip=ultra2i
-c invalid.c -o invalid.o
ucbcc: Warning: Option
-YP,:/usr/ucblib:/opt/SUNWspro/WS6U2/bin/../lib:/opt/SUNWspro/WS6U2/bin:
/usr/ccs/lib:/usr/lib passed to ld, if ld is invoked, ignored otherwise
ucbcc: Warning: "-Xc" redefines compatibility mode from "SunC
transition" to "strict ANSI"
"/usr/ucbinclude/signal.h", line 49: syntax error before or at: int
"/usr/ucbinclude/signal.h", line 49: warning: undefined or missing type
for: int
"/usr/ucbinclude/sys/wait.h", line 68: warning: nonportable bit-field
type
"/usr/ucbinclude/sys/wait.h", line 69: warning: nonportable bit-field
type
"/usr/ucbinclude/sys/wait.h", line 70: warning: nonportable bit-field
type
"/usr/ucbinclude/sys/wait.h", line 71: warning: nonportable bit-field
type
"/usr/ucbinclude/sys/wait.h", line 84: warning: nonportable bit-field
type
"/usr/ucbinclude/sys/wait.h", line 85: warning: nonportable bit-field
type
"/usr/ucbinclude/sys/wait.h", line 86: warning: nonportable bit-field
type
*** Error code 1
make: Fatal error: Command failed for target `invalid.lo'
Current working directory /usr/local/gmp-5.0.2
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/gmp-5.0.2
*** Error code 1
make: Fatal error: Command failed for target `all'
hummer #
---------------------------------------------------------------

Anyone have any suggestions as to how to get this to work ???

Thanks,

Paul 



More information about the gmp-discuss mailing list