5.0.1 on Solaris 10 "ïnvalid expression"

Chris Dorsman c.dorsman at gmail.com
Sun Dec 12 21:37:10 CET 2010


Hi,

I'm trying to compile GMP-5.0.1 on Solaris10 x86_64

These are my very basic build option(s):

--build=corei-pc-solaris2.10


During compilation I'm getting this:

m4:gcd_1.asm:43 invalid expression
deflit(MASK,eval((1<<6)-1))
*** Error code 1
make: Fatal error: Command failed for target `gcd_1.lo'
Current working directory /export/home/chris/gmp-5.0.1/mpn
*** 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 /export/home/chris/gmp-5.0.1
*** Error code 1
make: Fatal error: Command failed for target `all'

Thanks


More information about the gmp-bugs mailing list