'Present But Cannot Be Compiled' with 6.0.0

Jeff Donner jeffrey.donner at gmail.com
Sun Nov 9 04:04:04 UTC 2014


Hi - I hit this problem when configuring on a Sparc Solaris 10 machine:

builder at sol10-sparc-43-build$ uname -a
SunOS sol10-sparc-43-build.some-company.com 5.10 Generic_142900-04 sun4v
sparc SUNW,SPARC-Enterprise-T5120 Solaris

configure: WARNING: sys/processor.h: present but cannot be compiled
configure: WARNING: sys/processor.h:     check for missing prerequisite
headers?
configure: WARNING: sys/processor.h: see the Autoconf documentation
configure: WARNING: sys/processor.h:     section "Present But Cannot Be
Compiled"
configure: WARNING: sys/processor.h: proceeding with the compiler's
result
configure: WARNING:     ## ssssssssssssssssssssssssssssssssss ##
configure: WARNING:     ## Report this to gmp-bugs at gmplib.org ##
configure: WARNING:     ## ssssssssssssssssssssssssssssssssss ##


... with compilation errors that may or may not help:

Thanks,
Jeff

libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -D__GMP_WITHIN_GMP
-O2 -pedantic -m64 -mptr64 -mcpu=v9 -Wa,-xarch=v9c -c invalid.c  -fPIC
-DPIC -o .libs/invalid.o
In file included from /usr/include/sys/signal.h:34,
                 from /usr/include/signal.h:26,
                 from invalid.c:37:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:292: error: ISO C forbids data definition
with no type or storage class
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: ISO C forbids data definition
with no type or storage class
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:426: error: ISO C forbids data definition
with no type or storage class
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: ISO C forbids data definition
with no type or storage class
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
/usr/include/sys/siginfo.h:437: error: ISO C forbids data definition
with no type or storage class
In file included from /usr/include/signal.h:26,
                 from invalid.c:37:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from invalid.c:37:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
make[2]: *** [invalid.lo] Error 1
make[2]: Leaving directory
`/space/jdonner-play-real-2014-11-08/gmp-6.0.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/space/jdonner-play-real-2014-11-08/gmp-6.0.0'
make: *** [all] Error 2
builder at sol10-sparc-43-build$                               


More information about the gmp-bugs mailing list