Solaris Studio 12 .. just for the heck of it

Dennis Clarke dclarke at blastwave.org
Fri Jun 24 03:04:18 CEST 2011


Had to give it a try and all was going well, really .. up until this :
.
.
.
libtool: compile:  /opt/SUNWspro/bin/CC -DHAVE_CONFIG_H -I. -I..
-D__GMP_WITHIN_GMPXX -I.. -I/opt/bw/include -g -c isfuns.cc  -KPIC -DPIC
-o .libs/isfuns.o
"../gmp-impl.h", line 329: Warning: attribute malloc is unsupported and
will be skipped..
"../gmp-impl.h", line 877: Warning: Attribute name expected instead of
const..
"../gmp-impl.h", line 877: Warning: attribute  is unsupported and will be
skipped..
"../gmp-impl.h", line 877: Error: ")" expected instead of "const".
"../gmp-impl.h", line 877: Error: The function
"__gmpn_jacobi_base(unsigned long, unsigned long, int) const" cannot be
declared const.
"../gmp-impl.h", line 877: Error: "{" expected instead of ")".
"../gmp-impl.h", line 877: Error: Unexpected ")" -- Check for matching
parenthesis.
"../gmp-impl.h", line 877: Error: Operand expected instead of ")".
"../gmp-impl.h", line 950: Warning: Attribute name expected instead of
const..
"../gmp-impl.h", line 950: Warning: attribute  is unsupported and will be
skipped..
"../gmp-impl.h", line 950: Error: ")" expected instead of "const".
"../gmp-impl.h", line 950: Error: The function
"__gmpn_mulmod_bnm1_next_size(long) const" cannot be declared const.
"../gmp-impl.h", line 950: Error: "," expected instead of ")".
"../gmp-impl.h", line 951: Error: "inline" is not allowed here.
"../gmp-impl.h", line 952: Error: Use ";" to terminate declarations.
"../gmp-impl.h", line 954: Error: rn is not defined.
"../gmp-impl.h", line 955: Error: rn is not defined.
"../gmp-impl.h", line 956: Error: an is not defined.
"../gmp-impl.h", line 956: Error: bn is not defined.
"../gmp-impl.h", line 956: Error: rn is not defined.
"../gmp-impl.h", line 963: Warning: Attribute name expected instead of
const..
"../gmp-impl.h", line 963: Warning: attribute  is unsupported and will be
skipped..
"../gmp-impl.h", line 963: Error: ")" expected instead of "const".
"../gmp-impl.h", line 963: Error: The function
"__gmpn_sqrmod_bnm1_next_size(long) const" cannot be declared const.
"../gmp-impl.h", line 963: Error: "," expected instead of ")".
"../gmp-impl.h", line 964: Error: "inline" is not allowed here.
"../gmp-impl.h", line 965: Error: Use ";" to terminate declarations.
"../gmp-impl.h", line 967: Error: rn is not defined.
"../gmp-impl.h", line 968: Error: rn is not defined.
"../gmp-impl.h", line 969: Error: an is not defined.
"../gmp-impl.h", line 969: Error: an is not defined.
"../gmp-impl.h", line 1163: Error: Badly formed expression.
Compilation aborted, too many Error messages.
*** Error code 1
make: Fatal error: Command failed for target `isfuns.lo'
Current working directory /opt/bw/src/gmp/gmp-5.0.2_SunOS5.10_amd64.001/cxx
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='tests mpn mpz mpq mpf printf scanf cxx mpbsd demos tune doc'; for
subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /opt/bw/src/gmp/gmp-5.0.2_SunOS5.10_amd64.001
*** Error code 1
make: Fatal error: Command failed for target `all'
$

I'll just install GCC and the problems will go away.


-- 
--
+-------------------------+---------------------------------+
| Dennis



More information about the gmp-bugs mailing list